joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ec1fd
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x53ecb3
call fcn.00515a11
mov esi, ecx
mov dword [ebp - 0x22c], esi
call fcn.004f1d26
push 0x15c
call fcn.004133fb
pop ecx
mov ecx, eax
mov dword [ebp - 0x228], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x4ec241
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.004f330c
jmp 0x4ec243
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.004f1cf8
call fcn.0041a0ed
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
xor eax, eax
mov dword [ebp - 0x228], esi
mov word [ebp + esi*2 - 0x218], ax
mov dword [ebp - 0x224], ebx
cmp edi, ebx
je 0x4ec3e3
cmp dword [edi + 4], ebx
jle 0x4ec3e3
lea ecx, [ebp - 0x21c]
call fcn.00409a30
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4ec3c7
lea ecx, [ebp - 0x220]
call fcn.00409a30
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4ec318
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__s
push eax
call fcn.00409880
add esp, 0xc
jmp 0x4ec34a
jge 0x4ec338
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__s
push eax
call fcn.00409880
add esp, 0x10
jmp 0x4ec34a
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00409990
push 0x15c
call fcn.004133fb
pop ecx
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4ec36e
mov ecx, eax
call fcn.004c5019
mov esi, eax
jmp 0x4ec370
xor esi, esi
push dword [ebp - 0x220]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.0041933e
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x22c]
push esi
call fcn.004f1cf8
mov ecx, dword [ebp - 0x220]
inc dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040a090
mov esi, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040a090
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4ec2b1
call fcn.00515a94
ret
Function at 0x4f0e89
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4f0ea1
mov edi, dword [esi + 0xc]
jmp 0x4f0ee1
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4f0eba
call fcn.00421392
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4f0ecf
call fcn.00421392
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4f0ee1
call fcn.00421392
call fcn.0041a0ed
cmp dword [eax + 0x3c], 0
je 0x4f0ef6
push edi
mov ecx, ebx
call fcn.004efce2
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004f0daf
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4f0f14
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4f0f20
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4f815e
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4f81a8
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4f81a8
call fcn.004f79ea
test eax, eax
je 0x4f81a8
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.0040c050
xor eax, eax
inc eax
jmp 0x4f83c0
cmp dword [ebx + 4], 0x100
push edi
jne 0x4f83b7
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4f82a5
push 0x11
call edi
test ax, ax
jl 0x4f82a5
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4f82a5
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4f8218
cmp eax, 0x20
jbe 0x4f82a5
cmp eax, 0x24
jbe 0x4f820b
cmp eax, 0x26
je 0x4f820b
cmp eax, 0x28
jne 0x4f82a5
call fcn.004f79ea
test eax, eax
je 0x4f82a5
mov ecx, esi
call fcn.0041a45d
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004f79ea
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4f824d
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.0040c050
jmp 0x4f83b2
call fcn.0041f242
test eax, eax
je 0x4f83b2
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.0041f27a
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4f827b
xor edi, edi
jmp 0x4f827e
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.0041f242
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4f83b2
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4f8381
sub eax, 0x12
je 0x4f8359
sub eax, 0xb
je 0x4f82c7
dec eax
dec eax
jne 0x4f83b7
push 0x12
call edi
test ax, ax
jl 0x4f83b7
push 0x11
call edi
test ax, ax
jl 0x4f83b7
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4f83b7
call fcn.004f79ea
test eax, eax
jne 0x4f83b2
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004f7964
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0041dbcd
test eax, eax
je 0x4f83b2
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.0041dbcd
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4f83b2
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4f836d
push 0
call fcn.004f7964
mov ecx, esi
call fcn.0041ed0d
test eax, eax
je 0x4f83b7
mov ecx, esi
call fcn.0041ed0d
jmp 0x4f83ab
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0041dbcd
test eax, eax
je 0x4f83b7
push dword [esi + 0x20]
call edi
push eax
call fcn.0041dbcd
push 0
push esi
mov ecx, eax
call fcn.0041783c
mov ecx, eax
call fcn.0041a45d
xor eax, eax
inc eax
jmp 0x4f83bf
push ebx
mov ecx, esi
call fcn.0041b9b8
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x50da61
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x50daa6
test edi, edi
jl 0x50daa6
cmp ax, 0x20
je 0x50da9b
cmp word [ebp + 8], 0x71
jne 0x50daa6
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x512dac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x599980]
jne 0x512db6
repz ret
jmp fcn.0051bc66

Function at 0x529cd8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0051b5ca
and dword [ebp - 4], 0
cmp dword [0x5a12f8], 0
mov ebx, eax
jne 0x529d89
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x529e3a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x529e3a
push eax
call fcn.0051b558
mov dword [esp], 0x56d4c0
push edi
mov dword [0x5a12f8], eax
call esi
push eax
call fcn.0051b558
mov dword [esp], 0x56d4ac
push edi
mov dword [0x5a12fc], eax
call esi
push eax
call fcn.0051b558
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5a1300], eax
call esi
push eax
call fcn.0051b558
pop ecx
mov dword [0x5a1308], eax
test eax, eax
je 0x529d89
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0051b558
pop ecx
mov dword [0x5a1304], eax
mov eax, dword [0x5a1304]
cmp eax, ebx
je 0x529de1
cmp dword [0x5a1308], ebx
je 0x529de1
push eax
call fcn.0051b5d3
push dword [0x5a1308]
mov esi, eax
call fcn.0051b5d3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x529de1
test edi, edi
je 0x529de1
call esi
test eax, eax
je 0x529dd8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x529dd8
test byte [ebp - 0xc], 1
jne 0x529de1
or dword [ebp + 0x10], 0x200000
jmp 0x529e1a
mov eax, dword [0x5a12fc]
cmp eax, ebx
je 0x529e1a
push eax
call fcn.0051b5d3
pop ecx
test eax, eax
je 0x529e1a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x529e1a
mov eax, dword [0x5a1300]
cmp eax, ebx
je 0x529e1a
push eax
call fcn.0051b5d3
pop ecx
test eax, eax
je 0x529e1a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5a12f8]
call fcn.0051b5d3
pop ecx
test eax, eax
je 0x529e3a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x529e3c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5a57b8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
xor edx, edx
mov ecx, 0x1001f5f4
mov eax, edx
mov esi, 8
test al, 1
je 0x5a57d5
shr eax, 1
xor eax, 0xedb88320
jmp 0x5a57d7
shr eax, 1
dec esi
jne 0x5a57c8
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x1001f9f4
jl 0x5a57c1
mov esi, 0x1001f9f4
mov eax, dword [esi - 0x400]
mov ecx, esi
mov edx, 3
mov edi, eax
add ecx, 0x400
and edi, 0xff
shr eax, 8
mov edi, dword [edi*4 + 0x1001f5f4]
xor eax, edi
dec edx
mov dword [ecx - 0x400], eax
jne 0x5a57fa
add esi, 4
cmp esi, 0x1001fdf4
jl 0x5a57ed
pop edi
mov dword [0x1001e030], 0
pop esi
ret

Function at 0x5a5838
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push edx
push ecx
mov esi, dword [ebp + 0xc]
sub eax, eax
test esi, esi
je 0x5a5989
call fcn.005a5798
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
not eax
test ecx, ecx
je 0x5a5987
test esi, 3
je 0x5a587b
xor al, byte [esi]
inc esi
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5a5864
mov edx, ecx
shr ecx, 4
je 0x5a592d
mov edi, edi
xor eax, dword [esi]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi + 4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi + 8]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi + 0xc]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
add esi, 0x10
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5a5888
mov ecx, edx
and ecx, 0xf
shr ecx, 2
je 0x5a5963
xor eax, dword [esi]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
add esi, 4
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5a5937
mov ecx, edx
and ecx, 3
je 0x5a5987
lea esp, [esp]
lea esp, [esp]
xor al, byte [esi]
inc esi
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5a5978
not eax
pop ecx
pop edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x5a59b8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [edx + 0xd0380]
push edi
mov edi, dword [edx + 0xd00fc]
mov ecx, esi
xor ecx, eax
and ecx, 0xff
shr esi, 8
mov ecx, dword [edi + ecx*4]
xor ecx, esi
mov esi, dword [edx + 0xd0384]
mov dword [edx + 0xd0380], ecx
and ecx, 0xff
add ecx, esi
mov esi, dword [edx + 0xd0388]
imul ecx, ecx, 0x8088405
inc ecx
mov ebx, esi
mov dword [edx + 0xd0384], ecx
and ebx, 0xff
shr ecx, 0x18
xor ecx, ebx
shr esi, 8
mov ecx, dword [edi + ecx*4]
pop edi
xor ecx, esi
pop esi
mov dword [edx + 0xd0388], ecx
pop ebx
ret

Function at 0x5a5d28
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
push eax
push esi
call fcn.005a5a28
mov ecx, dword [esp + 0x28]
add esp, 8
xor edi, edi
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x14], ecx
push esi
call fcn.005a5998
mov bl, byte [esp + edi + 0x10]
xor bl, al
mov al, bl
mov byte [esp + edi + 0x10], bl
and eax, 0xff
push eax
push esi
call fcn.005a59b8
add esp, 0xc
inc edi
cmp edi, 0xc
jl 0x5a5d5a
mov edx, dword [esi + 0xc00f8]
movzx cx, byte [esp + 0x17]
test byte [edx + 0x28], 2
je 0x5a5da1
xor eax, eax
mov ax, word [esi + 0xd0160]
shr eax, 8
jmp 0x5a5daa
mov eax, dword [esi + 0xd0164]
shr eax, 0x18
and ecx, 0xffff
cmp ecx, eax
je 0x5a5dbe
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
mov ecx, dword [esi + 0xd010c]
mov edi, dword [esi + 0xac]
mov eax, ecx
cdq
cmp edx, edi
jl 0x5a5de3
jg 0x5a5ddb
cmp eax, dword [esi + 0xa8]
jbe 0x5a5de3
mov eax, dword [esi + 0xa8]
jmp 0x5a5de5
mov eax, ecx
mov edi, dword [esi + 0xd0108]
mov ecx, eax
dec eax
test ecx, ecx
je 0x5a5e16
lea ebx, [eax + 1]
push esi
call fcn.005a5998
mov cl, byte [edi]
xor cl, al
mov al, cl
mov byte [edi], cl
and eax, 0xff
push eax
push esi
call fcn.005a59b8
add esp, 0xc
inc edi
dec ebx
jne 0x5a5df5
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x5aad48
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
cmp dword [esi + 0xd0218], edi
je 0x5aad60
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0xa8]
cmp eax, edi
jg 0x5aad94
jl 0x5aad76
cmp ecx, edi
ja 0x5aad94
sub ecx, 1
mov dword [esi + 0xd010c], edi
sbb eax, edi
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], eax
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret
cmp dword [esi + 0xd010c], edi
jg 0x5aae32
mov eax, dword [esi + 0xd0104]
mov ecx, dword [esi + 0xd0128]
push 0x2000
push eax
push ecx
call dword [0x100191a8]
add esp, 0xc
cmp eax, edi
mov dword [esi + 0xd010c], eax
jne 0x5aadcd
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret
jge 0x5aadfd
mov edi, 0x10019fe0
or ecx, 0xffffffff
xor eax, eax
push 0x401
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x10019fe0
push esi
call dword [esi + 0xd043c]
push 1
push 0x10020760
call dword [0x1001914c]
mov ebx, dword [esi + 0xd0138]
push esi
add ebx, 0x2000
mov dword [esi + 0xd0138], ebx
mov edx, dword [esi + 0xd013c]
adc edx, edi
mov dword [esi + 0xd013c], edx
mov edx, dword [esi + 0xd0104]
mov dword [esi + 0xd0108], edx
call fcn.005aab98
add esp, 4
mov eax, dword [esi + 0xc00f8]
test byte [eax + 0x28], 1
je 0x5aae75
mov eax, dword [esi + 0xd010c]
mov edi, dword [esi + 0xd0108]
mov ecx, eax
dec eax
test ecx, ecx
je 0x5aae75
lea ebx, [eax + 1]
push esi
call fcn.005a5998
mov cl, byte [edi]
xor cl, al
mov al, cl
mov byte [edi], cl
and eax, 0xff
push eax
push esi
call fcn.005a59b8
add esp, 0xc
inc edi
dec ebx
jne 0x5aae54
mov eax, dword [esi + 0xd010c]
xor edx, edx
dec eax
pop edi
mov dword [esi + 0xd010c], eax
mov eax, dword [esi + 0xd0108]
mov dl, byte [eax]
inc eax
mov dword [esi + 0xd0108], eax
pop esi
mov eax, edx
pop ebx
ret
Function at 0x433005
Capabilities:
Encode data using xor

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x372c1131
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x56c63df9
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x4f267de9
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x52fd05a3
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x41cbaa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c84c

Function at 0x41cbb5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c9db

Function at 0x41cfaf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040bb30
mov eax, dword [0x435040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041aae9
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41cff1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41d14d
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00427e50
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x482e30]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041e17f
mov ecx, dword [esi*4 + 0x482e30]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41d146
cmp eax, dword [edi + ecx + 0x24]
jne 0x41d146
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d146
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041e17f
add esp, 0x14
test edx, edx
jl 0x41d146
jg 0x41d0bc
test eax, eax
jb 0x41d146
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41d146
jl 0x41d0d6
cmp dword [ebp - 0x1008], eax
ja 0x41d146
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41d0f4
test ebx, ebx
je 0x41d12d
cmp ecx, edi
jae 0x41d12d
mov al, byte [ecx]
cmp al, 0xd
jne 0x41d10e
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41d11a
cmp byte [ecx + 1], 0xa
jne 0x41d11a
inc ecx
jmp 0x41d11a
movzx eax, al
movsx eax, byte [eax + 0x435310]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41d0f4
cmp edx, ebx
jne 0x41d0f4
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41d14b
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040afc3
leave
ret
Function at 0x41d61d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x482e30]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d65d
cmp byte [ebx], 0xa
jne 0x41d65d
or byte [eax + edi + 0x28], 4
jmp 0x41d662
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41d760
mov al, byte [edx]
cmp al, 0x1a
je 0x41d742
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41d691
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41d6b6
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41d6c0
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41d673
jmp 0x41d760
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d73d
cmp dword [ebp - 0xc], 0
je 0x41d73d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x482e30]
test byte [eax + edi + 0x28], 0x48
je 0x41d717
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d702
mov byte [esi], dl
jmp 0x41d713
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x482e30]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d760
cmp byte [ebp - 1], 0xa
jne 0x41d726
cmp esi, ebx
jne 0x41d726
mov byte [esi], 0xa
jmp 0x41d75f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041e19d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d760
mov byte [esi], 0xd
jmp 0x41d75f
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x482e30]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d75c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d760
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret