joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485c10
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004a78d0
mov eax, dword [esp + 0x11c74]
push ebx
push ebp
mov ebp, dword [esp + 0x11c74]
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x485c34
mov dword [eax], edi
cmp dword [ebp + 8], edi
je 0x485dd4
mov cl, 1
mov eax, ebp
call fcn.00485fb0
test eax, eax
je 0x485dfa
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4d5b14]
push eax
push esi
mov ecx, ebp
call fcn.00486040
test eax, eax
setne cl
mov byte [esp + 0x17], cl
test cl, cl
jne 0x485c7a
xor eax, eax
mov dword [0x4da630], eax
jmp 0x485c7f
mov eax, dword [0x4da630]
cmp byte [esp + 0x11c80], 0
mov dword [esp + 0x1844], edi
mov dword [esp + 0x1848], edi
mov dword [esp + 0x184c], edi
mov dword [esp + 0x1858], edi
mov dword [esp + 0x1864], edi
mov dword [esp + 0x1868], edi
je 0x485cbf
mov byte [esp + 0x1841], 0
test cl, cl
je 0x485cc7
mov byte [esp + 0x1841], 1
mov edx, dword [0x4da62c]
mov ecx, 0x4af9bc
mov dword [esp + 0x1024], ecx
mov dword [esp + 0x102c], ecx
mov dword [esp + 0x1030], ecx
mov ecx, dword [0x4d5b14]
cmp eax, edi
mov dword [esp + 0x1028], edi
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1850], edx
mov dword [esp + 0x1854], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x103c], ebp
mov dword [esp + 0x18], 0x10
setg bl
cmp byte [esp + 0x17], 0
je 0x485d4a
xor ecx, ecx
test eax, eax
jle 0x485d3a
lea ecx, [ecx]
cmp dword [edx + ecx*4], esi
je 0x485d4a
inc ecx
cmp ecx, eax
jl 0x485d30
cmp eax, 0x1f4
jge 0x485d4a
mov dword [edx + eax*4], esi
inc eax
mov dword [0x4da630], eax
lea edx, [esp + 0x18]
push edx
push 0x484190
mov dword [esp + 0x185c], eax
call edi
mov eax, dword [esp + 0x1848]
test eax, eax
jne 0x485d7b
test bl, bl
je 0x485de6
mov edx, dword [0x4da62c]
mov dword [0x4da630], eax
xor bl, bl
jmp 0x485d20
call fcn.004839d0
mov ecx, dword [0x4da630]
mov edx, dword [esp + 0x1848]
mov esi, dword [0x4da62c]
xor eax, eax
test ecx, ecx
jle 0x485daa
lea esp, [esp]
cmp dword [esi + eax*4], edx
je 0x485dbc
inc eax
cmp eax, ecx
jl 0x485da0
cmp ecx, 0x1f4
jge 0x485dbc
mov dword [esi + ecx*4], edx
inc ecx
mov dword [0x4da630], ecx
mov eax, dword [0x4d5b14]
mov eax, dword [eax + 0x54]
cmp eax, 0xffffffff
jle 0x485dd4
push 1
push eax
call fcn.004014c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 0xc
mov ecx, dword [esp + 0x11c84]
test ecx, ecx
je 0x485dfa
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x485dfa
mov dword [ecx], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x11c68
ret 0xc
Function at 0x485e10
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004a78d0
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x485f90
xor cl, cl
mov eax, edi
call fcn.00485fb0
test eax, eax
jne 0x485e45
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4d5b14]
push eax
push ebp
mov ecx, edi
call fcn.00486040
test eax, eax
je 0x485e68
xor eax, eax
mov dword [0x4da630], eax
jmp 0x485e6d
mov eax, dword [0x4da630]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1024], 0x4af9bc
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1864], ebx
mov dword [esp + 0x1868], ebx
cmp byte [esp + 0x11c7c], bl
je 0x485eb3
mov byte [esp + 0x1841], bl
cmp eax, ebx
je 0x485ebb
mov byte [esp + 0x1841], 1
mov ecx, dword [0x4da62c]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1854], eax
lea eax, [esp + 0x18]
push eax
push 0x486110
mov dword [esp + 0x1858], ecx
mov dword [esp + 0x1860], edx
call esi
mov eax, dword [esp + 0x1848]
cmp eax, ebx
je 0x485f68
lea ecx, [esp + 0x10]
push ecx
push 0x484a30
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x485f25
mov edx, dword [esp + 0x1848]
call fcn.004856b0
mov dword [esp + 0x1848], esi
mov eax, dword [esp + 0x1848]
call fcn.004839d0
mov edx, dword [esp + 0x1848]
call fcn.004856b0
mov edx, dword [0x4d5b14]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x485f90
push 1
push eax
call fcn.004014c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
mov eax, dword [0x4da630]
cmp eax, ebx
je 0x485f90
cmp eax, 1
setg al
mov dword [0x4da630], ebx
cmp al, bl
je 0x485f90
mov edx, ebp
call fcn.004856b0
push ebx
mov ecx, edi
call fcn.00485e10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x11c68
ret 4
Function at 0x4a17f7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d4de0]
jne 0x4a1801
repz ret
jmp fcn.004a75df

Function at 0x4a4a30
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d4de0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0049d8d2
and dword [ebp - 0x14], 0
cmp dword [0x4d7df4], 0
mov dword [ebp - 0x18], eax
jne 0x4a4ae3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4a4b8b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4af100
push ebx
call edi
test eax, eax
je 0x4a4b8b
mov esi, dword [fcn.004991b0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4d7df4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4d7df8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d7dfc], eax
call edi
push eax
call esi
mov dword [0x4d7e04], eax
test eax, eax
je 0x4a4ae3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4d7e00], eax
mov eax, dword [0x4d7e00]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.004991b4]
cmp eax, ecx
je 0x4a4b3c
cmp dword [0x4d7e04], ecx
je 0x4a4b3c
push eax
call esi
push dword [0x4d7e04]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4a4b3c
test ebx, ebx
je 0x4a4b3c
call edi
test eax, eax
je 0x4a4b33
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4a4b33
test byte [ebp - 8], 1
jne 0x4a4b3c
or dword [ebp + 0x10], 0x200000
jmp 0x4a4b6f
mov eax, dword [0x4d7df8]
cmp eax, dword [ebp - 0x18]
je 0x4a4b6f
push eax
call esi
test eax, eax
je 0x4a4b6f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a4b6f
mov eax, dword [0x4d7dfc]
cmp eax, dword [ebp - 0x18]
je 0x4a4b6f
push eax
call esi
test eax, eax
je 0x4a4b6f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d7df4]
call esi
test eax, eax
je 0x4a4b8b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4a4b8d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a17f7
leave
ret
Function at 0x1005a250
Capabilities:
Encode data using xor

Disassembly:
call 0x1005a1c9
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1005a1f9
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1005a215
xor edx, 0
jmp 0x1005a220
xor edx, edx
jmp 0x1005a237
jmp 0x1005a243
xor eax, eax
push 0x8427d7c0
call 0x1005a250
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1005a28c
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1005a265
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1005a2a3
add eax, 0
jno 0x1005a2a8
add esi, 0
ret 0x10

Function at 0x1005b011
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1005b033
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1005b1d5
cmp edi, dword [ebp + 0x10]
jb 0x1005b1d5
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1005aafd
inc edi
jmp 0x1005b0bc
jmp 0x1005b0c9
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005aafd
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005aafd
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1005b11d
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1005b101
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1005b14b
add dword [eax], 0x39
jle 0x1005b127
sub al, 0xf5
mov ch, al
call fcn.1005b160
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1005ce38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1005ce4e
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1005ce5f
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1005cea0
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1005f20c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1005f155
add ebx, 0
push ecx
call 0x1005f16a
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c5ca231
sub ebx, dword [0x6c5e9a70]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c5e9a60
call fcn.1005ac34
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1005a142
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1005f2c8
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1005f2c8
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1005f27f
mov eax, 1
lock xchg dword [0x6c5e9a6c], eax
push 0x3dd1fc71
call 0x1005f20c
push esi
add esp, 8
cmp eax, 0
jne 0x1005f1f5
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1005f21b
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1005f230
cmp ecx, edx
cmp eax, 0
je 0x1005f255
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1005f23f
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1005f26e
dec eax
loope 0x1005f271
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c5e9a6c], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1005f2a5
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1005f2ba
jmp 0x1005f2c5
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1005f1b3
Function at 0x1006632d
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 0x10066603
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c5d66e4
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c5cd6aa
push 0xffffffffffffffff
call fcn.1005d52d
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 0x10066397
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100663af
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 0x100665f7
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100665cb
Function at 0x10075dfd
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 0x10075e1f
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10075e1f
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10075e1f
ret
cmp word [ebx + 4], 0x14c
jne 0x10075e1f
test word [ebx + 0x16], 2
je 0x10075e1f
test word [ebx + 0x16], 0x100
je 0x10075e1f
cmp word [ebx + 0x18], 0x10b
jne 0x10075e1f
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10075e1f
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10075eab
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10075e3f
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1005cd8a
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10075e1f
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 0x10075eab
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 0x10075e1f
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10075e1f
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10075e1f
ret
cmp word [ebx + 4], 0x14c
jne 0x10075e1f
test word [ebx + 0x16], 2
je 0x10075e1f
test word [ebx + 0x16], 0x100
je 0x10075e1f
cmp word [ebx + 0x18], 0x10b
jne 0x10075e1f
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10075e1f
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10075eab
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10075e3f
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1005cd8a
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10075e1f
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 0x10075f62
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10075fbb
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10075f62
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10075f71
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 0x1047bc14
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 0x10075fc2
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.1005ce38
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10076061
add edi, 4
add eax, 2
dec ecx
jne 0x10075fa7
call 0x1007600e
loope 0x10076004
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1007605e
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 0x1007606f
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 0x10076022
cmp eax, ecx
ja 0x10076022
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100760ac
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100760a2
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005d317
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10075f71
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10075fbb
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10075f62
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10075f71
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 0x1047bc14
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 0x10075fc2
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.1005ce38
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10076061
add edi, 4
add eax, 2
dec ecx
jne 0x10075fa7
call 0x1007600e
loope 0x10076004
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1007605e
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 0x1007606f
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 0x10076022
cmp eax, ecx
ja 0x10076022
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100760ac
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100760a2
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005d317
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x417468
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00417618
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x417566
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x417509
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x41754c
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x417520
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x41753b
test al, 0x40
je 0x417532
mov ecx, dword [edi + 0x20]
jmp 0x417539
test al, 0x80
je 0x41754c
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x41754c
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4174d8
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x423700
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cb75b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004bfc57
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x423782
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bd297
mov eax, dword [eax]
push 0x607cfc
push eax
call fcn.004ae884
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004bfee2
test bl, bl
je 0x423782
push 0x607cfc
lea ecx, [esp + 0xc]
call fcn.004c0272
push 0x607d08
lea ecx, [esp + 0xc]
call fcn.004c0272
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4237be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004bfee2
jmp 0x423889
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x423842
lea edx, [esp + 0x7c]
push 0x607d04
push edx
call fcn.004ae884
add esp, 8
test eax, eax
je 0x423842
lea eax, [esp + 0x7c]
push 0x607d00
push eax
call fcn.004ae884
add esp, 8
test eax, eax
je 0x423842
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4237d2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004bfee2
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4240b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x424112
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc