joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401981
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x401990
pop dword [ebp - 0x10]
mov eax, 0xeb9dc3ae
add eax, 0x14a255e2
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xa56b126f
sub dword [ebp - 0x20], 0x5718cd24
mov dword [ebp - 0x1c], 0xa4536c7c
add dword [ebp - 0x1c], 0x8ddfdfc9
mov dword [ebp - 0x18], 0x97a88c10
sub dword [ebp - 0x18], 0x4b5c47e2
mov dword [ebp - 0x14], 0xfe35280c
sub dword [ebp - 0x14], 0xfe35280c
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x69300e07
add dword [ebp - 0x20], 0xb425b4f
mov dword [ebp - 0x1c], 0x46b5e04d
add dword [ebp - 0x1c], 0xfab68128
mov dword [ebp - 0x18], 0xd731122e
sub dword [ebp - 0x18], 0x73c1a5c2
mov dword [ebp - 0x14], 0xd32df40a
add dword [ebp - 0x14], 0x2cd20bf6
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3bbd9
push 0
call eax
mov ecx, 0x1fd41c24
add ecx, 0xe02c34a8
xor esi, esi
add esi, eax
mov edx, 0xb0a2e491
sub edx, 0xb0613491
add edx, dword [ebp - 0x10]
mov edi, 0x82d229a3
xor dword [ebp - 0xc], 0x2f5f8318
mov ebx, dword [edx]
add dword [ebp - 4], edx
sub ebx, edi
sub dword [ebp - 0xc], 0xe532c6f9
mov dword [esi], ebx
add dword [ebp - 0xc], 0x8b0a866b
add esi, 0x1261adfb
add esi, 0xed9e5209
add edx, 0xd85fd57f
add edx, 0x27a02a85
loop 0x401aa4
add eax, 0x9df24de1
add eax, 0x620ee822
xor ebx, ebx
add ebx, eax
add eax, 0x499cbf20
add eax, 0xb66340e5
mov ecx, 0x64e78cdd
add ecx, 0x9b587323
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x10001000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push 0x40
push 5
push edi
call sub.kernel32.dll_VirtualProtect
push 0x10003a78
push 0x40
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
push esi
push edi
push ebx
call sub.kernel32.dll_RtlMoveMemory
sub ebx, 5
sub ebx, edi
mov byte [edi], 0xe9
mov dword [edi + 1], ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 5
push edi
call sub.kernel32.dll_VirtualProtect
sub edi, ebx
add edi, esi
mov dword [ebx - 4], edi
pop esi
pop edi
pop ebx
leave
ret 0x10
Function at 0x1000124b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
pushal
push 0x104
push 0x10003ea4
call sub.kernel32.dll_GetSystemDirectoryA
push str._version.dll
push 0x10003ea4
call fcn.10001730
push 0x10003ea4
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
xor edi, edi
mov esi, str.GetFileVersionInfoA
push esi
call fcn.10001760
or eax, eax
je 0x100012a7
push eax
push esi
push dword [ebp - 4]
call sub.kernel32.dll_GetProcAddress
mov dword [edi*4 + 0x10003228], eax
pop eax
add esi, eax
inc esi
inc edi
jmp 0x10001285
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x10003fa8], eax
mov esi, eax
add esi, dword [esi + 0x3c]
mov edx, esi
add edx, 0xf8
mov eax, dword [edx + 0x10]
mov dword [0x10003fac], eax
push dword [0x10003fac]
push dword [0x10003fa8]
push str.8D8578FFFFFF508D45B45068________E8________8BD08D4D__
call fcn.100015e0
add eax, 0x15
add eax, dword [0x10003fa8]
mov dword [0x10003fb0], eax
push 5
push eax
push 0x10001203
push 0x100011df
call fcn.10001000
push dword [0x10003fac]
push dword [0x10003fa8]
push str.8D85________508D45885068________E8________8BD08D4D__
call fcn.100015e0
add eax, 0x15
add eax, dword [0x10003fa8]
mov dword [0x10003fb0], eax
push 5
push eax
push fcn.10001227
push 0x10001203
call fcn.10001000
mov dword [0x10003fc8], 0
mov dword [0x10003fcc], 0
push 0x10003fcc
push 0x10003fc8
push str.response.txt
call fcn.10001840
mov ecx, dword [0x10003fcc]
mov eax, dword [0x10003fc8]
mov dword [ebp - 8], eax
push 0x10003fb8
call fcn.10001700
lea eax, [ebp - 0x30]
push eax
push 0x10003fb8
call sub.kernel32.dll_FileTimeToSystemTime
movzx eax, word [ebp - 0x30]
mov dword [ebp - 0xc], eax
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 0x10], eax
movzx eax, word [ebp - 0x2a]
mov dword [ebp - 0x14], eax
movzx eax, word [ebp - 0x28]
mov dword [ebp - 0x18], eax
movzx eax, word [ebp - 0x26]
mov dword [ebp - 0x1c], eax
movzx eax, word [ebp - 0x24]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push str._04d__02d__02d__02d:_02d:_02d
push 0x10003e7c
call sub.user32.dll_wsprintfA
add esp, 0x20
push 0x14
push 0x10003e90
call fcn.10001520
push 0x10003334
push 0x10003e7c
push 0x10003330
push 0x10003e90
push 3
call fcn.100017b0
add esp, 0x14
xor eax, eax
lea esi, [0x10003e90]
mov eax, 0xffffffff
cmp al, 0xff
jne 0x10001410
mov eax, 4
sub byte [esi], al
dec al
inc esi
cmp byte [esi], 0
jne 0x10001407
push 0x200
push 0x10003a7c
call fcn.10001520
push 0x10003e90
push 0x1000333c
push dword [ebp - 8]
push 0x10003a7c
push 3
call fcn.100017b0
add esp, 0x14
xor eax, eax
push 0x10003a7c
call fcn.10001760
add eax, eax
mov dword [0x10003c7c], eax
push 0x10003c80
push 0x10003a7c
call fcn.10001227
push dword [ebp - 8]
call sub.kernel32.dll_GlobalFree
popal
pop esi
leave
ret
Function at 0x10001840
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1000186c
xor eax, eax
leave
ret 0xc
push 0
push dword [ebp - 4]
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 8], eax
add dword [ebp - 8], 0x20
push dword [ebp - 8]
push 0x40
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 4]
call sub.kernel32.dll_ReadFile
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, 1
leave
ret 0xc
Function at 0x40b550
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x549820]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b71b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b579
mov eax, 0x7000000
jmp 0x40b581
test eax, eax
je 0x40b6f6
mov dword [esp + 0x14], eax
mov ecx, dword [0x549820]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x94], ebx
mov dword [ecx + 0x98], ebp
mov dword [esp], edx
call fcn.0045dde0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x28]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x51cc20]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40b70e
cmp edx, 0x21
jae 0x40b702
movsd qword [esp + 0x18], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], ebp
mov dword [esp], ecx
call fcn.00458830
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.00458900
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x4bb05c]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4bb09c]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b6d1
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4bb0d4]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.0045dea0
mov eax, edx
mov ecx, 0x21
call fcn.0045df40
nop
call fcn.0045ca30
jmp fcn.0040b550
Function at 0x412980
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x549820]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412b8e
sub esp, 0x18
mov eax, dword [0x549750]
test eax, eax
jne 0x412b77
nop
nop
lea eax, [0x549740]
mov dword [esp], eax
call fcn.00409230
mov eax, dword [0x549744]
test eax, eax
je 0x4129c8
cmp dword [eax + 8], 0xcc
jne 0x412a3e
mov edx, dword [0x549748]
test edx, edx
jne 0x412a20
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x54deb0]
mov dword [esp + 8], eax
call fcn.0040b730
mov eax, dword [esp + 0xc]
mov dword [0x549748], eax
mov ecx, dword [0x54974c]
mov dword [eax], ecx
mov eax, dword [0x549748]
mov dword [0x54974c], eax
movzx eax, byte [0x549b80]
test al, al
jne 0x412a20
xor eax, eax
jmp 0x412b48
mov edx, dword [0x549748]
mov ebx, dword [edx + 4]
mov dword [0x549748], ebx
mov ebx, dword [0x549744]
mov dword [edx + 4], ebx
mov dword [0x549744], edx
mov edx, dword [0x549744]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x412b27
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402a10
mov eax, dword [0x5498f0]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x412a88
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
jmp 0x412a9e
call fcn.0045de40
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov eax, dword [0x5498f0]
test eax, eax
jne 0x412ac2
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
jmp 0x412af0
call fcn.0045de80
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov ebx, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x14], esi
mov dword [edx + ecx*4 + 0x1c], eax
mov dword [edx + ecx*4 + 0x20], ebx
mov dword [edx + ecx*4 + 0x14], ebp
nop
nop
lea eax, [0x549740]
mov dword [esp], eax
call fcn.00409430
nop
lea eax, [0x54973c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402b90
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0045dea0
lea edx, [0x51c290]
movzx ebx, byte [edx + eax]
lea ebp, [0x549b80]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x412a20
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x412b31
mov ecx, 5
call fcn.0045de90
lea eax, [0x49fe4e]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004340e0
nop
call fcn.0045ca30
jmp fcn.00412980
Function at 0x420680
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x549820]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x420768
sub esp, 0x1c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x420762
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.00420ac0
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x10], ax
mov word [esp + 0x12], cx
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00420ba0
movzx eax, byte [esp + 0x18]
test al, 2
je 0x420716
cmp word [esp + 0x10], 0x1f0
jbe 0x420716
and eax, 0xfffffffd
nop
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x42075d
mov ecx, dword [edx]
lea eax, [ecx + eax*8]
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0x12]
mov ebx, dword [esp + 0x14]
movzx ebp, byte [esp + 0x18]
mov dword [esp], eax
mov word [esp + 4], cx
mov word [esp + 6], dx
mov dword [esp + 8], ebx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
call fcn.00420b30
add esp, 0x1c
ret
call fcn.0045dea0
call fcn.0045dea0
nop
call fcn.0045ca30
jmp fcn.00420680
Function at 0x420780
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x549820]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4208b4
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x4208ae
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.00420ac0
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x14], ax
mov word [esp + 0x16], cx
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00420c90
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x28]
cmp edx, ecx
jae 0x4208a7
mov ecx, dword [eax]
lea ecx, [ecx + edx*8]
movzx ebx, word [esp + 0x14]
movzx ebp, word [esp + 0x16]
mov esi, dword [esp + 0x18]
movzx edi, byte [esp + 0x1c]
mov dword [esp], ecx
mov word [esp + 4], bx
mov word [esp + 6], bp
mov dword [esp + 8], esi
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
call fcn.00420b30
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax - 1]
shl eax, 0xd
mov ecx, dword [esp + 0x28]
shl ecx, 0x16
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x28], eax
jae 0x42086a
mov dword [ecx + 0x28], eax
lea eax, [ecx + 0x20]
mov dword [esp], eax
call fcn.0042ce40
mov eax, dword [esp + 0x10]
cmp dword [esp + 4], eax
jae 0x4208a3
mov ecx, dword [esp + 0x24]
add ecx, 0x20
nop
mov dword [esp], ecx
xor ecx, ecx
sub ecx, eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.00402950
add esp, 0x20
ret
mov eax, edx
call fcn.0045dea0
call fcn.0045dea0
nop
call fcn.0045ca30
jmp fcn.00420780
Function at 0x4262f0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x549820]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x426434
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00424170
mov eax, dword [esp + 4]
test eax, eax
je 0x42641d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x549820]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
nop
inc dword [ebx + 0x7c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.00421da0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xa], bl
nop
mov ebp, dword [esp + 0x18]
mov dword [esp], ebp
call fcn.00409230
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x426387
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x4263b2
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x42639c
cmp byte [ebp + 6], bl
je 0x4263a7
cmp esi, edx
ja 0x4263ae
jne 0x426385
cmp byte [ebp + 6], bl
jbe 0x426385
jmp 0x4263ae
mov ebx, 1
jmp 0x4263b4
xor ebx, ebx
jmp 0x4263b4
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x4263d2
mov ebx, dword [esp + 0x24]
mov word [ebx + 4], dx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [esp], eax
call fcn.004261f0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409430
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x549820]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42640d
movzx eax, byte [ebx + 0x65]
test al, al
je 0x42640d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x4a0f0f]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004340e0
nop
call fcn.0045ca30
jmp fcn.004262f0
Function at 0x4268c0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x549820]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x426a30
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x4269c0
cmp cl, 1
je 0x426952
cmp cl, 2
jne 0x426a19
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042be50
nop
nop
lea eax, [0x52dd40]
mov dword [esp], eax
call fcn.00409230
mov eax, dword [0x52dce4]
sub eax, dword [0x52dcc8]
nop
mov dword [0x52dce4], eax
mov eax, dword [0x52dcd4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x52dcd4], ecx
nop
lea eax, [0x52dd40]
mov dword [esp], eax
call fcn.00409430
jmp 0x426a15
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00412980
nop
nop
lea eax, [0x52dd40]
mov dword [esp], eax
call fcn.00409230
mov eax, dword [0x52dcbc]
sub eax, dword [0x52dca0]
nop
mov dword [0x52dcbc], eax
mov eax, dword [0x52dcac]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x52dcac], ecx
nop
lea eax, [0x52dd40]
mov dword [esp], eax
call fcn.00409430
jmp 0x426a15
cmp cl, 3
jne 0x4269cb
mov byte [eax + 8], 1
jmp 0x426a15
cmp cl, 4
jne 0x426a19
nop
nop
lea eax, [0x52dd40]
mov dword [esp], eax
call fcn.00409230
mov eax, dword [0x52dd34]
sub eax, dword [0x52dd18]
nop
mov dword [0x52dd34], eax
mov eax, dword [0x52dd24]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x52dd24], ecx
nop
nop
lea eax, [0x52dd40]
mov dword [esp], eax
call fcn.00409430
add esp, 0x14
ret
lea eax, [0x49e1a6]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004340e0
nop
call fcn.0045ca30
jmp fcn.004268c0
Function at 0x44e0c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x549820]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44e23a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x44e230
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x44e11a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x44e11a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x44e12d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x44e207
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x44e1fb
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x44e1f2
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x44e180
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x44e1c3
mov eax, 1
cmp eax, ecx
ja 0x44e1b7
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.0045df00
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x44e1ed
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x44e1bc
mov ecx, dword [esp + 0xc]
jmp 0x44e185
call fcn.0045dea0
xor eax, eax
mov ecx, eax
call fcn.0045de90
call fcn.0045df00
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x44e22b
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x44e200
mov ecx, dword [esp + 0x18]
jmp 0x44e132
call fcn.0045dea0
xor eax, eax
mov ecx, eax
call fcn.0045de90
nop
call fcn.0045ca30
jmp fcn.0044e0c0
Function at 0x452240
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x549820]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452343
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov ecx, dword [0x549820]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0xf0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00452970
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x48eae0]
mov dword [esp], ecx
call fcn.0040b3e0
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax + 4], ecx
lea ecx, [0x52ddfc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.00451b50
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00450fa0
add esp, 0x28
ret
call fcn.0045ca30
jmp fcn.00452240

Function at 0x455560
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x549820]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4555fb
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x549820]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0045dfd7
lea ecx, [0x455610]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0045c940
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0045ca30
jmp fcn.00455560