joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10066384
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1006665a
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x7348765f
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7347e625
push 0xffffffffffffffff
call fcn.1005d584
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x100663ee
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10066406
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1006664e
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10066622
Function at 0x10075e54
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10075e76
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10075e76
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10075e76
ret
cmp word [ebx + 4], 0x14c
jne 0x10075e76
test word [ebx + 0x16], 2
je 0x10075e76
test word [ebx + 0x16], 0x100
je 0x10075e76
cmp word [ebx + 0x18], 0x10b
jne 0x10075e76
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10075e76
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10075f02
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10075e96
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1005cde1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10075e76
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10075f02
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10075e76
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10075e76
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10075e76
ret
cmp word [ebx + 4], 0x14c
jne 0x10075e76
test word [ebx + 0x16], 2
je 0x10075e76
test word [ebx + 0x16], 0x100
je 0x10075e76
cmp word [ebx + 0x18], 0x10b
jne 0x10075e76
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10075e76
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10075f02
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10075e96
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1005cde1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10075e76
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10075fb9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10076012
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10075fb9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10075fc8
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1047bc6b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10076019
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1005ce8f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100760b8
add edi, 4
add eax, 2
dec ecx
jne 0x10075ffe
call 0x10076065
loope 0x1007605b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100760b5
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100760c6
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10076079
cmp eax, ecx
ja 0x10076079
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10076103
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100760f9
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005d36e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10075fc8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10076012
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10075fb9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10075fc8
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1047bc6b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10076019
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1005ce8f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100760b8
add edi, 4
add eax, 2
dec ecx
jne 0x10075ffe
call 0x10076065
loope 0x1007605b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100760b5
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100760c6
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10076079
cmp eax, ecx
ja 0x10076079
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10076103
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100760f9
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005d36e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10005963
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x10005972
pop dword [ebp - 0x28]
mov eax, 0xe9541ada
add eax, 0x26ac3e98
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x57441c39
add dword [ebp - 0x38], 0xf70e2912
mov dword [ebp - 0x34], 0xd06a64c4
add dword [ebp - 0x34], 0x61c8e781
mov dword [ebp - 0x30], 0x282964ac
add dword [ebp - 0x30], 0x2422df82
mov dword [ebp - 0x2c], 0x3e2adb10
add dword [ebp - 0x2c], 0xc1d524f0
lea eax, [ebp - 0x38]
push eax
mov eax, 0xf939b796
add eax, 0x16ceb89e
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xb5b78f49
sub dword [ebp - 0x38], 0x414525f3
mov dword [ebp - 0x34], 0xa41bf96b
sub dword [ebp - 0x34], 0x62af97f6
mov dword [ebp - 0x30], 0x2d203790
sub dword [ebp - 0x30], 0xc9b0cb24
mov dword [ebp - 0x2c], 0x8c0b9851
add dword [ebp - 0x2c], 0x73f467af
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xbbf115a6
add eax, 0x54175a7e
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3dfa7
push 0
call eax
mov ecx, 0xa4b40192
add ecx, 0x5b4c4701
xor esi, esi
add esi, eax
mov edx, 0x100b9000
add edx, dword [ebp - 0x28]
mov ebx, 0x9b0d5105
sub ebx, 0x98ad7c59
mov edi, dword [edx]
sub edi, ebx
xor dword [ebp - 0x20], 0xa47787ec
mov dword [esi], edi
sub dword [ebp - 4], edi
add esi, 0x73767ba5
add esi, 0x8c89845f
add edx, 4
loop 0x10005a90
add eax, 0x3db9d90
add eax, 0xfc25778f
xor ebx, ebx
add ebx, eax
add eax, 0x4a76c2fb
add eax, 0xb5893d0a
mov ecx, 0x10000000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x402ee4
pop dword [ebp - 8]
mov eax, 0xaabd6567
add eax, 0x5582c97d
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x18275bf9
sub dword [ebp - 0x18], 0xc9d516ae
mov dword [ebp - 0x14], 0x48691b4b
add dword [ebp - 0x14], 0xe9ca30fa
mov dword [ebp - 0x10], 0x5d9fefcb
add dword [ebp - 0x10], 0xeeac5463
mov dword [ebp - 0xc], 0xd57e82a9
add dword [ebp - 0xc], 0x2a817d57
lea eax, [ebp - 0x18]
push eax
mov eax, 0xa35067cf
sub eax, 0xa30fe6cb
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xda965079
add dword [ebp - 0x18], 0x99dc18dd
mov dword [ebp - 0x14], 0x2bcce7b
sub dword [ebp - 0x14], 0xc1506d06
mov dword [ebp - 0x10], 0x6107fae3
add dword [ebp - 0x10], 0x2677189
mov dword [ebp - 0xc], 0x926541bb
sub dword [ebp - 0xc], 0x926541bb
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xb13f7e23
sub eax, 0xb0fefd23
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x36ac7
push 0
call eax
mov ecx, 0x468d
mov edx, eax
mov edi, 0x46e400
add edi, dword [ebp - 8]
mov esi, 0x5841366c
sub esi, 0xbe115471
add dword [ebp - 4], edx
mov ebx, dword [edi]
add dword [ebp - 4], edi
xor ebx, esi
add dword [ebp - 4], 0x637e1d8c
mov dword [edx], ebx
add dword [ebp - 4], esi
add edx, 0x57444681
add edx, 0xa8bbb983
add edi, 0x67e5c08d
add edi, 0x981a3f77
loop 0x402ffa
add eax, 0x70912597
add eax, 0x8f6fe770
mov ebx, eax
add eax, 0x36c35b7
add eax, 0xfc93ca4e
mov ecx, 0x73b43cef
add ecx, 0x8c8bc311
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x1001dc93
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x1001dca2
pop dword [ebp - 0x18]
mov eax, 0xcfb6cbeb
sub eax, 0xbfb4ef49
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xfcac0e13
sub dword [ebp - 0x28], 0xae59c8c8
mov dword [ebp - 0x24], 0x23fe1b79
sub dword [ebp - 0x24], 0xf1cacf34
mov dword [ebp - 0x20], 0x9005d98f
sub dword [ebp - 0x20], 0x43b99561
mov dword [ebp - 0x1c], 0xd9b30f84
sub dword [ebp - 0x1c], 0xd9b30f84
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x2788bc73
sub dword [ebp - 0x28], 0xb316531d
mov dword [ebp - 0x24], 0xcb17ddf1
sub dword [ebp - 0x24], 0x89ab7c7c
mov dword [ebp - 0x20], 0x33429e14
add dword [ebp - 0x20], 0x302cce58
mov dword [ebp - 0x1c], 0x93ee3d09
add dword [ebp - 0x1c], 0x6c11c2f7
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x39870
push 0
call eax
mov ecx, 0xec6da940
sub ecx, 0xec6d5ba7
mov edi, eax
mov ebx, 0x10031c00
add ebx, dword [ebp - 0x18]
mov edx, 0x34892477
sub edx, 0x6cab1900
add dword [ebp - 0x10], 0x4d7312ff
mov esi, dword [ebx]
add dword [ebp - 0x14], eax
xor esi, edx
xor dword [ebp - 0x14], 0x5aec1c07
mov dword [edi], esi
xor dword [ebp - 0x10], 0x5d2764a0
add edi, 4
add ebx, 4
loop 0x1001ddb4
add eax, 0x12937
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe7ddc8a4
sub ecx, 0xd7ddc8a4
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x1001deb6
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, dword [esp + 8]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [edi + 0x289c]
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [edi + 0x292c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [edi + 0x28a0]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x2930], eax
mov eax, dword [edi + 0x2d50]
test eax, eax
je 0x1001df26
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x28a0]
push dword [edi + 0x289c]
push dword [edi + 0x2930]
push dword [edi + 0x292c]
push dword [edi + 0x2d50]
call dword [sym.imp.USER32.dll_MoveWindow]
push edi
call fcn.1001df2f
pop ecx
pop edi
ret
Function at 0x10012617
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x1008a450
call fcn.10089da0
sub esp, 0x58
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x14], 0
push 4
lea ecx, [ebp - 0x48]
call fcn.10018d3c
and dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1c], 0x51f1e283
push 0
mov dword [ebp - 0x18], 0x5878ed7c
push eax
call fcn.10015ed5
xor ecx, ecx
add esp, 0xc
cmp dword [ebp - 0x14], ecx
je 0x100127a3
mov dword [ebp - 0x38], 0x7f6c
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x2c], 0xfffffff6
mov dword [ebp - 0x30], 0x81c3
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 3
jg 0x10012798
mov edi, 0x7b051af7
jmp 0x100126a2
xor ecx, ecx
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x24], 0xa3735b26
mov dword [ebp - 0x20], 0xfffffffd
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov byte [ebp - 0xd], cl
cmp byte [ebp - 0xd], 0
je 0x100126f3
push ecx
push 0x21e4
push 0x3209
push 0x5982
push 0x2dfb
push 0x776b
push 0x2179
call fcn.10015c51
add esp, 0x1c
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffff
mov eax, dword [ebp - 0x1c]
setl cl
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x14]
setl dl
mov eax, dword [ebp - 0x20]
lea ecx, [edx + 1]
xor edx, edx
cmp eax, ecx
setge dl
xor ecx, ecx
sub edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp edx, eax
mov edx, dword [ebp - 0x48]
setne cl
xor eax, eax
cmp ecx, dword [edx + 0xc]
setge al
cmp eax, 1
mov eax, dword [ebp - 0x18]
sbb ecx, ecx
neg ecx
imul ecx, dword [edx + esi*4]
dec dword [ebp - 0x18]
cmp eax, ecx
jge 0x10012757
xor ecx, ecx
inc ecx
jmp 0x10012759
xor ecx, ecx
mov eax, dword [ebp - 0x34]
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x38]
mov ecx, 0x2972
setge dl
sub ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x24]
setl dl
xor ecx, ecx
cmp edx, eax
setne cl
cmp ecx, 0xfff7
sbb eax, eax
neg eax
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jle 0x100126a0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
jmp 0x100127b4
mov byte [ebp - 0xd], cl
cmp byte [ebp - 0xd], cl
je 0x100127b4
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0x57e9
call fcn.10015a0d
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x48]
call fcn.10018dbe
lea eax, [ebp - 0x54]
push eax
call fcn.10009469
mov esi, eax
lea edi, [ebp - 0x48]
pop ecx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1001235c
mov ecx, dword [ebp - 0x40]
pop edi
pop esi
pop ebx
mov eax, dword [ecx + eax*8]
mov ecx, dword [ebp - 0xc]
sub eax, 0x12c
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10013291
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100132ec
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100132cd
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x100132ea
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10018dda
mov dword [eax], 1
jmp 0x100132c2
jmp 0x100132f4
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov esp, ebp
pop ebp
ret
Function at 0x10015a0d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10015a34
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x10015a58
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10015a58
push 0
push 0x911
push 0
push 0
push 0xfcc
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret

Function at 0x10015dd9
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10015e1d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
push 2
mov ecx, dword [ebp - 0x10]
call fcn.10018dda
mov dword [eax], esi
jmp 0x10015e3b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10015e3b
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10017ebb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10017ed5
push 0x83b
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
jmp 0x10017ef2
push 0
push 0
push 0
push 0
push 0x373
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop ebp
ret
Function at 0x1001dcc1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001dcf3
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001dcf1
push 0
push 0x911
push 0
push 0
push 0xfcc
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1001dcfb
push 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov esp, ebp
pop ebp
ret

Function at 0x1001f8a3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001f8d6
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001f8d4
push 0
push 0x172a
push 0x2a5
push 0x1af8
call dword [sym.imp.KERNEL32.dll_RaiseException]
jmp 0x1001f909
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1001f909
push 0
push 0
push 0
push 0
push 0x373
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esp, ebp
pop ebp
ret

Function at 0x10020171
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002019f
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002019d
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x100201eb
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100201cd
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jg 0x100201eb
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.10018dda
cmp dword [eax], 0
je 0x100201e9
jmp 0x100201eb
jmp 0x100201c2
mov esp, ebp
pop ebp
ret