joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e4eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x90
mov dword [ebp - 4], edx
mov ebx, ecx
call fcn.0041ea84
mov esi, eax
add esp, 4
mov dword [ebp - 8], esi
mov dword [esi], 0
lea ecx, [esi + 0x54]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0
call fcn.00516ef0
lea ecx, [esi + 0x60]
call fcn.00516ef0
lea ecx, [esi + 0x6c]
call fcn.00516ef0
lea ecx, [esi + 0x78]
call fcn.00516ef0
lea ecx, [esi + 0x84]
call fcn.00516ef0
push 0x44
push 0
push esi
call fcn.00420570
add esp, 0xc
lea ecx, [esi + 0x6c]
push ebx
call fcn.00516e30
push dword [ebp - 4]
mov ebx, dword [ebp + 8]
lea ecx, [esi + 0x60]
mov dword [esi + 0x24], ebx
call fcn.00516e30
lea ecx, [esi + 0x60]
call fcn.00516cc0
test eax, eax
je 0x4e4fb7
lea ecx, [esi + 0x60]
call fcn.00514bf0
mov eax, dword [ebp + 0x14]
lea ecx, [esi + 0x78]
push dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x2c], eax
call fcn.00516e30
push 0x5f3ea8
lea ecx, [esi + 0x84]
call fcn.00516e30
push 0
push 0
push esi
push 0x4e4110
push 0
push 0
call dword [0x5cd380]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x4e500c
push ecx
mov ecx, esi
call fcn.00401f30
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test bl, 1
je 0x4e503f
xor edx, edx
mov ecx, eax
call fcn.004fc850
test al, al
je 0x4e503f
mov edi, dword [0x5cd438]
call fcn.00513c10
test al, al
jne 0x4e5031
push 5
call edi
mov ecx, dword [esi + 0x3c]
xor edx, edx
call fcn.004fc850
test al, al
jne 0x4e5024
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4e90a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c31e1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6c21e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
lea ecx, [esi + 0x30]
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xff000000
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0xfff0f0ff
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xc
mov dword [esi + 0x2c], 0
call fcn.004f65a0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push dword [ebp + 0x18]
mov dword [ebp - 4], 0
mov ecx, esi
push dword [ebp + 0x14]
mov dword [esi + 0x290], 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004e8680
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x50e640
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4c05
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6c21e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0xf01ff
call dword [0x5cd4d8]
push eax
call dword [0x5cd064]
test eax, eax
jne 0x50e69c
xor esi, esi
jmp 0x50e7e0
test edi, edi
mov dword [ebp - 0x14], 0
lea esi, [ebp - 0x14]
xorps xmm0, xmm0
cmovne esi, edi
movlpd qword [ebp - 0x20], xmm0
push 0x94
mov dword [ebp - 0x24], esi
mov dword [esi], 0x94
call fcn.0041ec10
mov edi, eax
mov dword [ebp - 0x1c], 0x94
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
push dword [esi]
call fcn.0041ec10
push dword [esi]
mov ebx, eax
push 0
push edi
call fcn.00420570
mov esi, dword [section..rdata]
lea eax, [edi + 4]
add esp, 0x14
mov dword [edi], 0xc
push eax
push str.SeRestorePrivilege
push 0
call esi
lea eax, [edi + 0x10]
push eax
push str.SeTakeOwnershipPrivilege
push 0
call esi
lea eax, [edi + 0x1c]
push eax
push str.SeDebugPrivilege
push 0
call esi
lea eax, [edi + 0x28]
push eax
push str.SeSecurityPrivilege
push 0
call esi
lea eax, [edi + 0x34]
push eax
push str.SeBackupPrivilege
push 0
call esi
lea eax, [edi + 0x40]
push eax
push str.SeImpersonatePrivilege
push 0
call esi
lea eax, [edi + 0x4c]
push eax
push str.SeSystemProfilePrivilege
push 0
call esi
lea eax, [edi + 0x58]
push eax
push str.SeAssignPrimaryTokenPrivilege
push 0
call esi
lea eax, [edi + 0x64]
push eax
push str.SeTrustedCredManAccessPrivilege
push 0
call esi
lea eax, [edi + 0x70]
push eax
push str.SeTcbPrivilege
push 0
call esi
lea eax, [edi + 0x7c]
push eax
push str.SeIncreaseQuotaPrivilege
push 0
call esi
lea eax, [edi + 0x88]
push eax
push str.SeShutdownPrivilege
push 0
call esi
lea eax, [edi + 0xc]
mov ecx, 0xc
nop
mov dword [eax], 2
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x50e7a0
mov eax, dword [ebp - 0x24]
push eax
push ebx
push dword [eax]
push edi
push ecx
push dword [ebp - 0x18]
call dword [0x5cd140]
test eax, eax
jne 0x50e7d5
xor esi, esi
test ebx, ebx
je 0x50e7d7
push ebx
call fcn.0041e876
add esp, 4
jmp 0x50e7d7
mov esi, ebx
push edi
call fcn.0041e876
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
je 0x50e7f3
test ecx, ecx
je 0x50e7f3
push ecx
call dword [0x5cd390]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e865
mov esp, ebp
pop ebp
ret
Function at 0x443ae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 2
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
lea esi, [edi + 0x26c]
jne 0x443b43
mov eax, dword [esi + 0x91c]
test eax, eax
je 0x443b08
push 0
push eax
call ebx
jmp 0x443b1c
mov eax, dword [esi + 0x918]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x918], 6
mov eax, dword [esi + 0xbc8]
test eax, eax
je 0x443b2d
push 5
push eax
call ebx
jmp 0x443b93
mov edx, dword [esi + 0xbc4]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0xbc4], 6
jmp 0x443b93
mov eax, dword [esi + 0xbc8]
test eax, eax
je 0x443b54
push 0
push eax
call ebx
jmp 0x443b68
mov ecx, dword [esi + 0xbc4]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0xbc4], 6
mov eax, dword [esi + 0x91c]
test eax, eax
je 0x443b79
push 5
push eax
call ebx
jmp 0x443b8d
mov eax, dword [esi + 0x918]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x918], 6
cmp dword [ebp + 0xc], 0
jne 0x443bca
mov ebx, dword [ebp + 8]
lea eax, [edi + 0xb8]
call fcn.00511440
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.004450b0
mov eax, dword [ebp + 0x14]
mov edx, ebx
sub edx, dword [edi + 0x1448]
sub eax, dword [edi + 0x144c]
mov dword [edi + 0x1428], edx
mov dword [edi + 0x142c], eax
jmp 0x443bcd
mov ebx, dword [ebp + 0x10]
mov cx, word [edi + 0x13f0]
sub cx, word [edi + 0x13d4]
mov ax, word [edi + 0x13d8]
add cx, word [ebp + 0x14]
add ax, ax
movzx edx, cx
sub bx, ax
mov eax, dword [edi + 0x13c8]
movzx ecx, bx
shl edx, 0x10
or edx, ecx
push edx
mov edx, dword [ebp + 0xc]
push edx
push 5
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x444afc
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
or byte [eax], bl
Function at 0x444eb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov byte [0xa345c635], al
and al, 0xc6
inc ebp
movsb byte es:[edi], byte [esi]
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.00444acc
push eax
push esi
push dword [ebp + 8]
call fcn.00444a81
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00444acc
push eax
push esi
push dword [ebp + 8]
call fcn.00444a81
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00444abc
ror byte [edx], cl
jns 0x444f1d
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00444abc
jbe 0x445001
dec esi
cmp ecx, dword [ebp - 0x837b]
call dword [eax - 0x18]
sbb al, 0xfb
invalid
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
add al, 0x80
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.00444a2d
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x444ff9
call fcn.00444abc
in eax, 0x71
dec ebx
das
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x4452ab
add eax, esi
Function at 0x5e622b
Capabilities:
Encode data using xor

Disassembly:
pop es
pop ss
or bh, byte [edi]
push 0xc88685ec
xor byte [ebp - 0x42], dh
in al, dx
test dword [esi - 0x418acf38], eax
fsub st(0), st(0)
jle 0x5e61f6
call 0x63b75781
and eax, 0xe5e750bb
pop eax
arpl word [0xe5e750bb], sp
mov al, 0xdc
adc dword [edx + 0x4ec04fbc], edi
mov eax, 0xfe5e8dc
mov esp, 0xb84ec04f
fsub st(0), st(0)
in eax, 0xf
xor byte [ecx], dl
push edx
mov eax, 0xf87e9149
aam 0x17
in al, 0x39
pop ss
add al, 0x86
daa
pop ss
add al, 0x3e
jle 0x5e61fe
call 0x69d59b89
add dword [esp + edi*8 + 0x49b8aa11], esi
call 0x63b757b9
and eax, 0xe5fe50bb
mov al, 0xdc
adc ebp, esp
mov bh, 0x17
xchg esp, eax
loopne 0x5e627d
leave
call 0xa3a81334
xor dword [edi], esp
sbb al, 0x90
push ds
imul ebx, dword [ebp + 5], 0x30
xchg ecx, eax
dec ecx
mov dword [0x97927931], eax
in eax, 0xe5
dec ebx
add edi, dword [ebp + esi*8 - 0x2c]
add eax, 0xd85db4b5
sbb eax, 0xe5e8bdf6
or esp, edi
nop
sbb eax, 0xe5e8d2ec
jns 0x5e620c
jecxz 0x5e6261
dec ebx
add esp, dword [esp + ebx - 0x2c]
mov byte [eax], ch
cmc
pop eax
call 0x123b1370
stosb byte es:[edi], al
mov eax, 0xf57ee849
arpl word fs:[0xe5aa50bb], sp
dec ecx
call 0x63c35811
and eax, 0xe5aa50bb
arpl word [0xe5aa50bb], sp
mov al, 0xdc
shr dword [edx - 0x229c3244], 0xb0
fsub st(0), st(0)
jl 0x5e628d
aam 0xb8
sbb eax, 0x30055dc4
aas
fild word [0xe59150bb]
mov al, 0xdc
adc dword [edx - 0x25fb4f4], ebp
sbb dword [ecx + 0x49b0e5e8], edi
mov dword [0xe91889fd], eax
adc dword [eax], eax
add byte [eax], al
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
jmp 0x5e6292

Function at 0x5e6c62
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x5e6d00
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5e6d00
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5e6d00
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5e6d00
mov ebx, dword [eax + 0x34]
mov dword [ebp - 0xc], ebx
mov ebx, dword [eax + 0x50]
mov dword [ebp - 8], ebx
push edi
push 4
push 0x2000
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d3203]
pop edi
test eax, eax
jne 0x5e6cf3
push edi
push 4
push 0x2000
push dword [ebp - 8]
push 0
call dword [edi + 0x122d3203]
pop edi
test eax, eax
je 0x5e6d00
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4
Function at 0x5e6d85
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 8], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5e6e31
push ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jae 0x5e6dc6
mov ecx, edx
mov dword [ebp - 4], ecx
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
push ecx
push edi
push 4
push 0x1000
push dword [ebp - 4]
push eax
call dword [edi + 0x122d3203]
pop edi
pop ecx
test eax, eax
je 0x5e6e24
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5e6e04
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 0xc]
lea eax, [ebx + 0x10]
cmp dword [eax + 4], 0
je 0x5e6e19
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5e6dad
pop ecx
mov dword [ebp - 0x10], 0
jmp 0x5e6e38
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5e7052
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5e70cc
push ecx
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x24]
push edx
call fcn.005e6ff7
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x1248329c]
pop edi
test eax, eax
jne 0x5e70c2
pop ecx
jmp 0x5e70d3
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5e707b
mov dword [ebp - 0x18], 1
popal
mov eax, dword [ebp - 0x18]
leave
ret 4
Function at 0x5e7279
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x18], 0
jne 0x5e73cd
cmp dword [ebp + 0xc], 0
jne 0x5e73cd
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x5e72c0
sub eax, dword [ebp + 0x10]
js 0x5e73cd
je 0x5e73cd
cmp eax, dword [ebp + 0x14]
jl 0x5e73cd
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5e73cd
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5e73cd
mov ebx, dword [eax + 0x50]
push edi
push 4
push 0x1000
push ebx
push 0
call dword [edi + 0x122d3203]
pop edi
test eax, eax
je 0x5e73cd
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
pop ebx
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124ab630]
push eax
call fcn.005e62e1
pop edi
test eax, eax
je 0x5e73cd
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124ab634]
push eax
call fcn.005e62e1
pop edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x54]
mov dword [ebp - 0xc], eax
push edi
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + 4]
rep movsb byte es:[edi], byte [esi]
pop edi
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5e73c0
push ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
test eax, eax
je 0x5e73cd
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5e73ad
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5e737b
push dword [ebp + 8]
call fcn.005e816f
jmp 0x5e73d4
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
leave
ret 0x14
Function at 0x5e775f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5e784e
mov ecx, eax
mov ebx, dword [ecx + 0x3c]
add ecx, ebx
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x5e784e
mov dword [ebp - 4], ecx
mov ebx, eax
mov ecx, dword [ebx + 0x3c]
add ebx, ecx
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
test eax, 0xffff0000
je 0x5e77fa
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x5e784e
dec ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0xc]
push ecx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push eax
call dword [edi + 0x124ab790]
pop edi
pop ecx
test eax, eax
jne 0x5e77b3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
shl ecx, 1
add eax, ecx
movzx ecx, word [eax]
jmp 0x5e7800
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebx + 0x10]
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jge 0x5e784e
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x1c]
add edx, eax
shl ecx, 2
add edx, ecx
cmp dword [edx], 0
je 0x5e784e
mov ebx, dword [edx]
add eax, ebx
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 8]
jle 0x5e784e
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x5e784e
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.005e76a8
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4704109b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x446e75c8
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x100010a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0x40
push 0x3000
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.KERNEL32.dll_VirtualAllocExNuma
push dword [ebp + 0xc]
mov ecx, dword [0x10017030]
mov edi, eax
push dword [ebp + 8]
xor eax, eax
test edi, edi
push edi
cmovne ecx, eax
mov dword [0x10017030], ecx
call fcn.100037b0
add esp, 0xc
mov eax, edi
pop edi
pop ebp
ret

Function at 0x10001850
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 0x10]
mov al, byte [esi]
mov cl, byte [esi + 1]
jle 0x10001928
push ebx
movzx ecx, cl
mov ebx, 0x352
push edi
movzx eax, al
xor esi, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov edi, edi
inc eax
mov ecx, dword [0x100183d0]
cdq
idiv ebx
mov al, dl
movzx ebx, al
mov byte [ebp - 1], al
movzx eax, byte [ebx + ecx]
add eax, dword [ebp - 8]
lea edi, [ebx + ecx]
cdq
idiv dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov al, dl
mov byte [ebp - 2], al
movzx eax, al
mov dword [ebp - 8], eax
add eax, ecx
push eax
push edi
call fcn.10001940
mov ecx, dword [0x100183d0]
add esp, 8
mov eax, dword [ebp - 8]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
movzx eax, byte [eax + ecx]
movzx ecx, byte [ebx + ecx]
add eax, ecx
mov ecx, 0x352
cdq
idiv ecx
push 0
mov bl, dl
call edi
push 0
push 0
call edi
mov eax, dword [0x100183d0]
mov edi, esi
sub edi, dword [0x10017030]
inc esi
add edi, dword [ebp + 8]
movzx ecx, bl
mov ebx, 0x352
mov al, byte [ecx + eax]
xor byte [edi], al
mov eax, dword [ebp - 0x10]
cmp esi, dword [ebp + 0xc]
jl 0x10001880
mov esi, dword [ebp + 0x10]
mov al, byte [ebp - 1]
pop edi
pop ebx
mov byte [esi], al
mov al, byte [ebp - 2]
mov byte [esi + 1], al
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esi], al
mov byte [esi + 1], cl
pop esi
mov esp, ebp
pop ebp
ret