joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402590
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x811c9dc5
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x4025c2
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x1000193
mov edx, dword [ebp + 8]
movzx eax, word [edx]
xor ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp + 8], ecx
jmp 0x40259b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x449d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x47a06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
push 8
push 1
lea ecx, [ebp - 0xc]
push ecx
call fcn.0040b4b9
add esp, 0x10
movzx edx, byte [ebp - 0xc]
cmp edx, 0x89
jne 0x449dc9
movzx eax, byte [ebp - 0xb]
cmp eax, 0x50
jne 0x449dc9
movzx ecx, byte [ebp - 0xa]
cmp ecx, 0x4e
jne 0x449dc9
movzx edx, byte [ebp - 9]
cmp edx, 0x47
jne 0x449dc9
movzx eax, byte [ebp - 8]
cmp eax, 0xd
jne 0x449dc9
movzx ecx, byte [ebp - 7]
cmp ecx, 0xa
jne 0x449dc9
movzx edx, byte [ebp - 6]
cmp edx, 0x1a
jne 0x449dc9
movzx eax, byte [ebp - 5]
cmp eax, 0xa
jne 0x449dc9
mov eax, 1
jmp 0x449dcb
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004099e6
mov esp, ebp
pop ebp
ret 4

Function at 0x44a4f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0x18]
push eax
push 4
push 1
lea ecx, [ebp - 4]
push ecx
call fcn.0040b4b9
add esp, 0x10
cmp eax, 4
jae 0x44a519
xor eax, eax
jmp 0x44a600
lea edx, [ebp - 4]
push edx
call fcn.0044a060
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 0x18]
push edx
push 4
push 1
lea eax, [ebp - 4]
push eax
call fcn.0040b4b9
add esp, 0x10
cmp eax, 4
jae 0x44a54a
xor eax, eax
jmp 0x44a600
lea ecx, [ebp - 4]
push ecx
call fcn.0044a060
add esp, 4
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
movzx eax, byte [ebp - 1]
push eax
movzx ecx, byte [ebp - 2]
push ecx
movzx edx, byte [ebp - 3]
push edx
movzx eax, byte [ebp - 4]
push eax
push 0x46fc64
call fcn.0040b154
add esp, 0x14
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jbe 0x44a5c4
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00409d4c
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.0040b4b9
add esp, 0x10
mov edx, dword [ebp + 8]
cmp eax, dword [edx]
jae 0x44a5c2
xor eax, eax
jmp 0x44a600
jmp 0x44a5cd
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 0x18]
push ecx
push 4
push 1
lea edx, [ebp - 4]
push edx
call fcn.0040b4b9
add esp, 0x10
cmp eax, 4
jae 0x44a5ea
xor eax, eax
jmp 0x44a600
lea eax, [ebp - 4]
push eax
call fcn.0044a060
add esp, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 0x14
Function at 0x450660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x450670
xor eax, eax
jmp 0x45080d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x4507ce
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x471f08]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x471f08]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x471f08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x471f08]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x471f08]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x471f08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x471f08]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x471f08]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x450679
cmp dword [ebp + 0x10], 0
je 0x450807
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x471f08]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x4507d4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
xchg ebp, eax
in al, dx
or ecx, esp
wait
adc esi, dword [edx + 0x4c45d124]
xor esi, dword [eax + 7]
dec esp
stc
sti
jp 0x4153bf
int3
out 0x45, al
jle 0x4153b9
mov dh, 0x2c
cli
push edx
mov bl, 0xcd
repz ret
Function at 0x10019419
Capabilities:
Encode data using xor

Disassembly:
call 0x10019392
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 0x100193c2
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 0x100193de
xor edx, 0
jmp 0x100193e9
xor edx, edx
jmp 0x10019400
jmp 0x1001940c
xor eax, eax
push 0x8427d7c0
call 0x10019419
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10019455
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 0x1001942e
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 0x1001946c
add eax, 0
jno 0x10019471
add esi, 0
ret 0x10

Function at 0x1001a1da
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 0x1001a1fc
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 0x1001a39e
cmp edi, dword [ebp + 0x10]
jb 0x1001a39e
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.10019cc6
inc edi
jmp 0x1001a285
jmp 0x1001a292
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10019cc6
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10019cc6
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 0x1001a2e6
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 0x1001a2ca
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001a314
add dword [eax], 0x39
jle 0x1001a2f0
sub al, 0xf5
mov ch, al
call fcn.1001a329
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1001c001
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 0x1001c017
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 0x1001c028
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001c069
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 0x1001e3d5
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 0x1001e31e
add ebx, 0
push ecx
call 0x1001e333
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, 0x7357a24f
sub ebx, dword [0x73599a8e]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73599a7e
call fcn.10019dfd
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1001930b
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1001e491
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1001e491
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 0x1001e448
mov eax, 1
lock xchg dword [0x73599a8a], eax
push 0x3dd1fc71
call 0x1001e3d5
push esi
add esp, 8
cmp eax, 0
jne 0x1001e3be
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1001e3e4
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1001e3f9
cmp ecx, edx
cmp eax, 0
je 0x1001e41e
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 0x1001e408
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1001e437
dec eax
loope 0x1001e43a
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73599a8a], 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 0x1001e46e
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1001e483
jmp 0x1001e48e
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1001e37c
Function at 0x100254f6
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 0x100257cc
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73586702
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7357d6c8
push 0xffffffffffffffff
call fcn.1001c6f6
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 0x10025560
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10025578
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 0x100257c0
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10025794
Function at 0x10034fc6
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 0x10034fe8
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10034fe8
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10034fe8
ret
cmp word [ebx + 4], 0x14c
jne 0x10034fe8
test word [ebx + 0x16], 2
je 0x10034fe8
test word [ebx + 0x16], 0x100
je 0x10034fe8
cmp word [ebx + 0x18], 0x10b
jne 0x10034fe8
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10034fe8
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10035074
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10035008
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001bf53
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10034fe8
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 0x10035074
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 0x10034fe8
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10034fe8
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10034fe8
ret
cmp word [ebx + 4], 0x14c
jne 0x10034fe8
test word [ebx + 0x16], 2
je 0x10034fe8
test word [ebx + 0x16], 0x100
je 0x10034fe8
cmp word [ebx + 0x18], 0x10b
jne 0x10034fe8
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10034fe8
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10035074
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10035008
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001bf53
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10034fe8
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 0x1003512b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10035184
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1003512b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1003513a
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 0x1043addd
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 0x1003518b
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.1001c001
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1003522a
add edi, 4
add eax, 2
dec ecx
jne 0x10035170
call 0x100351d7
loope 0x100351cd
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10035227
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 0x10035238
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 0x100351eb
cmp eax, ecx
ja 0x100351eb
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10035275
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1003526b
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1001c4e0
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1003513a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10035184
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1003512b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1003513a
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 0x1043addd
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 0x1003518b
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.1001c001
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1003522a
add edi, 4
add eax, 2
dec ecx
jne 0x10035170
call 0x100351d7
loope 0x100351cd
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10035227
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 0x10035238
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 0x100351eb
cmp eax, ecx
ja 0x100351eb
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10035275
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1003526b
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1001c4e0
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401020
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x40f1a4]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00403580
test eax, eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
je 0x4010d4
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.004073f0
lea eax, [ebp - 0x804]
add esp, 0x10
mov dword [ebp - 0x808], eax
mov eax, dword [section..data]
cmp eax, 0xffffffff
jne 0x4010aa
mov eax, dword [0x40f1e8]
mov ecx, str.PostgreSQL
test eax, eax
cmovne ecx, eax
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [section..data], eax
test eax, eax
jne 0x4010aa
mov dword [section..data], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409cf2
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x808]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409cf2
mov esp, ebp
pop ebp
ret
call dword [sym.imp.MSVCR120.dll___iob_func]
add eax, 0x40
push eax
call fcn.00407510
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
call fcn.00409cf2
mov esp, ebp
pop ebp
ret
Function at 0x401480
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x40ce1c
mov eax, esi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4014b0
test dl, dl
je 0x4014ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4014b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x401490
xor eax, eax
jmp 0x4014b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x401615
mov ecx, str.smart
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4014e4
test dl, dl
je 0x4014e0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4014e4
add eax, 2
add ecx, 2
test dl, dl
jne 0x4014c4
xor eax, eax
jmp 0x4014e9
sbb eax, eax
or eax, 1
test eax, eax
je 0x401615
mov ecx, 0x40ce28
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401518
test dl, dl
je 0x401514
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401518
add eax, 2
add ecx, 2
test dl, dl
jne 0x4014f8
xor eax, eax
jmp 0x40151d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4015fe
mov ecx, str.fast
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401550
test dl, dl
je 0x40154c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401550
add eax, 2
add ecx, 2
test dl, dl
jne 0x401530
xor eax, eax
jmp 0x401555
sbb eax, eax
or eax, 1
test eax, eax
je 0x4015fe
mov ecx, 0x40ce34
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401584
test dl, dl
je 0x401580
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401584
add eax, 2
add ecx, 2
test dl, dl
jne 0x401564
xor eax, eax
jmp 0x401589
sbb eax, eax
or eax, 1
test eax, eax
je 0x4015e7
mov ecx, str.immediate
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4015b4
test dl, dl
je 0x4015b0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4015b4
add eax, 2
add ecx, 2
test dl, dl
jne 0x401594
xor eax, eax
jmp 0x4015b9
sbb eax, eax
or eax, 1
test eax, eax
je 0x4015e7
push esi
push dword [0x40f200]
push str._s:_unrecognized_shutdown_mode___s__n
call sub.libintl_8.dll_libintl_gettext
add esp, 4
push eax
call fcn.00401020
add esp, 0xc
call fcn.00401100
push 1
call dword [sym.imp.MSVCR120.dll_exit]
mov dword [0x40f00c], 2
mov dword [0x40f010], 3
pop esi
pop ebp
ret
mov dword [0x40f00c], 1
mov dword [0x40f010], 2
pop esi
pop ebp
ret
mov dword [0x40f00c], 0
mov dword [0x40f010], 0xf
pop esi
pop ebp
ret