joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415280
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x41528b
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
not esi
jb 0x415387
push ebp
mov ebp, edi
shr ebp, 3
jmp 0x4152b0
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x45fd78]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45fd78]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x45fd78]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45fd78]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45fd78]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45fd78]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45fd78]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45fd78]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x4152b0
pop ebp
test edi, edi
je 0x4153ac
jmp 0x415390
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x45fd78]
add ecx, 1
sub edi, 1
jne 0x415390
mov eax, esi
pop edi
not eax
pop esi
ret

Function at 0x4153c0
Capabilities:
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [edx]
movzx ecx, byte [esp + 8]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x45fd78]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
add eax, 1
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x45fd78]
mov dword [edx + 8], ecx
ret

Function at 0x415410
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov al, byte [esp + 0x10]
shr edx, 8
xor al, dl
mov edx, dword [esi]
movzx ebx, al
xor ebx, edx
shr edx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x45fd78]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x45fd78]
mov dword [esi + 8], ecx
pop esi
pop ebx
ret
Function at 0x415890
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ebx
imul esi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x4158d2
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 4]
push 0
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4158c6
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x4158e3
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
call fcn.0043d750
add dword [edi + 0x1c], esi
add esp, 0xc
pop edi
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
ret

Function at 0x416970
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x20c
mov eax, dword [0x472cf0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, dword [esp + 0x218]
push edi
mov edi, dword [esp + 0x218]
test edi, edi
je 0x4169ad
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4169ad
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebp]
test al, al
je 0x416a6d
push esi
mov esi, ebp
mov ecx, ebp
lea ecx, [ecx]
cmp al, 0x2f
je 0x4169c8
cmp al, 0x5c
jne 0x4169ca
mov esi, ecx
mov al, byte [ecx + 1]
add ecx, 1
test al, al
jne 0x4169c0
cmp esi, ebp
je 0x416a02
sub esi, ebp
push esi
lea eax, [esp + 0x114]
push ebp
push eax
call fcn.0043d750
lea ecx, [esp + 0x11c]
push ecx
push edi
mov byte [esp + esi + 0x124], 0
call fcn.00416970
add esp, 0x14
test edi, edi
mov byte [esp + 0xc], 0
je 0x416a1f
lea edx, [esp + 0xc]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x416a13
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x416a23
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x416a35
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0xc]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop esi
jne 0x416a6d
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x210]
pop edi
pop ebp
xor ecx, esp
call fcn.0043a2e3
add esp, 0x20c
ret
Function at 0x418230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
jne 0x41824a
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
je 0x41823f
cmp dword [edi + 0x7c], ebx
je 0x41825d
push edi
call fcn.004162c0
add esp, 4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call fcn.004160d0
add esp, 0x10
test eax, eax
je 0x418284
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
push 0x84
call fcn.0043ac1b
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4182c5
push 0x4000
call fcn.0043ac1b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x4182d1
push esi
call fcn.0043acde
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x41831d
lea eax, [esi + 4]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00415690
add esp, 4
test eax, eax
jne 0x41831d
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x418347
mov dl, byte [edi + 0x39]
mov byte [esi + 0x80], dl
jmp 0x418350
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
neg cl
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [esi + 0x70]
mov dword [ebx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
sbb ecx, ecx
and ecx, 0xc
test ebp, ebp
mov dword [esi + 0x7c], ecx
je 0x418397
lea ecx, [ecx]
movzx eax, byte [ebp]
test al, al
je 0x418397
push eax
push ebx
call fcn.004153c0
add esp, 8
add ebp, 1
jne 0x418380
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax + 0x1e]
pop ebp
mov dword [esi + 0x3c], ecx
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x418640
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x41870f
cmp dword [ebx + 4], 0xffffffff
jne 0x41870f
push edi
lea edi, [ebx + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x418670
sub eax, edx
mov al, byte [eax + ebx + 0x13f]
cmp al, 0x5c
je 0x4186a3
cmp al, 0x2f
je 0x4186a3
add edi, 0xffffffff
lea ecx, [ecx]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x418690
mov ax, word [0x45b7c4]
mov word [edi], ax
mov edi, dword [esp + 0x14]
cmp edi, 1
push esi
mov esi, dword [esp + 0x10]
jne 0x4186ce
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4186ce
pop esi
pop edi
mov eax, 0x2000000
pop ebx
ret 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
push esi
call fcn.00415740
add esp, 0x10
test eax, eax
jne 0x4186f0
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebx
ret 0xc
push eax
call fcn.00418040
add esp, 4
mov dword [ebx], eax
neg eax
sbb eax, eax
pop esi
and eax, 0xfffffe00
pop edi
add eax, 0x200
pop ebx
ret 0xc
mov eax, 0x1000000
pop ebx
ret 0xc
Function at 0x41a090
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
push eax
push ecx
push edx
call fcn.0043c4b8
push esi
mov edi, eax
call fcn.0043c1ff
add esp, 0x14
mov eax, edi
pop edi
pop esi
ret

Function at 0x41a0c0
Capabilities:
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
sub esp, 0x64
cmp dword [esp + 0x68], 0
push esi
mov esi, ecx
je 0x41a23b
push ebp
mov ebp, dword [esp + 0x74]
push ebx
push edi
jmp 0x41a0e0
mov eax, dword [esp + 0x78]
mov ecx, dword [esi + 0x5c]
push 0
push 0
push eax
push ecx
call fcn.0043f42f
push 0x4c
lea edx, [esp + 0x3c]
push 0
push edx
call fcn.0043a0d0
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x4c]
push 0x4c
push ecx
call fcn.0043f37b
add esp, 0x2c
test eax, eax
je 0x41a238
xor eax, eax
cmp dword [esp + 0x2c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x7c], eax
jbe 0x41a198
mov edx, dword [esi + 0x5c]
push edx
call fcn.0043f095
mov edi, eax
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x1c]
push 0x18
push ecx
mov ebx, edx
call fcn.0043f37b
mov edx, dword [esp + 0x24]
add esp, 0x14
cmp edx, dword [ebp]
jne 0x41a187
mov eax, dword [esp + 0x14]
cmp eax, dword [ebp + 4]
jne 0x41a187
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp + 8]
jne 0x41a187
mov edx, dword [esp + 0x1c]
cmp edx, dword [ebp + 0xc]
je 0x41a1b2
mov eax, dword [esp + 0x7c]
add eax, 1
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
jb 0x41a141
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x78], eax
jne 0x41a0e0
pop edi
pop ebx
pop ebp
pop esi
add esp, 0x64
ret 8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x78]
mov edx, dword [esi + 0x5c]
push 0
lea eax, [eax + eax*2 - 3]
lea ecx, [ebp + eax*8 + 0x4c]
push 0
push ecx
push edx
call fcn.0043f42f
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x28]
push 0x18
push ecx
call fcn.0043f37b
mov edx, dword [esi + 0x5c]
push 0
push ebx
push edi
push edx
call fcn.0043f42f
mov edi, dword [esi + 0x5c]
push edi
push 1
lea eax, [esp + 0x48]
push 0x18
push eax
call fcn.0043c4b8
add esp, 0x40
push edi
call fcn.0043c1ff
mov ecx, dword [esi + 0x5c]
sub dword [esp + 0x30], 1
push 0
push 0
push ebp
push ecx
call fcn.0043f42f
mov esi, dword [esi + 0x5c]
push esi
push 1
lea edx, [esp + 0x44]
push 0x4c
push edx
call fcn.0043c4b8
push esi
call fcn.0043c1ff
add esp, 0x28
pop edi
pop ebx
pop ebp
pop esi
add esp, 0x64
ret 8
Function at 0x41a250
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, 0x2000
push esi
xor edi, edi
call fcn.0041d9d6
mov ebp, dword [esp + 0x1c]
add esp, 4
test ebp, ebp
mov ebx, eax
jbe 0x41a2b4
mov edi, edi
lea eax, [edi + 0x2000]
cmp eax, ebp
jbe 0x41a27e
mov esi, ebp
sub esi, edi
mov ecx, dword [esp + 0x14]
push ecx
push 1
push esi
push ebx
call fcn.0043f37b
add esp, 0x10
test eax, eax
jbe 0x41a2ae
mov edx, dword [esp + 0x1c]
push edx
push 1
push esi
push ebx
call fcn.0043c4b8
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043c1ff
add esp, 0x14
add edi, esi
cmp edi, ebp
jb 0x41a270
push ebx
call fcn.0041d9db
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x41a2d0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
test esi, esi
push edi
mov ebx, ecx
je 0x41a317
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov eax, dword [ebx + 0x5c]
push 0
push 0
push esi
push eax
call fcn.0043f42f
mov ecx, dword [ebx + 0x5c]
push ecx
push 1
push 0x50
push edi
call fcn.0043f37b
add esp, 0x20
cmp dword [edi + 4], ebp
jae 0x41a320
mov eax, dword [edi + 8]
cmp esi, eax
je 0x41a317
mov esi, eax
test esi, esi
jne 0x41a2e6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x41a380
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0xc], 0
push edi
mov edi, ecx
jne 0x41a39a
mov eax, dword [esi + 8]
mov dword [edi + 0x84], eax
jmp 0x41a3ce
mov ecx, dword [esi + 8]
push ebp
mov ebp, dword [esp + 0x18]
push 0
mov dword [ebp + 8], ecx
mov edx, dword [esi + 0xc]
mov eax, dword [edi + 0x5c]
push 0
push edx
push eax
call fcn.0043f42f
mov ebx, dword [edi + 0x5c]
push ebx
push 1
push 0x50
push ebp
call fcn.0043c4b8
push ebx
call fcn.0043c1ff
add esp, 0x24
pop ebp
cmp dword [esi + 8], 0
je 0x41a406
mov ecx, dword [esi + 0xc]
mov ebx, dword [esp + 0x18]
push 0
mov dword [ebx + 0xc], ecx
mov edx, dword [esi + 8]
mov eax, dword [edi + 0x5c]
push 0
push edx
push eax
call fcn.0043f42f
mov edi, dword [edi + 0x5c]
push edi
push 1
push 0x50
push ebx
call fcn.0043c4b8
push edi
call fcn.0043c1ff
add esp, 0x24
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x41a410
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x5c]
push esi
mov esi, ecx
mov eax, dword [esi + 0x84]
test eax, eax
je 0x41a499
push edi
push 0x50
mov dword [ebp + 8], eax
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0043a0d0
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x5c]
push 0
push 0
push ecx
push edx
call fcn.0043f42f
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x34]
push 0x50
push ecx
call fcn.0043f37b
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x5c]
push 0
push 0
push edx
push eax
mov dword [esp + 0x58], ebx
call fcn.0043f42f
mov edi, dword [esi + 0x5c]
push edi
push 1
lea ecx, [esp + 0x54]
push 0x50
push ecx
call fcn.0043c4b8
add esp, 0x4c
push edi
call fcn.0043c1ff
add esp, 4
pop edi
push 0
mov dword [esi + 0x84], ebx
push 0
mov dword [ebp + 0xc], 0
mov edx, dword [esi + 0x5c]
push ebx
push edx
call fcn.0043f42f
mov esi, dword [esi + 0x5c]
push esi
push 1
push 0x50
push ebp
call fcn.0043c4b8
push esi
call fcn.0043c1ff
add esp, 0x24
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 8

Function at 0x41a4e0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
push 0x50
lea eax, [esp + 0x14]
push 0
push eax
mov esi, ecx
call fcn.0043a0d0
push 0x50
lea ecx, [esp + 0x70]
push 0
push ecx
call fcn.0043a0d0
mov edi, dword [esp + 0x11c]
mov eax, dword [edi + 0xc]
add esp, 0x18
test eax, eax
je 0x41a53c
mov edx, dword [esi + 0x5c]
push 0
push 0
push eax
push edx
call fcn.0043f42f
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x28]
push 0x50
push ecx
call fcn.0043f37b
add esp, 0x20
mov eax, dword [edi + 8]
test eax, eax
je 0x41a566
mov edx, dword [esi + 0x5c]
push 0
push 0
push eax
push edx
call fcn.0043f42f
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x78]
push 0x50
push ecx
call fcn.0043f37b
add esp, 0x20
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0041a380
mov ebx, dword [edi + 4]
mov ebp, dword [esp + 0x108]
sub ebx, ebp
cmp ebx, 0x534
jb 0x41a5ce
push 0x50
lea ecx, [esp + 0xb4]
push 0
push ecx
mov dword [edi + 4], ebp
call fcn.0043a0d0
mov edx, dword [esp + 0x118]
add esp, 0xc
lea eax, [edx + ebp + 0x134]
push eax
lea ecx, [esp + 0xb4]
add ebx, 0xfffffecc
push ecx
mov ecx, esi
mov dword [esp + 0xbc], ebx
call fcn.0041a410
mov edx, dword [esp + 0x10c]
mov eax, dword [esi + 0x5c]
push 0
add edx, 0xe4
push 0
push edx
push eax
call fcn.0043f42f
mov esi, dword [esi + 0x5c]
push esi
push 1
push 0x50
push edi
call fcn.0043c4b8
push esi
call fcn.0043c1ff
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret 0xc
Function at 0x41a610
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xf0
mov eax, dword [0x472cf0]
xor eax, esp
mov dword [esp + 0xec], eax
push esi
mov esi, ecx
mov ecx, dword [esp + 0xf8]
mov eax, dword [ecx]
test eax, eax
je 0x41a687
push 0
push 0
push eax
mov eax, dword [esi + 0x5c]
push eax
call fcn.0043f42f
push 0xec
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.0043a0d0
mov edx, dword [esi + 0x5c]
push edx
push 1
lea eax, [esp + 0x28]
push 0xec
push eax
call fcn.0043f37b
mov eax, dword [esp + 0x34]
add esp, 0x2c
pop esi
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.0043a2e3
add esp, 0xf0
ret 4
push edi
mov edi, dword [ecx + 8]
test edi, edi
je 0x41a6cc
push 0xec
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.0043a0d0
mov edx, dword [esi + 0x5c]
push 0
push 0
push edi
push edx
call fcn.0043f42f
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x2c]
push 0xec
push ecx
call fcn.0043f37b
mov eax, dword [esp + 0x40]
add esp, 0x2c
jmp 0x41a6cf
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
xor ecx, esp
call fcn.0043a2e3
add esp, 0xf0
ret 4
Function at 0x41bc00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x54]
test eax, eax
push ebx
mov ebx, ecx
mov dword [esp + 4], ebx
je 0x41bd25
push ebp
push esi
push edi
lea esp, [esp]
push 0
push 0
push eax
mov eax, dword [ebx + 0x5c]
push eax
call fcn.0043f42f
push 0x4c
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.0043a0d0
mov edx, dword [ebx + 0x5c]
push edx
push 1
lea eax, [esp + 0x38]
push 0x4c
push eax
call fcn.0043f37b
add esp, 0x2c
test eax, eax
je 0x41bd22
cmp dword [ebx + 0x154], 0
jne 0x41bc73
lea edi, [ebx + 0x150]
mov ecx, 0x13
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41bd16
xor ecx, ecx
mov edi, eax
mov edx, 0x18
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041d9d6
mov esi, eax
add esp, 4
test esi, esi
je 0x41bcc1
lea eax, [edi - 1]
test eax, eax
jl 0x41bcbd
lea eax, [eax + eax*2 + 3]
add eax, eax
add eax, eax
add eax, eax
push eax
push 0
push esi
call fcn.0043a0d0
add esp, 0xc
mov ebp, esi
jmp 0x41bcc3
xor ebp, ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x5c]
lea edx, [eax + eax*2]
add edx, edx
push ecx
add edx, edx
push 1
add edx, edx
push edx
push ebp
call fcn.0043f37b
xor edi, edi
add esp, 0x10
cmp dword [esp + 0x18], edi
jbe 0x41bd0d
add ebx, 0x19c
mov esi, ebp
push esi
mov ecx, ebx
call fcn.0041bb70
mov ecx, dword [esi + 0x10]
add edi, 1
mov dword [eax], ecx
add esi, 0x18
cmp edi, dword [esp + 0x18]
jb 0x41bcf0
mov ebx, dword [esp + 0x10]
push ebp
call fcn.0041d9db
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41bc20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 4

Function at 0x41c041
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0x1c0], 0
call fcn.0041bad0
mov ebx, dword [esp + 0x10]
push 0x460484
push ebx
call fcn.0043df8b
mov edi, eax
add esp, 8
test edi, edi
jne 0x41c074
pop edi
pop esi
xor al, al
pop ebx
ret 4
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41c080
sub eax, edx
push eax
push ebx
mov ecx, esi
call fcn.00401f40
push edi
push 1
lea ebx, [esi + 0x60]
push pe_nt_image_headers32
push ebx
mov dword [esi + 0x5c], edi
call fcn.0043f37b
add esp, 0x10
test eax, eax
je 0x41c06c
cmp dword [ebx], 1
jne 0x41c06c
lea eax, [esi + 0x90]
push eax
call fcn.00457837
add esp, 4
push pe_nt_image_headers32
mov ecx, esi
call fcn.0041bc00
pop edi
pop esi
mov al, 1
pop ebx
ret 4
Function at 0x41c2d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x459608
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x472cf0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
push edi
mov eax, dword [0x472cf0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
push 0
mov edi, ecx
mov ecx, dword [edi + 0x5c]
push 0
push eax
push ecx
call fcn.0043f42f
push 0xec
call fcn.0041d9ab
mov esi, eax
add esp, 0x14
test esi, esi
je 0x41c33a
push 0xec
push 0
push esi
call fcn.0043a0d0
add esp, 0xc
jmp 0x41c33c
xor esi, esi
mov edx, dword [edi + 0x5c]
push edx
push 1
push 0xec
push esi
call fcn.0043f37b
lea ecx, [esi + 0x24]
mov eax, ecx
add esp, 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
lea ebp, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x41c370
sub eax, ebp
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401f40
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x1a8]
mov dword [esp + 0x3c], 0
call fcn.0041c0e0
mov dword [eax], esi
mov eax, dword [esi + 4]
test eax, eax
je 0x41c3af
push eax
mov ecx, edi
call fcn.0041c2d0
mov esi, dword [esi + 0xc]
test esi, esi
je 0x41c3be
push esi
mov ecx, edi
call fcn.0041c2d0
cmp dword [esp + 0x28], 0x10
jb 0x41c3d2
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041d9db
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043a2e3
add esp, 0x2c
ret 4