joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100abb80
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100feaad
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x101530b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x30]
mov dword [ebx + 4], ebx
call fcn.1004d2a0
test eax, eax
jne 0x100abbbd
xor edi, edi
jmp 0x100abbc7
lea ecx, [ebx + 0x30]
call fcn.1004d2a0
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x30]
call fcn.10003f10
mov esi, dword [eax]
mov ecx, 0x1015c6a0
movzx eax, byte [ebx + 0x3d]
push eax
mov dword [ebp - 4], 0
call fcn.10003f10
push 0
push 0
push 3
push 0
push 0
push edi
push esi
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x48], eax
add ecx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x100abc32
lfence
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1010452c]
mov ecx, edi
call esi
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x100abc65
push 0x100ac440
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp eax, 0xffffffff
je 0x100abc99
push 2
mov ecx, ebx
call fcn.10003f10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1010644c
lea ecx, [ebp - 0x10]
call fcn.10003f10
mov esi, eax
mov dword [ebp - 4], 1
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.10003f10
push 0x10140a54
lea eax, [ebp - 0x28]
push eax
call fcn.10003f10
push 0x1010644c
lea ecx, [ebp - 0x14]
call fcn.10003f10
mov esi, eax
mov dword [ebp - 4], 2
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x3c]
call fcn.10003f10
push 0x10140a54
lea eax, [ebp - 0x3c]
push eax
call fcn.10003f10
int3
Function at 0x100abfe0
Capabilities:
Query remote server for available data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fe9ad
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x101530b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [esi + 0x4c]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x100ac031
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x100ac061
mov edx, dword [esi + 0x18]
sub edx, dword [esi + 0x14]
mov eax, dword [ebp - 0x10]
lea ecx, [edx + eax]
cmp ecx, eax
jb 0x100ac0b0
cmp ecx, edx
jb 0x100ac0b0
test eax, eax
je 0x100ac051
cmp ecx, 0xa00000
ja 0x100ac095
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x1010644c
lea ecx, [ebp - 0x14]
call fcn.10003f10
mov esi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.10003f10
push 0x10140a54
lea eax, [ebp - 0x34]
push eax
call fcn.10003f10
push 0xcaa10024
lea ecx, [ebp - 0x20]
call fcn.10003f10
push 0x1013fb60
lea eax, [ebp - 0x20]
push eax
call fcn.10003f10
push 0xcaa82f9b
lea ecx, [ebp - 0x2c]
call fcn.10003f10
push 0x1013fb60
lea eax, [ebp - 0x2c]
push eax
call fcn.10003f10
int3

Function at 0x100ac250
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100feb0d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x101530b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 0x18]
sub esi, dword [ebx + 0x14]
mov ecx, dword [ebp + 8]
lea eax, [esi + ecx]
cmp eax, esi
jl 0x100ac2f6
cmp eax, ecx
jl 0x100ac2f6
cmp eax, 0xa00000
jg 0x100ac2fd
push eax
lea ecx, [ebx + 0x14]
lfence
call fcn.10003f10
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x40]
push ecx
push dword [ebp + 8]
add eax, esi
push eax
push dword [ebx + 0x4c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x100ac2c8
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x100ac318
lfence
mov eax, dword [ebx + 0x40]
lea ecx, [ebx + 0x14]
add eax, esi
push eax
call fcn.10003f10
push 0xa
mov ecx, ebx
call fcn.10003f10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xcaa82f9c
jmp 0x100ac302
push 0xcaa10024
lea ecx, [ebp - 0x1c]
call fcn.10003f10
push 0x1013fb60
lea eax, [ebp - 0x1c]
push eax
call fcn.10003f10
push 0x1010644c
lea ecx, [ebp - 0x10]
call fcn.10003f10
mov esi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x30]
call fcn.10003f10
push 0x10140a54
lea eax, [ebp - 0x30]
push eax
call fcn.10003f10
int3
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x404532
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x404541
pop dword [ebp - 0x14]
mov eax, 0x404541
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x39fa2
push 0
mov eax, 0xe1792009
add eax, 0x1ec7c0cf
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x4b16
mov edx, eax
mov esi, 0xcabe6565
add esi, 0x3582d65f
add esi, dword [ebp - 0x14]
mov ebx, 0xc4c01fb
sub ebx, 0xe735f8ad
sub dword [ebp - 8], 0x4d3ee99f
mov edi, dword [esi]
sub dword [ebp - 4], 0x6fd38b1d
xor edi, ebx
sub dword [ebp - 4], 0x9ea17ba5
mov dword [edx], edi
mov dword [ebp - 8], 0xc670dfd0
add edx, 0x395cb48f
add edx, 0xc6a34b75
add esi, 0xa52e8833
add esi, 0x5ad177d1
loop 0x404595
add eax, 0xa0fc1bb1
add eax, 0x5f05037a
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40160e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 4

Function at 0x401618
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1000
push 0x3dc
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c8], 0x7b32ab18
mov eax, dword [ebp - 4]
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [eax + 0x3d0], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [eax + 0x48], ecx
cmp dword [ebp - 4], 0
je 0x4016c6
push 0x409
push 0xc1e
push 0xa
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edx, dword [ebp - 4]
sub eax, dword [ebp - 4]
call eax
cmp dword [ebp - 4], 0
jne 0x4016dd
lea eax, [ebp - 4]
push eax
push 0
call dword [0x400000]
Function at 0x403d1c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x104f9008], 0x8088405
inc edx
mov dword [ebx + 0x104f9008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40ed3c
Capabilities:
Hash data with md5

Disassembly:
push ebx
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
mov edx, 0x40
lea ecx, [eax + 0x18]
mov byte [ecx], 0
inc ecx
dec edx
jne 0x40ed4f
mov edx, 0x10
lea ecx, [eax + 0x58]
xor ebx, ebx
mov dword [ecx], ebx
add ecx, 4
dec edx
jne 0x40ed5e
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebx
ret
Function at 0x41e3f4
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x104f94b0
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x41e4b8
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x41e42c
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x41e4cf
dec edx
je 0x41e510
jmp 0x41e56d
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x41e56d
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41f3fc
Capabilities:
Encode data using xor

Disassembly:
push ebx
add esp, 0xfffffff8
mov dword [esp], eax
mov dword [esp + 4], edx
mov edx, ecx
dec edx
test edx, edx
jb 0x41f422
inc edx
xor eax, eax
mov ecx, dword [esp + 4]
mov cl, byte [ecx + eax]
mov ebx, dword [esp]
xor byte [ebx + eax], cl
inc eax
dec edx
jne 0x41f411
pop ecx
pop edx
pop ebx
ret
Function at 0x435028
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x43502e
ret

Function at 0x43b554
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test eax, 0x4000000
je 0x43b563
or edx, 0x200
test eax, 0x20000000
je 0x43b597
test eax, 0x40000000
je 0x43b582
test eax, 0x80000000
je 0x43b57d
or edx, 0x40
jmp 0x43b5be
or edx, 0x20
jmp 0x43b5be
test eax, 0x80000000
je 0x43b591
or edx, 0x80
jmp 0x43b5be
or edx, 0x10
mov eax, edx
ret
test eax, 0x40000000
je 0x43b5af
test eax, 0x80000000
je 0x43b5aa
or edx, 4
jmp 0x43b5be
or edx, 2
jmp 0x43b5be
test eax, 0x80000000
je 0x43b5bb
or edx, 8
jmp 0x43b5be
or edx, 1
mov eax, edx
ret

Function at 0x4550e4
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov esi, eax
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, esi
call fcn.00405594
push eax
call fcn.00407620
mov edi, eax
cmp edi, 0xffffffff
jne 0x455120
mov eax, edi
call fcn.0045d4f4
jmp 0x45524e
push 0
push 0
push 0
push 2
push 0
push edi
call fcn.00407630
mov esi, eax
test esi, esi
jne 0x455149
mov eax, edi
call fcn.0045d4f4
mov eax, esi
call fcn.0045d4f4
jmp 0x45524e
push 0
push 0
xor ecx, ecx
mov edx, 4
mov eax, esi
call fcn.0045ce14
mov dword [esp], eax
cmp dword [esp], 0
jne 0x455177
mov eax, edi
call fcn.0045d4f4
mov eax, esi
call fcn.0045d4f4
jmp 0x45524e
mov eax, dword [esp]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
cmp word [eax], 0x5a4d
je 0x4551a5
mov eax, edi
call fcn.0045d4f4
mov eax, esi
call fcn.0045d4f4
mov eax, dword [esp]
push eax
call fcn.00407898
jmp 0x45524e
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
add eax, dword [edx + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
cmp dword [eax], 0x4550
je 0x4551d9
mov eax, edi
call fcn.0045d4f4
mov eax, esi
call fcn.0045d4f4
mov eax, dword [esp]
push eax
call fcn.00407898
jmp 0x45524e
mov eax, dword [esp + 8]
cmp dword [eax], 0x4550
jne 0x455235
mov eax, dword [esp + 8]
mov ax, word [eax + 0x18]
sub ax, 0x10b
je 0x4551fb
sub ax, 0x100
je 0x455218
jmp 0x455237
mov eax, dword [esp + 8]
mov ax, word [eax + 0x5c]
sub ax, 2
je 0x455210
dec ax
je 0x455214
jmp 0x455237
mov bl, 2
jmp 0x455237
mov bl, 3
jmp 0x455237
mov eax, dword [esp + 8]
mov ax, word [eax + 0x5c]
sub ax, 2
je 0x45522d
dec ax
je 0x455231
jmp 0x455237
mov bl, 4
jmp 0x455237
mov bl, 5
jmp 0x455237
mov bl, 1
mov eax, edi
call fcn.0045d4f4
mov eax, esi
call fcn.0045d4f4
mov eax, dword [esp]
push eax
call fcn.00407898
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x455c24
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebp, eax
mov eax, dword [esp]
call fcn.00405394
mov edi, eax
mov eax, dword [esp]
call fcn.00405394
mov esi, eax
test esi, esi
jle 0x455c5f
mov ebx, 1
mov eax, dword [esp]
movzx eax, byte [eax + ebx - 1]
xor edi, eax
inc ebx
dec esi
jne 0x455c51
mov eax, dword [esp + 4]
mov edx, ebp
call fcn.0040510c
mov eax, ebp
call fcn.00405394
mov esi, eax
test esi, esi
jle 0x455c95
mov ebx, 1
mov eax, dword [esp + 4]
call fcn.004055ec
mov edx, edi
xor dl, byte [ebp + ebx - 1]
not dl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x455c7c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45afac
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
xor edx, edx
mov dword [esp], edx
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call fcn.00407628
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x45afe7
push 0
push 0x104ea4e4
push 0x104ea4e8
push 0
call fcn.00407b60
xor edx, edx
mov eax, ebp
call fcn.0045ed20
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
call fcn.00403648
mov ebx, eax
lea eax, [esp + 8]
push eax
push 0
mov edx, ebx
mov ecx, dword [esp + 0xc]
mov eax, ebp
call fcn.0045ee38
test eax, eax
jne 0x45b02a
push 0
push 0x104ea4e4
push 0x104ea4ec
push 0
call fcn.00407b60
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x50]
call fcn.00403648
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x50]
mov eax, dword [esp]
call fcn.00407c2c
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x54]
push eax
push ebx
mov eax, dword [esp + 8]
push eax
call fcn.0045ca10
mov eax, dword [esp + 0x10]
mov si, word [eax + 6]
dec esi
test si, si
jb 0x45b0c6
inc esi
xor edi, edi
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x3c]
mov eax, ebx
add edx, eax
add edx, 0xf8
movzx ecx, di
shl ecx, 3
lea ecx, [ecx + ecx*4]
add edx, ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x10]
push edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0x14]
add edx, eax
push edx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
add eax, dword [esp + 8]
push eax
call fcn.0045ca10
inc edi
dec si
jne 0x45b07d
mov edx, dword [esp + 4]
mov eax, ebx
call fcn.00403678
mov eax, ebp
call fcn.0045d4f4
mov eax, dword [esp]
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45b15c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov dword [esp], edx
mov esi, eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword [esi + 0x3c]
mov eax, esi
add edx, eax
mov dword [esp + 8], edx
mov edx, dword [esp + 8]
add edx, 0x78
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
add edx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x1c]
add edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x20]
add edx, eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x24]
add edx, eax
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x18]
dec ebx
test ebx, ebx
jb 0x45b246
inc ebx
mov eax, dword [esp + 0x20]
movzx edx, word [eax]
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
cmp edx, eax
jbe 0x45b1e9
add dword [esp + 0x18], 4
inc eax
cmp edx, eax
ja 0x45b1df
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp edx, eax
ja 0x45b204
mov ecx, dword [esp + 0xc]
add edx, dword [ecx + 4]
cmp eax, edx
jb 0x45b239
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
add eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
call fcn.0045ae98
mov ecx, eax
mov edx, dword [esp + 0x24]
xor eax, eax
call fcn.0045aeac
cmp eax, dword [esp]
jne 0x45b239
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
add eax, esi
mov dword [esp + 4], eax
jmp 0x45b246
add dword [esp + 0x20], 2
add dword [esp + 0x1c], 4
dec ebx
jne 0x45b1ca
mov eax, dword [esp + 4]
add esp, 0x28
pop esi
pop ebx
ret
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x1000aaf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esi], 0
test edx, edx
jne 0x1000ab0f
xor al, al
mov byte [esi + 0xc], al
mov eax, esi
pop esi
pop ebp
ret 8
mov eax, dword [ebp + 8]
lea ecx, [esi + 8]
push ecx
push 0x40
push edx
push eax
mov dword [esi + 4], edx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne al
mov byte [esi + 0xc], al
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x1000ab40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
push 0x40
push 1
push esi
mov edi, ecx
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov cl, byte [esi]
mov byte [ebp - 5], cl
test eax, eax
je 0x1000ab8e
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x1c]
call ebx
mov cl, byte [ebp - 5]
movzx eax, cl
sub eax, 0xe8
je 0x1000ac11
sub eax, 1
je 0x1000ac11
sub eax, 0x16
jne 0x1000ac02
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
inc eax
mov dword [ecx], eax
call fcn.1000dc80
add esp, 4
cmp al, 0x15
je 0x1000abbb
cmp al, 0x25
jne 0x1000ac02
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x40
add esi, 2
mov dword [ebp - 0x18], 4
push 4
push esi
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov esi, dword [esi]
test eax, eax
je 0x1000abf5
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x1c]
call ebx
mov eax, dword [esi]
mov dword [edi], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push ecx
mov eax, esp
inc esi
mov dword [eax], esi
call fcn.1000dc30
add esp, 4
add eax, 4
add eax, esi
mov dword [edi], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret