joyce8/EMBER2024-capa huggingface dataset:
Function at 0xce49a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xd28e10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0xd42014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0xd430ec
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00cf80c0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0xd42a8c
push eax
call fcn.00cf80c0
mov esi, dword [0xd430fc]
xor ebx, ebx
mov edi, dword [0xd43100]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0xd46390], bl
mov eax, ebx
mov ecx, 0xd430ec
cmovae ecx, dword [0xd430ec]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0xd464a0], al
inc ebx
cmp ebx, 0x100
jl 0xce4a20
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0xd46390]
movzx eax, byte [esi + 0xd464a0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0xce4a74
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0xd46390]
mov byte [esi + 0xd46390], al
inc esi
mov byte [edi + 0xd46390], dl
cmp esi, 0x100
jl 0xce4a50
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00ce4690
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0xce4ac9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xce4abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xce4b1f
push edx
push ecx
call fcn.00cfd663
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0xce4b0b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xce4b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xce4b1f
push edx
push ecx
call fcn.00cfd663
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00d16c6a
int3
Function at 0xce70a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0xd42014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x5050ed5
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0xce7289
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0xce7289
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00d140f0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x5060000
nop
test eax, eax
je 0xce7289
push 4
push 0x1000
push 4
push 0
call 0x5050c53
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x5040006
nop
test eax, eax
je 0xce7289
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0xd38df8
push dword [esp + 0x30]
call 0x50402c0
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0xce71ac
push 0xd38dfc
push 0xd38e14
call 0x50509e3
nop
push eax
call 0x50400c4
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x50401d4
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0xce7289
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x5050dc4
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0xce7243
mov dword [esp + 0xc], eax
call fcn.00ce6ef0
push eax
call 0x505091a
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x5050dc4
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0xce71f2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x5050dc4
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x504037c
nop
push dword [esp + 0x24]
call 0x5050a94
nop
push 0x8000
push 0
push esi
call 0x5050cff
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00cfcff1
mov esp, ebp
pop ebp
ret
Function at 0xceaf20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xd29726
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0xd42014]
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 ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.00d18b63
push eax
call fcn.00d16660
add esp, 8
call fcn.00d1663f
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.00d1663f
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.00d1663f
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.00ce45b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0xceafd0
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0xceafe6
push 0x40
push 0
push 0xd48560
sub esi, ecx
call fcn.00d140f0
add esp, 0xc
mov dword [0xd48554], 0
mov edx, esi
mov dword [0xd48550], 0
lea ecx, [ebp - 0x410]
mov dword [0xd48540], 0x67452301
mov dword [0xd48544], 0xefcdab89
mov dword [0xd48548], 0x98badcfe
mov dword [0xd4854c], 0x10325476
call fcn.00ce5530
call fcn.00ce55f0
mov ecx, 0xd465a0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0xceb071
sub ecx, edx
push ecx
push 0xd465a0
lea ecx, [ebp - 0x42c]
call fcn.00cf80c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0xceb0cc
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xceb0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xceb18c
push edx
push ecx
call fcn.00cfd663
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0xceb187
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.00cf80c0
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0xceb169
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xceb15f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xceb18c
push edx
push ecx
call fcn.00cfd663
add esp, 8
mov eax, ebx
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.00cfcff1
mov esp, ebp
pop ebp
ret
call fcn.00cf8200
call fcn.00d16c6a
int3
Function at 0xcfdcc7
Capabilities:
Parse pe header

Disassembly:
push 0
call 0x5070c07
nop
test eax, eax
je 0xcfdd07
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xcfdd07
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xcfdd07
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0xcfdd07
cmp dword [ecx + 0x74], 0xe
jbe 0xcfdd07
cmp dword [ecx + 0xe8], 0
je 0xcfdd07
mov al, 1
ret
xor al, al
ret
Function at 0x41242c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004122ab

Function at 0x416823
Capabilities:
Set environment variable

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

Function at 0x41682e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004163cc

Function at 0x1001e34
Capabilities:
Parse pe header

Disassembly:
push 0x60
push 0x10011e0
call fcn.01002c88
mov edi, 0x94
mov eax, edi
call 0x1002df0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x10010a8]
mov ecx, dword [esi + 0x10]
mov dword [0x10062b8], ecx
mov eax, dword [esi + 4]
mov dword [0x10062c4], eax
mov edx, dword [esi + 8]
mov dword [0x10062c8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x10062bc], esi
cmp ecx, 2
je 0x1001e94
or esi, 0x8000
mov dword [0x10062bc], esi
shl eax, 8
add eax, edx
mov dword [0x10062c0], eax
cmp word [0x1000000], 0x5a4d
jne 0x1001ed0
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x1001ed0
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x1001ee9
cmp ecx, 0x20b
je 0x1001ed6
and dword [ebp - 0x1c], 0
jmp 0x1001efd
cmp dword [eax + 0x84], 0xe
jbe 0x1001ed0
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x1001ef7
cmp dword [eax + 0x74], 0xe
jbe 0x1001ed0
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
push 0
call fcn.01002c2a
pop ecx
test eax, eax
jne 0x1001f2a
cmp dword [0x10062a8], 1
jne 0x1001f17
call fcn.01002406
push 0x1c
call fcn.01002219
push 0xff
call fcn.01002078
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.01002a5a
test eax, eax
jge 0x1001f3f
push 0x1b
call fcn.01001e05
pop ecx
call dword [0x10010ac]
mov dword [0x1006854], eax
call fcn.0100292d
mov dword [0x10062a0], eax
call fcn.01002884
test eax, eax
jge 0x1001f65
push 8
call fcn.01001e05
pop ecx
call fcn.0100262a
test eax, eax
jge 0x1001f76
push 9
call fcn.01001e05
pop ecx
call fcn.010020d2
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1001f89
push eax
call fcn.01001e05
pop ecx
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [0x10010b0]
call fcn.010025bc
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x1001fab
movzx eax, word [ebp - 0x40]
jmp 0x1001fae
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push 0
push 0x1000000
call fcn.01001c3d
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x1c], 0
jne 0x1001fcf
push esi
call fcn.010021b2
call fcn.010021ea
jmp 0x1002001
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x7c]
call 0x1002cc3
ret
Function at 0x40a6f0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4263d4]
jne 0x40a6fa
repz ret
jmp fcn.004108ec

Function at 0x41659c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4263d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040d58f
and dword [ebp - 0x14], 0
cmp dword [0x46864c], 0
mov dword [ebp - 0x18], eax
jne 0x41664f
push 0x403804
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4166f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4037f8
push ebx
call edi
test eax, eax
je 0x4166f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4037e8
push ebx
mov dword [0x46864c], eax
call edi
push eax
call esi
push 0x4037d4
push ebx
mov dword [0x468650], eax
call edi
push eax
call esi
push 0x4037b8
push ebx
mov dword [0x468654], eax
call edi
push eax
call esi
mov dword [0x46865c], eax
test eax, eax
je 0x41664f
push 0x4037a0
push ebx
call edi
push eax
call esi
mov dword [0x468658], eax
mov eax, dword [0x468658]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4166a8
cmp dword [0x46865c], ecx
je 0x4166a8
push eax
call esi
push dword [0x46865c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4166a8
test ebx, ebx
je 0x4166a8
call edi
test eax, eax
je 0x41669f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41669f
test byte [ebp - 8], 1
jne 0x4166a8
or dword [ebp + 0x10], 0x200000
jmp 0x4166db
mov eax, dword [0x468650]
cmp eax, dword [ebp - 0x18]
je 0x4166db
push eax
call esi
test eax, eax
je 0x4166db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4166db
mov eax, dword [0x468654]
cmp eax, dword [ebp - 0x18]
je 0x4166db
push eax
call esi
test eax, eax
je 0x4166db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46864c]
call esi
test eax, eax
je 0x4166f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4166f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a6f0
leave
ret
Function at 0x41e890
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.0041da70
cmp dword [0x8093d0], 0x37
jne 0x41e921
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x404420
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x404440
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x8093d4]
mov edx, dword [0x805840]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x448a80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x37000]
push edi
or ebp, 0xffffffff
jmp 0x448aa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x448aa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x448a98
mov eax, 1
add ebx, ebx
jne 0x448abb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x448ab0
jne 0x448acc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x448ab0
xor ecx, ecx
sub eax, 3
jb 0x448ae0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x448b52
mov ebp, eax
add ebx, ebx
jne 0x448aeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x448af8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x448b1c
inc ecx
add ebx, ebx
jne 0x448b08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x448afd
jne 0x448b19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x448afd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x448b3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x448b2d
jmp 0x448a9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x448b3c
add edi, ecx
jmp 0x448a9e
pop esi
mov edi, esi
mov ecx, 0x1655
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x448b5a
cmp byte [edi], 0x11
jne 0x448b5a
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 eax, ebx
loop 0x448b5f
lea edi, [esi + 0x45000]
mov eax, dword [edi]
or eax, eax
je 0x448bce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x493e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x494e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x448b8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x494ec]
or eax, eax
je 0x448bc8
mov dword [ebx], eax
add ebx, 4
jmp 0x448ba9
call dword [esi + 0x494f0]
popal
jmp 0x42fac0
Function at 0x404fa0
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, 0x143c
call fcn.00416610
mov eax, dword [0x6fd7ec]
mov ecx, dword [0x6fa6f4]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x405113
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov ebp, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameA]
mov esi, dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x6fd7ec], 0x959
jne 0x4050f9
push 0
push 0
call edi
lea eax, [esp + 0x28]
push eax
call ebx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x4c]
push edx
push 0
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x84c]
push ecx
push 0
push 0x403708
push 0x403728
push 0x403748
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0
push 0
lea eax, [esp + 0xc50]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0
lea ecx, [esp + 0x44c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0
call esi
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0x403758
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push 0
push 0x40375c
push 0x403768
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
push 0
push 0
push 0
call esi
mov edx, dword [esp + 0x14]
push edx
call fcn.00404dc0
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x404fe4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x143c
ret
Function at 0x408b4d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c208]
jne 0x408b57
repz ret
jmp fcn.00410d0c

Function at 0x4147e1
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.0040e136
and dword [ebp - 4], 0
cmp dword [0x43fa38], 0
mov ebx, eax
jne 0x414892
push 0x402da0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414943
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402d94
push edi
call esi
test eax, eax
je 0x414943
push eax
call fcn.0040e0c4
mov dword [esp], 0x402d84
push edi
mov dword [0x43fa38], eax
call esi
push eax
call fcn.0040e0c4
mov dword [esp], 0x402d70
push edi
mov dword [0x43fa3c], eax
call esi
push eax
call fcn.0040e0c4
mov dword [esp], 0x402d54
push edi
mov dword [0x43fa40], eax
call esi
push eax
call fcn.0040e0c4
pop ecx
mov dword [0x43fa48], eax
test eax, eax
je 0x414892
push 0x402d3c
push edi
call esi
push eax
call fcn.0040e0c4
pop ecx
mov dword [0x43fa44], eax
mov eax, dword [0x43fa44]
cmp eax, ebx
je 0x4148ea
cmp dword [0x43fa48], ebx
je 0x4148ea
push eax
call fcn.0040e13f
push dword [0x43fa48]
mov esi, eax
call fcn.0040e13f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4148ea
test edi, edi
je 0x4148ea
call esi
test eax, eax
je 0x4148e1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4148e1
test byte [ebp - 0xc], 1
jne 0x4148ea
or dword [ebp + 0x10], 0x200000
jmp 0x414923
mov eax, dword [0x43fa3c]
cmp eax, ebx
je 0x414923
push eax
call fcn.0040e13f
pop ecx
test eax, eax
je 0x414923
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414923
mov eax, dword [0x43fa40]
cmp eax, ebx
je 0x414923
push eax
call fcn.0040e13f
pop ecx
test eax, eax
je 0x414923
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43fa38]
call fcn.0040e13f
pop ecx
test eax, eax
je 0x414943
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414945
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402c96
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5005d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x4d
lea eax, [ebp - 0x53]
push ebx
push eax
mov byte [ebp - 0x54], bl
call fcn.004a7110
add esp, 0xc
cmp esi, ebx
jne 0x402cc7
or eax, 0xffffffff
jmp 0x402d72
lea eax, [ebp - 0x54]
push eax
mov edx, str.____This_is_the_beginning_of_a_PAULA_Arkive_self_extracting_compilation.____
call fcn.00477bbd
push esi
call fcn.004a6862
push esi
mov dword [ebp - 0x58], ebx
call fcn.004a68be
add esp, 0xc
cmp eax, 0xffffffff
je 0x402d0e
push 1
push eax
lea eax, [ebp - 0x58]
lea ebx, [ebp - 0x54]
call fcn.0041d735
test eax, eax
pop ecx
pop ecx
jne 0x402d6b
push esi
call fcn.004a68be
cmp eax, 0xffffffff
pop ecx
jne 0x402cec
xor ebx, ebx
push edi
push 2
push ebx
push esi
call fcn.004a665f
add esp, 0xc
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.004a63c0
pop ecx
push eax
lea eax, [ebp - 0x54]
push 1
push eax
call fcn.004a612e
mov edi, eax
lea eax, [ebp - 0x54]
push eax
call fcn.004a63c0
add esp, 0x14
cmp edi, eax
pop edi
jne 0x402cbf
push esi
call fcn.004a6862
push 2
push 0xffffffffffffffff
push esi
call fcn.004a665f
push esi
call fcn.004a68be
push 2
push ebx
push esi
call fcn.004a665f
add esp, 0x20
push esi
call fcn.004a6348
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004a69f5
leave
ret
Function at 0x403bd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.004b8290
push ebx
push esi
xor ebx, ebx
push 0xffc
lea eax, [ebp - 0x1004]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x1008], ebx
call fcn.004a7110
add esp, 0xc
cmp dword [ebp + 8], ebx
mov dword [ebp - 8], ebx
jne 0x403c0d
xor eax, eax
jmp 0x403c96
shr esi, 2
mov eax, 0x40000
cmp esi, eax
mov dword [ebp - 4], esi
jbe 0x403c1f
mov dword [ebp - 4], eax
shr dword [ebp - 4], 2
push edi
mov edi, 0x400
cmp dword [ebp - 4], edi
jbe 0x403c40
push 4
push dword [ebp - 4]
call fcn.004a5f90
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
jne 0x403c49
mov dword [ebp - 4], edi
lea esi, [ebp - 0x1008]
xor edi, edi
push dword [ebp + 8]
push dword [ebp - 4]
push 4
push esi
call fcn.004a7455
add esp, 0x10
test eax, eax
mov dword [ebp - 8], eax
jbe 0x403c75
xor ebx, ebx
test eax, eax
jbe 0x403c71
add edi, dword [esi + ebx*4]
inc ebx
cmp ebx, eax
jb 0x403c69
add edi, eax
jmp 0x403c4b
test edi, edi
jne 0x403c7e
test ebx, ebx
je 0x403c7e
inc edi
test esi, esi
je 0x403c93
lea eax, [ebp - 0x1008]
cmp esi, eax
je 0x403c93
push esi
call fcn.004a5de4
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret