joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50ea00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x50ea14
xor eax, eax
jmp 0x50ea2f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053a3fe
add esp, 0x10
mov esp, ebp
pop ebp
ret 0xc

Function at 0x515b20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x515b44
cmp dword [edi + 0x54], 0
jne 0x515b44
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00520fbb
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00515ae1
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x51b637
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x51b67e
call fcn.00520fbb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x51b67e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x51b69a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0051b1af
mov esi, eax
test edi, edi
je 0x51b698
test ebx, ebx
je 0x51b698
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x51c4e2
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x57f996
call fcn.0053dabe
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x51c507
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x51c54d
lea ecx, [ebp - 0x10]
call fcn.00427e60
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051bd51
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040d8c0
mov eax, esi
call fcn.0053db96
ret 8
Function at 0x51fc35
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x51fc7d
call fcn.00520fbb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x51fc7d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x51fcc0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x51fca9
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x51fca9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x51fcbd
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x533f19
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xfd2698]
jne 0x533f23
repz ret
jmp fcn.00540b8c

Function at 0x54f98d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x54f9be
call fcn.0053a85b
mov dword [eax], esi
call fcn.0053a848
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.005347a7
add esp, 0x14
push 0x16
pop eax
jmp 0x54fa13
test dword [ebp + 0xc], 0xfffffff9
jne 0x54f99a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x54f9eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0053a86e
pop ecx
call fcn.0053a848
mov eax, dword [eax]
jmp 0x54fa13
test al, 0x10
jne 0x54fa11
test al, 1
je 0x54fa11
test byte [ebp + 0xc], 2
je 0x54fa11
call fcn.0053a85b
mov dword [eax], 5
call fcn.0053a848
mov dword [eax], 0xd
jmp 0x54f9e2
xor eax, eax
pop esi
pop ebp
ret

Function at 0x5543a0
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.0053f7f5
and dword [ebp - 4], 0
cmp dword [0x1030ccc], 0
mov ebx, eax
jne 0x554451
push 0xfab974
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x554502
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xfab968
push edi
call esi
test eax, eax
je 0x554502
push eax
call fcn.0053f783
mov dword [esp], 0xfab958
push edi
mov dword [0x1030ccc], eax
call esi
push eax
call fcn.0053f783
mov dword [esp], 0xfab944
push edi
mov dword [0x1030cd0], eax
call esi
push eax
call fcn.0053f783
mov dword [esp], 0xfab928
push edi
mov dword [0x1030cd4], eax
call esi
push eax
call fcn.0053f783
pop ecx
mov dword [0x1030cdc], eax
test eax, eax
je 0x554451
push 0xfab910
push edi
call esi
push eax
call fcn.0053f783
pop ecx
mov dword [0x1030cd8], eax
mov eax, dword [0x1030cd8]
cmp eax, ebx
je 0x5544a9
cmp dword [0x1030cdc], ebx
je 0x5544a9
push eax
call fcn.0053f7fe
push dword [0x1030cdc]
mov esi, eax
call fcn.0053f7fe
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5544a9
test edi, edi
je 0x5544a9
call esi
test eax, eax
je 0x5544a0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5544a0
test byte [ebp - 0xc], 1
jne 0x5544a9
or dword [ebp + 0x10], 0x200000
jmp 0x5544e2
mov eax, dword [0x1030cd0]
cmp eax, ebx
je 0x5544e2
push eax
call fcn.0053f7fe
pop ecx
test eax, eax
je 0x5544e2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5544e2
mov eax, dword [0x1030cd4]
cmp eax, ebx
je 0x5544e2
push eax
call fcn.0053f7fe
pop ecx
test eax, eax
je 0x5544e2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1030ccc]
call fcn.0053f7fe
pop ecx
test eax, eax
je 0x554502
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x554504
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x563120
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x5632ca
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x563178
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x56318b
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x56319f
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x5631e6.3
jmp 0x5631b0
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x5631bc
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x5631c1
mov esi, 1
inc eax
cmp eax, edi
jl 0x5631b0
cmp si, cx
je case.0x5631e6.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x5631e6.3
movzx eax, byte [eax + 0x5632e4]
jmp dword [eax*4 + 0x5632d0]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x5631e6.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x563200
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x5631e6.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x563240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x5631e6.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x563266
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x5631e6.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, pe_nt_image_headers32
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x563290
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x569390
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
mov eax, dword [0xfd2698]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
cmp eax, 3
jne 0x56941a
movzx eax, word [esi + 0x118]
test ax, ax
jne 0x5693c6
test byte [esi + 0x230], 1
jne 0x5693ee
movzx cx, byte [edi]
cmp cx, ax
jbe 0x5693ee
push 0xfb01c0
push esi
call fcn.0055c990
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00533f19
add esp, 0xc
ret
mov dl, byte [edi]
push 1
lea eax, [esp + 0xc]
push eax
push 0xfae448
push esi
mov byte [esp + 0x18], dl
call fcn.00568570
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00533f19
add esp, 0xc
ret
test al, 2
je 0x5694ae
movzx ecx, word [edi + 2]
push ecx
lea edx, [esp + 0xc]
push edx
call fcn.00567580
movzx eax, word [edi + 4]
push eax
lea ecx, [esp + 0x16]
push ecx
call fcn.00567580
movzx edx, word [edi + 6]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00567580
add esp, 0x18
cmp byte [esi + 0x127], 8
jne 0x569488
mov cl, byte [esp + 0xc]
or cl, byte [esp + 0xa]
or cl, byte [esp + 8]
je 0x569488
push 0xfb0180
push esi
call fcn.0055c990
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00533f19
add esp, 0xc
ret
push 6
lea edx, [esp + 0xc]
push edx
push 0xfae448
push esi
call fcn.00568570
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00533f19
add esp, 0xc
ret
mov cl, byte [esi + 0x127]
movzx eax, word [edi + 8]
mov edx, 1
shl edx, cl
cmp eax, edx
jl 0x5694e2
push 0xfb0140
push esi
call fcn.0055c990
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00533f19
add esp, 0xc
ret
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00567580
push 2
lea ecx, [esp + 0x14]
push ecx
push 0xfae448
push esi
call fcn.00568570
mov ecx, dword [esp + 0x28]
add esp, 0x18
pop edi
pop esi
xor ecx, esp
call fcn.00533f19
add esp, 0xc
ret
Function at 0x56ce60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x24]
push ebp
push esi
mov ebp, dword [edi + 0x34]
sub ebp, dword [edi + 0x6c]
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x24]
lea edx, [ebx + ecx - 0x106]
sub ebp, eax
cmp eax, edx
jb 0x56cede
mov eax, dword [edi + 0x30]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.005347e0
mov edx, dword [edi + 0x44]
mov eax, dword [edi + 0x3c]
sub dword [edi + 0x68], ebx
sub dword [edi + 0x64], ebx
add esp, 0xc
sub dword [edi + 0x54], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x56ceb1
sub eax, ebx
jmp 0x56ceb3
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x56cea2
mov ecx, dword [edi + 0x38]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x56ced2
sub eax, ebx
jmp 0x56ced4
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x56cec3
add ebp, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x56cf39
mov edx, dword [edi + 0x6c]
add edx, dword [edi + 0x64]
mov ecx, ebp
add edx, dword [edi + 0x30]
push edx
call fcn.0056cb60
add dword [edi + 0x6c], eax
mov edx, dword [edi + 0x6c]
add esp, 4
cmp edx, 3
jb 0x56cf25
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x50]
mov dword [edi + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x4c]
mov dword [edi + 0x40], eax
cmp edx, 0x106
jae 0x56cf39
mov edx, dword [edi]
cmp dword [edx + 4], 0
jne 0x56ce66
pop esi
pop ebp
pop ebx
ret
Function at 0x56e390
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x56e3aa
pop edi
lea eax, [esi + 1]
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x56e4ba
push ebp
jmp 0x56e3c0
mov eax, ebx
cmp ebx, 0x15b0
jb 0x56e3cf
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x56e47b
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x56e3f0
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x56e3f0
test eax, eax
je 0x56e48d
nop
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
sub eax, 1
jne 0x56e480
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x56e3c0
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret
Function at 0x404a40
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
test eax, eax
mov esi, dword [esp + 0x20]
jne 0x404a57
jmp 0x404aa1
mov eax, dword [eax + 4]
test eax, eax
je 0x404aa1
movzx ebx, byte [eax + 0xd]
and ebx, 0x7f
cmp ebx, esi
jne 0x404a50
test ecx, ecx
jne 0x404ab0
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x404a50
movzx ebx, word [edx + 0x14]
cmp bx, word [edx + 0x16]
jae 0x404ac1
lea edi, [ebx + 1]
shl ebx, 4
add ebx, dword [edx]
mov word [edx + 0x14], di
mov edi, dword [eax + 8]
mov dword [ebx], edi
mov edi, dword [eax + 0xc]
mov dword [ebx + 4], edi
mov edi, dword [eax + 0x10]
mov dword [ebx + 8], edi
mov edi, dword [eax + 0x14]
mov dword [ebx + 0xc], edi
mov eax, dword [eax + 4]
test eax, eax
jne 0x404a57
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov edi, dword [eax + 8]
test edi, edi
je 0x404a50
movzx ebx, word [edx + 0x14]
cmp bx, word [edx + 0x16]
jb 0x404a77
mov dword [esp], str.No_room_to_merge_symbol_interpretations_n
call fcn.0041adb0
mov dword [esp + 0x20], str.Symbol_interpretations_lost_n
add esp, 0x10
pop ebx
pop esi
pop edi
jmp fcn.0041ab00
Function at 0x414020
Capabilities:
Enumerate files on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4140ba
movzx eax, byte [esi]
cmp al, 0x3f
je 0x414151
test al, al
je 0x414151
cmp al, 0x2a
je 0x414160
mov edx, esi
xor ebx, ebx
add edx, 1
movzx ecx, byte [edx]
cmp cl, 0x3f
je 0x41407a
test cl, cl
je 0x41407a
cmp cl, 0x2a
je 0x4140c3
cmp esi, edx
je 0x414051
cmp cl, 0x2f
cmove ebx, edx
add edx, 1
movzx ecx, byte [edx]
cmp cl, 0x3f
jne 0x41405c
test cl, cl
jne 0x4140c3
xor ebx, ebx
xor edi, edi
test esi, esi
je 0x414138
mov dword [esp + 4], 0x28
mov dword [esp], esi
call sub.msvcrt.dll_strchr
test eax, eax
je 0x414120
mov dword [esp], str.Files_maps_to_list_must_have_the_form_file_map__n
call fcn.0041ac30
mov dword [esp], str.Illegal_specifier_ignored_n
call fcn.0041ab00
add esp, 0x10
xor eax, eax
pop ebx
pop esi
pop edi
ret
test ebx, ebx
je 0x414160
mov byte [ebx], 0
add ebx, 1
je 0x41407e
mov dword [esp + 4], 0x2f
mov dword [esp], ebx
call sub.msvcrt.dll_strchr
test eax, eax
je 0x414080
mov byte [eax], 0
add eax, 1
mov edi, eax
je 0x414082
mov dword [esp + 4], 0x28
mov dword [esp], ebx
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x4140a2
mov dword [esp + 4], 0x29
mov dword [esp], ebx
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x4140a2
jmp 0x414082
mov dword [esp + 4], 0x29
mov dword [esp], esi
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x4140a2
mov dword [esp + 0x20], 0
add esp, 0x10
mov ecx, edi
mov edx, ebx
mov eax, esi
pop ebx
pop esi
pop edi
jmp fcn.00413d20
test al, al
je 0x41407e
lea esi, [esi]
mov ebx, esi
xor esi, esi
jmp 0x4140d3
Function at 0x41ab00
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [0x44a1fc]
test eax, eax
je 0x41ab1e
mov edx, dword [0x44a20c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_fputs
mov eax, dword [0x44a20c]
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], 0x43b847
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [0x44a20c]
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
mov eax, dword [0x44a20c]
mov dword [esp], eax
call sub.msvcrt.dll_fflush
add esp, 0x1c
ret

Function at 0x41ab80
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [0x44a208]
test eax, eax
jne 0x41abae
mov eax, dword [0x44a204]
test eax, eax
je 0x41abae
mov dword [esp + 8], eax
mov eax, dword [0x44a20c]
mov dword [esp + 4], 0x43b85a
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [0x44a1fc]
test eax, eax
je 0x41abc9
mov edx, dword [0x44a20c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_fputs
mov eax, dword [0x44a20c]
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.Warning:
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [0x44a20c]
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
mov eax, dword [0x44a20c]
mov dword [esp], eax
call sub.msvcrt.dll_fflush
add dword [0x44a208], 1
add esp, 0x1c
ret

Function at 0x41ac30
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [0x44a208]
test eax, eax
jne 0x41ac5e
mov eax, dword [0x44a204]
test eax, eax
je 0x41ac5e
mov dword [esp + 8], eax
mov eax, dword [0x44a20c]
mov dword [esp + 4], 0x43b85a
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [0x44a1fc]
test eax, eax
je 0x41ac79
mov edx, dword [0x44a20c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_fputs
mov eax, dword [0x44a20c]
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.Error:
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [0x44a20c]
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
mov eax, dword [0x44a20c]
mov dword [esp], eax
call sub.msvcrt.dll_fflush
add dword [0x44a208], 1
add esp, 0x1c
ret
Function at 0x41ace0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [0x44a208]
test eax, eax
jne 0x41ad0e
mov eax, dword [0x44a204]
test eax, eax
je 0x41ad0e
mov dword [esp + 8], eax
mov eax, dword [0x44a20c]
mov dword [esp + 4], 0x43b85a
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [0x44a1fc]
test eax, eax
je 0x41ad29
mov edx, dword [0x44a20c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_fputs
mov eax, dword [0x44a20c]
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.Fatal_Error:
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [0x44a20c]
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
mov eax, dword [0x44a20c]
mov dword [esp + 8], 0x1a
mov dword [esp + 4], 1
mov dword [esp], str.__________________Exiting_n
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [0x44a20c]
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov dword [esp], 1
add dword [0x44a208], 1
call sub.msvcrt.dll_exit

Function at 0x41adb0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [0x44a208]
test eax, eax
jne 0x41adde
mov eax, dword [0x44a204]
test eax, eax
je 0x41adde
mov dword [esp + 8], eax
mov eax, dword [0x44a20c]
mov dword [esp + 4], 0x43b85a
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [0x44a1fc]
test eax, eax
je 0x41adf9
mov edx, dword [0x44a20c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_fputs
mov eax, dword [0x44a20c]
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.Internal_error:
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [0x44a20c]
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
mov eax, dword [0x44a20c]
mov dword [esp], eax
call sub.msvcrt.dll_fflush
add dword [0x44a208], 1
add esp, 0x1c
ret