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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431a10
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43a040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, 0x43b1fa
call fcn.0043029f
xor ebx, ebx
lea ecx, [edi + 0x5c]
mov dword [ebp - 0x10], ecx
cmp dword [edi + 0x54], ebx
jle 0x41f0f9
xor esi, esi
mov eax, dword [ecx]
mov ecx, dword [esi + eax]
test ecx, ecx
je 0x41f0eb
cmp byte [esi + eax + 8], 0
je 0x41f0eb
push ecx
call fcn.0040f650
mov eax, dword [edi + 0x5c]
lea ecx, [edi + 0x5c]
add esp, 4
mov dword [esi + eax], 0
jmp 0x41f0ee
lea ecx, [edi + 0x5c]
inc ebx
add esi, 0x78
cmp ebx, dword [edi + 0x54]
jl 0x41f0c3
jmp 0x41f0fc
mov dword [ebp - 0x10], ecx
xor edx, edx
lea ebx, [edi + 0x3c]
cmp dword [ebx], edx
jle 0x41f144
mov eax, dword [edi + 0x44]
mov esi, dword [eax + edx*4]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x34], eax
jb 0x41f13c
mov ecx, dword [edi + 0x54]
shl ecx, 4
sub ecx, dword [edi + 0x54]
lea eax, [eax + ecx*8]
cmp dword [esi + 0x34], eax
jae 0x41f139
mov dword [esi + 0x34], 0
xor ecx, ecx
mov eax, dword [edi + 0x44]
mov eax, dword [eax + edx*4]
mov word [eax + 0x38], cx
mov ecx, dword [ebp - 0x10]
inc edx
cmp edx, dword [ebx]
jl 0x41f105
lea ebx, [edi + 0x3c]
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x41f169
push eax
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
call fcn.0040f650
add esp, 4
mov dword [edi + 0x5c], 0
mov eax, dword [edi + 0x50]
mov esi, ebx
test eax, eax
je 0x41f193
push eax
mov dword [edi + 0x4c], 0
mov dword [edi + 0x48], 0
call fcn.0040f650
add esp, 4
mov dword [edi + 0x50], 0
lea esi, [edi + 0x3c]
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x46c], 0xffffffff
mov dword [edi + 0x468], 0xffffffff
test eax, eax
je 0x41f1b9
push eax
call fcn.0040f650
add esp, 4
mov ebx, esi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41f1c9
push eax
call fcn.0040f650
add esp, 4
xor ecx, ecx
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov byte [edi + 0x19], 0
mov dword [ebp - 0x10], ecx
cmp dword [ebx], ecx
jle 0x41f253
mov eax, dword [ebx + 8]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x41f24b
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041f380
mov eax, dword [esi + 0x28]
mov byte [ebp - 4], 1
test eax, eax
je 0x41f210
push eax
call fcn.0040f650
add esp, 4
mov eax, dword [esi + 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x41f224
push eax
call fcn.0040f650
add esp, 4
mov eax, dword [esi + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x41f238
push eax
call fcn.0040f650
add esp, 4
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f650
mov ecx, dword [ebp - 0x10]
add esp, 4
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebx]
jl 0x41f1e4
mov eax, dword [ebx + 8]
test eax, eax
je 0x41f277
push eax
mov dword [ebx + 4], 0
mov dword [ebx], 0
call fcn.0040f650
add esp, 4
mov dword [ebx + 8], 0
mov byte [edi + 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4234f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x43b1fa
call fcn.0043029f
mov eax, dword [esi + 8]
test eax, eax
je 0x423521
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.0040f650
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x423546
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.0040f650
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42356b
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.0040f650
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4235ac
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.0040f650
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4235d1
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.0040f650
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4235f6
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.0040f650
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0041f2a0
Function at 0x424220
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ecx, 0x43b1fa
call fcn.0043029f
mov esi, dword [ebp + 0x10]
mov eax, 0x5e6ea9af
mov edi, dword [ebp + 8]
mov ebx, esi
mul esi
movzx ecx, di
shr edx, 0xb
imul eax, edx, 0x15b0
shr edi, 0x10
mov dword [ebp + 8], edi
sub ebx, eax
mov dword [ebp - 4], ebx
test esi, esi
je 0x424366
mov esi, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
cmp ebx, 7
jbe 0x4242cc
mov eax, 7
sub eax, esi
mov dword [ebp + 8], eax
movzx eax, byte [esi]
add edx, 8
add ecx, eax
movzx eax, byte [esi + 1]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 2]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 3]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 4]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 5]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 6]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 7]
add edi, ecx
add esi, 8
add ecx, eax
mov eax, dword [ebp + 8]
add eax, esi
add edi, ecx
cmp eax, ebx
jb 0x424278
mov dword [ebp - 8], edx
mov dword [ebp + 8], edi
mov eax, dword [ebp - 4]
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 8], eax
jae 0x42432b
sub eax, dword [ebp - 8]
cmp eax, 2
jb 0x42431e
mov eax, dword [ebp - 8]
mov edi, ebx
mov edx, dword [ebp - 4]
sub edx, eax
sub edx, 2
shr edx, 1
inc edx
lea eax, [eax + edx*2]
mov dword [ebp - 8], eax
movzx eax, byte [esi]
add ecx, eax
movzx eax, byte [esi + 1]
add ebx, ecx
add esi, 2
add ecx, eax
add edi, ecx
sub edx, 1
jne 0x4242f6
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jae 0x424326
movzx eax, byte [esi]
add ecx, eax
add edi, ecx
inc esi
lea eax, [edx + ebx]
add edi, eax
mov eax, 0x80078071
mov ebx, dword [ebp - 4]
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul eax, edx, 0xffff000f
add edi, eax
sub dword [ebp + 0x10], ebx
mov ebx, 0x15b0
mov dword [ebp + 8], edi
mov dword [ebp - 4], ebx
jne 0x424264
shl edi, 0x10
lea eax, [ecx + edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42edf0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ecx, 0x43b2f0
call fcn.0043029f
lea eax, [ebp - 4]
push eax
call fcn.0042ef40
add esp, 4
test al, al
je 0x42ef32
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x42ee39
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x42ef32
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push str.CreateToolhelp32Snapshot
push ebx
call esi
mov edi, dword [ebp + 8]
push str.Process32First
push ebx
mov dword [edi], eax
call esi
push str.Process32Next
push ebx
mov dword [edi + 4], eax
call esi
push str.Module32First
push ebx
mov dword [edi + 8], eax
call esi
push str.Module32Next
push ebx
mov dword [edi + 0xc], eax
call esi
push str.Thread32First
push ebx
mov dword [edi + 0x10], eax
call esi
push str.Thread32Next
push ebx
mov dword [edi + 0x14], eax
call esi
push 0x438258
push ebx
mov dword [edi + 0x18], eax
call esi
push str.OpenThread
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.VirtualAllocEx
push ebx
mov dword [edi + 0x20], eax
call esi
push str.VirtualFreeEx
push ebx
mov dword [edi + 0x24], eax
call esi
cmp byte [ebp - 4], 0
mov dword [edi + 0x28], eax
je 0x42eecb
mov dword [edi + 0x20], 0x42f6c0
jmp 0x42eed1
cmp byte [ebp - 3], 0
je 0x42eedf
mov dword [edi + 0x28], 0x42f7e0
mov dword [edi + 0x24], 0x42f790
cmp dword [edi], 0
je 0x42ef29
cmp dword [edi + 4], 0
je 0x42ef29
cmp dword [edi + 8], 0
je 0x42ef29
cmp dword [edi + 0xc], 0
je 0x42ef29
cmp dword [edi + 0x10], 0
je 0x42ef29
cmp dword [edi + 0x14], 0
je 0x42ef29
cmp dword [edi + 0x18], 0
je 0x42ef29
cmp dword [edi + 0x1c], 0
je 0x42ef29
cmp dword [edi + 0x20], 0
je 0x42ef29
cmp dword [edi + 0x24], 0
je 0x42ef29
cmp dword [edi + 0x28], 0
je 0x42ef29
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42ef40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x43b2f0
call fcn.0043029f
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x42ef8d
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004302d1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x94]
cmp eax, 1
jne 0x42efb3
cmp edx, 4
jne 0x42efb3
cmp ecx, 0xa
ja 0x42efb3
mov byte [esi], 1
jmp 0x42efc0
mov byte [esi], 0
cmp eax, 1
jne 0x42efc9
cmp edx, 4
jne 0x42efc9
cmp ecx, 0x5a
jb 0x42efc9
mov cl, 1
jmp 0x42efcb
xor cl, cl
cmp eax, 2
mov byte [esi + 1], cl
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
mov byte [esi + 2], al
mov al, 1
pop esi
call fcn.004302d1
mov esp, ebp
pop ebp
ret
Function at 0x430080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x43b4a5
call fcn.0043029f
lea eax, [ebp - 0x14]
mov word [ebp - 0x14], 0x293a
push eax
push 0x43a26c
mov byte [ebp - 0x12], 0
call fcn.0041c2f0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x756b6173
push eax
push 0x43a24c
mov dword [ebp - 0xc], 0x642e6172
mov word [ebp - 8], 0x6c6c
mov byte [ebp - 6], 0
call fcn.0041c2f0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.004302d1
mov esp, ebp
pop ebp
ret

Function at 0x4300f0
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x43a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ecx, 0x43b4a5
call fcn.0043029f
push 0x104
push 0x43a148
mov bl, 1
push 0
mov bh, bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0x43a148
call sub.VCRUNTIME140.dll_strrchr
mov ecx, 1
add esp, 8
sub ecx, 0x43a148
add eax, ecx
cmp eax, 0x104
jae 0x43028d
push 0x43a24c
push 0x104
push 0x43a148
mov byte [eax + 0x43a148], 0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0xc
lea eax, [ebp - 0x15c]
push eax
push 0x43a148
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x4301ca
mov ecx, 0x59
xor edx, edx
nop dword [eax + eax]
mov al, byte [edx + 0x438310]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x1c], al
and ecx, 0x800000ff
jns 0x4301ad
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x16
jl 0x430190
lea eax, [ebp - 0x1c]
mov byte [ebp - 6], 0
push eax
push 0x43a26c
call fcn.0041c2f0
add esp, 8
xor bl, bl
push 0x43a28c
push str.hl.exe
call fcn.0042eff0
add esp, 8
test al, al
jne 0x43022a
test bl, bl
je 0x43022a
mov ecx, 0x82
xor edx, edx
nop dword [eax + eax]
mov al, byte [edx + 0x438330]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x18], al
and ecx, 0x800000ff
jns 0x43020d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x12
jl 0x4301f0
lea eax, [ebp - 0x18]
mov byte [ebp - 6], 0
push eax
push 0x43a26c
call fcn.0041c2f0
add esp, 8
xor bh, bh
push 0x43a148
push str.hl.exe
call fcn.0042f190
add esp, 8
cmp al, 1
jne 0x43027e
test bl, bl
je 0x43027e
test bh, bh
je 0x43027e
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x656a6e49
push eax
push 0x43a26c
mov dword [ebp - 0xc], 0x64657463
mov word [ebp - 8], 0x21
call fcn.0041c2f0
add esp, 8
cmp byte [0x43a141], 0
je 0x43027e
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004302d1
mov esp, ebp
pop ebp
ret
call fcn.00430bc3
int3

Function at 0x4310c5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x431104
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x431104
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x431104
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x431104
cmp dword [ecx + 0x74], 0xe
jbe 0x431104
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x121b120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa23000]
push edi
or ebp, 0xffffffff
jmp 0x121b142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x121b149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x121b138
mov eax, 1
add ebx, ebx
jne 0x121b15b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x121b16c
jne 0x121b18b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x121b18b
dec eax
add ebx, ebx
jne 0x121b178
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x121b150
add ebx, ebx
jne 0x121b187
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x121b1dd
xor ecx, ecx
sub eax, 3
jb 0x121b1a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x121b212
sar eax, 1
mov ebp, eax
jmp 0x121b1ae
add ebx, ebx
jne 0x121b1ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x121b17c
inc ecx
add ebx, ebx
jne 0x121b1bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x121b17c
add ebx, ebx
jne 0x121b1c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x121b1be
jne 0x121b1da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x121b1be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x121b1fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x121b1ee
jmp 0x121b13e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x121b1fc
add edi, ecx
jmp 0x121b13e
pop esi
lea edi, [esi + 0x8db000]
mov ecx, 0x3bdf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x121b21e
cmp byte [edi], 0x19
jne 0x121b21e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x121b223
lea edi, [esi + 0xe12000]
mov eax, dword [edi]
or eax, eax
je 0x121b292
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe62018]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe6208c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x121b250
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe62094]
or eax, eax
je 0x121b28c
mov dword [ebx], eax
add ebx, 4
jmp 0x121b26d
call dword [esi + 0xe62090]
mov ebp, dword [esi + 0xe62098]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x121b2c6
sub esp, 0xffffff80
jmp 0xd7df22
Function at 0x576090
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4ec015
lea edi, [esi - 0xeb015]
push edi
or ebp, 0xffffffff
jmp 0x5760b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5760b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5760a8
mov eax, 1
add ebx, ebx
jne 0x5760cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5760dc
jne 0x5760fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5760fb
dec eax
add ebx, ebx
jne 0x5760e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5760c0
add ebx, ebx
jne 0x5760f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57614d
xor ecx, ecx
sub eax, 3
jb 0x576113
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x576182
sar eax, 1
mov ebp, eax
jmp 0x57611e
add ebx, ebx
jne 0x57611e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5760ec
inc ecx
add ebx, ebx
jne 0x57612c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5760ec
add ebx, ebx
jne 0x576139
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57612e
jne 0x57614a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57612e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57616c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57615e
jmp 0x5760ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57616c
add edi, ecx
jmp 0x5760ae
pop esi
mov edi, esi
mov ecx, 0x3f6d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57618a
cmp byte [edi], 0xb
jne 0x57618a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x57618f
lea edi, [esi + 0x170000]
mov eax, dword [edi]
or eax, eax
je 0x5761fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x176000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x176028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5761bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x176030]
or eax, eax
je 0x5761f8
mov dword [ebx], eax
add ebx, 4
jmp 0x5761d9
call dword [esi + 0x17602c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57622f
cmp al, 0xef
ja 0x576222
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x576204
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x576211
mov ebp, dword [esi + 0x176034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x576263
sub esp, 0xffffff80
jmp 0x45a610
Function at 0x41cc15
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ecx, esi
and ecx, 1
mov eax, esi
shl ecx, 4
mov ebx, ecx
or ebx, 6
and al, 2
push edi
lea eax, [ebp - 0x140]
cmove ebx, ecx
push eax
push dword [ebp + 8]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
jne 0x41cc59
xor eax, eax
jmp 0x41ccfb
and esi, 4
xor eax, eax
mov ecx, ebx
and ecx, dword [ebp - 0x140]
cmp eax, ecx
sbb eax, eax
neg eax
test esi, esi
jne 0x41cc77
xor eax, eax
cmp eax, ecx
sbb eax, eax
inc eax
test eax, eax
je 0x41ccc9
mov al, byte [ebp - 0x114]
xor ecx, ecx
test al, al
setne cl
cmp al, 0x2e
jne 0x41cca5
mov al, byte [ebp - 0x113]
xor edx, edx
test al, al
cmove ecx, edx
cmp al, 0x2e
jne 0x41cca5
cmp byte [ebp - 0x112], dl
je 0x41ccc9
test ecx, ecx
je 0x41ccc9
lea eax, [ebp - 0x114]
inc edi
push eax
push dword [ebp + 0xc]
call fcn.0040a5c1
push 0x43d9e8
push dword [ebp + 0xc]
call fcn.0040a5c1
add esp, 0x10
lea eax, [ebp - 0x140]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41cc5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x41cc5c
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4324ee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043236d

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x59e5905
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0xe83d93
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0xbced00], 1
mov dword [0xbcecfc], 1
mov dword [0xbcecf8], 1
mov dword [0xbcecf0], 1
jne 0x401060
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010c0
mov dword [0x5c9014], eax
mov eax, dword [0xbced0c]
test eax, eax
je 0x4010b0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0xbced20]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0xbced08]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x586764], 1
je 0x4010f0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x40107a
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x401108
cmp dx, 0x20b
jne 0x401060
cmp dword [ecx + 0x84], 0xe
jbe 0x401060
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401060
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401060
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401060