joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4095b0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x427c58]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x4095f2
call edi
mov esi, eax
test esi, esi
je 0x4095dc
mov eax, 1
jmp 0x4095ed
call ebp
mov ebx, eax
test ebx, ebx
je 0x4096ff
mov eax, 2
mov dword [0x427c58], eax
cmp eax, 1
jne 0x409692
test esi, esi
jne 0x40960b
call edi
mov esi, eax
test esi, esi
je 0x4096ff
cmp word [esi], 0
mov eax, esi
je 0x409625
add eax, 2
cmp word [eax], 0
jne 0x409613
add eax, 2
cmp word [eax], 0
jne 0x409613
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x409684
push edi
call fcn.0040a070
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x409684
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x409676
push ebx
call fcn.0040a020
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x4096ff
test ebx, ebx
jne 0x4096a3
call ebp
mov ebx, eax
test ebx, ebx
je 0x4096ff
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x4096bb
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4096ab
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4096ab
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.0040a070
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4096dd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x409e40
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x425828
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x409e64
add eax, 8
inc ebp
cmp eax, 0x4258b8
jb 0x409e55
cmp ecx, dword [ebp*8 + 0x425828]
jne 0x40a00b
mov eax, dword [0x427af8]
cmp eax, 1
je 0x409fcd
test eax, eax
jne 0x409e90
cmp dword [0x425684], 1
je 0x409fcd
cmp ecx, 0xfc
je 0x40a00b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x409ecb
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x409f14
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x4242e0
add ebx, ecx
push ebx
call fcn.0040a8d0
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4242c0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x42582c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040a840
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x437fa0]
test eax, eax
je 0x409fde
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x409fe8
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x42582c]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x40b82d
Capabilities:
Enumerate pe sections

Disassembly:
push eax
push ebx
push ecx
push edx
mov edx, 0x463aa4
mov al, byte [edx]
cmp al, 0x18
jne 0x40b867
mov edx, dword [edx + 1]
cmp byte [edx], 0x20
jne 0x40b8b4
mov ecx, dword [edx + 1]
mov ebx, dword [ecx + 1]
mov eax, 0x463a9a
call fcn.004201aa
jne 0x40c0d6
mov eax, dword [eax + 6]
mov ebx, dword [ecx + 6]
mov dword [ebx], eax
add edx, 5
jmp 0x40b836
cmp al, 0x14
jne 0x40b8b4
pop edx
pop ecx
pop ebx
pop eax
ret
mov eax, 0x40
jmp fcn.00415a77

Function at 0x411aa9
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
push ecx
push esi
push edi
xor eax, eax
mov ecx, 0x28
mov dword [ecx*4 + 0x455f90], eax
dec ecx
jne 0x411ab5
mov dword [0x456028], 0x455f94
xor edx, edx
movzx ecx, word [0x463d62]
test ecx, ecx
je 0x411afa
cmp ecx, 0x94
ja 0x412f19
mov esi, 0x463d64
mov edi, 0x456027
mov al, byte [esi]
xor byte [edi], al
rol dl, 3
add dl, al
inc esi
dec edi
dec ecx
jne 0x411aec
call fcn.00419be5
mov ecx, eax
test ecx, ecx
je 0x411b3a
cmp ecx, 0x94
ja 0x412f19
call fcn.00419d81
mov edi, 0x455f94
call fcn.00419e34
jne 0x411b4d
cmp eax, 0xff
ja 0x412f28
xor byte [edi], al
inc edi
dec ecx
jne 0x411b1b
call fcn.00419ed2
jne 0x411b4d
mov ecx, 0x10000
call fcn.00411b57
dec ecx
jne 0x411b3f
pop edi
pop esi
pop ecx
pop ebx
pop eax
ret
call fcn.00411bd5
call fcn.00415c7f
call fcn.00411bd5
mov eax, 0x2e
jmp fcn.00415a77
call fcn.00411bd5

Function at 0x412009
Capabilities:
Hash data with crc32

Disassembly:
push eax
push ebx
cmp eax, 0xff
ja 0x412ec4
mov ebx, dword [0x456048]
xor eax, ebx
and eax, 0xff
shr ebx, 8
xor ebx, dword cs:[eax*4 + 0x411bf0]
mov dword [0x456048], ebx
pop ebx
pop eax
ret
mov eax, 0x2c
jmp fcn.00415a77
Function at 0x412cba
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
push ecx
push edx
push esi
push edi
cmp dword [0x4560d4], 0xffffffff
jne 0x412e4a
mov dword [0x4560d4], 0
mov ebx, 0x40
mov eax, dword [ebx + 0x4560f8]
mov ecx, eax
mov edx, eax
ror eax, 0x11
ror ecx, 0x13
shr edx, 0xa
xor eax, ecx
xor eax, edx
add eax, dword [ebx + 0x4560e4]
mov esi, eax
mov eax, dword [ebx + 0x4560c4]
mov ecx, eax
mov edx, eax
ror eax, 7
ror ecx, 0x12
shr edx, 3
xor eax, ecx
xor eax, edx
add eax, dword [ebx + 0x4560c0]
add eax, esi
mov dword [ebx + 0x456100], eax
add ebx, 4
cmp ebx, 0xfc
jbe 0x412cdc
mov ecx, 8
mov eax, dword [ecx*4 + 0x4560dc]
mov dword [ecx*4 + 0x4560a8], eax
dec ecx
jne 0x412d30
mov ebx, 0
mov esi, dword [0x4560bc]
mov ecx, esi
mov edx, esi
ror esi, 6
ror ecx, 0xb
ror edx, 0x19
xor esi, ecx
xor esi, edx
mov eax, dword [0x4560bc]
and eax, dword [0x4560c0]
mov ecx, eax
mov eax, dword [0x4560bc]
not eax
and eax, dword [0x4560c4]
xor eax, ecx
add eax, dword [0x4560c8]
add eax, dword cs:[ebx + 0x412a6c]
add eax, dword [ebx + 0x456100]
add esi, eax
mov edi, dword [0x4560ac]
mov ecx, edi
mov edx, edi
ror edi, 2
ror ecx, 0xd
ror edx, 0x16
xor edi, ecx
xor edi, edx
mov eax, dword [0x4560ac]
and eax, dword [0x4560b0]
mov ecx, eax
mov eax, dword [0x4560ac]
and eax, dword [0x4560b4]
xor ecx, eax
mov eax, dword [0x4560b0]
and eax, dword [0x4560b4]
xor eax, ecx
add edi, eax
mov eax, dword [0x4560c4]
mov dword [0x4560c8], eax
mov eax, dword [0x4560c0]
mov dword [0x4560c4], eax
mov eax, dword [0x4560bc]
mov dword [0x4560c0], eax
mov eax, dword [0x4560b8]
add eax, esi
mov dword [0x4560bc], eax
mov eax, dword [0x4560b4]
mov dword [0x4560b8], eax
mov eax, dword [0x4560b0]
mov dword [0x4560b4], eax
mov eax, dword [0x4560ac]
mov dword [0x4560b0], eax
lea eax, [edi + esi]
mov dword [0x4560ac], eax
add ebx, 4
cmp ebx, 0xfc
jbe 0x412d46
mov ecx, 8
mov eax, dword [ecx*4 + 0x4560a8]
add dword [ecx*4 + 0x4560dc], eax
dec ecx
jne 0x412e32
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
ret

Function at 0x412e4f
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
push ecx
push edx
mov eax, 1
call fcn.0041c2dc
call fcn.0041c37c
mov dword [0x463d64], esi
mov dword [0x463d68], edi
mov dword [0x463d6c], eax
mov dword [0x463d70], edx
mov ecx, 0x10
call fcn.00412b6c
movzx eax, byte [ecx + 0x463d63]
call fcn.00412c34
dec ecx
jne 0x412e83
call fcn.00412bba
mov ecx, 8
mov eax, dword [ecx*4 + 0x4560dc]
mov dword [ecx*4 + 0x463d60], eax
xor esi, eax
xchg edi, esi
dec ecx
jne 0x412e9c
mov word [0x463d62], 0x20
pop edx
pop ecx
pop ebx
pop eax
ret
Function at 0x41887b
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push eax
push ebx
push ecx
push edx
push esi
push edi
push ebp
mov ebx, dword [esi + 0x104]
shr ebx, 2
lea eax, [ebx + 6]
mov dword [esi + 0x100], eax
lea ebp, [eax*4 + 4]
lea edx, [esi + 0x108]
lea edi, [esi]
mov esi, ebx
xor ecx, ecx
mov ebx, dword [edx + ecx*4]
bswap ebx
mov dword [edi + ecx*4], ebx
inc ecx
cmp ecx, esi
jne 0x4188a7
mov eax, ecx
xor edx, edx
div esi
test edx, edx
jne 0x4188d6
rol ebx, 8
mov edx, 0x4185db
call fcn.00418a13
mov edx, 0x4187db
xor ebx, dword [edx + eax*4 - 4]
jmp 0x4188ea
cmp esi, 6
jbe 0x4188ea
cmp edx, 4
jne 0x4188ea
mov edx, 0x4185db
call fcn.00418a13
mov eax, ecx
sub eax, esi
xor ebx, dword [edi + eax*4]
mov dword [edi + ecx*4], ebx
inc ecx
cmp ecx, ebp
jne 0x4188b4
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
ret

Function at 0x418afd
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push edi
mov ebx, eax
xor ecx, ecx
mov esi, 4
rol ecx, 8
ror edx, 8
mov edi, 4
rol ebx, 8
rol edx, 8
mov al, bl
mov ah, dl
call fcn.00418b5c
xor cl, al
dec edi
jne 0x418b15
dec esi
jne 0x418b0a
mov eax, ecx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x418b33
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
push ecx
push edx
shl edx, 2
lea edx, [edx + esi]
lea ebx, [esi + 0xf0]
mov ecx, 4
mov eax, dword [ebx + ecx*4 - 4]
xor eax, dword [edx + ecx*4 - 4]
mov dword [ebx + ecx*4 - 4], eax
dec ecx
jne 0x418b48
pop edx
pop ecx
pop ebx
pop eax
ret

Function at 0x41aaa2
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push eax
push ebx
push ecx
push edx
cmp byte [esi + 0x2a], 0
je 0x41ab53
mov edx, dword [esi + 0x10]
mov dword [0x465d8c], edx
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0
push 0x465d8c
push dword [esi + 0xc]
push dword [esi + 8]
call sub.KERNEL32.dll_SetFilePointer
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
cmp eax, 0xffffffff
jne 0x41ab0e
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
call sub.KERNEL32.dll_GetLastError
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
sub eax, 1
jae 0x41c9ad
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0
push 0x465d8c
push ecx
push edx
push dword [esi + 8]
call sub.KERNEL32.dll_WriteFile
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c9ad
mov byte [esi + 0x28], 0
call fcn.0041c0fe
pop edx
pop ecx
pop ebx
pop eax
ret
call fcn.00415c7f
Function at 0x41ab58
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push eax
push edx
mov dword [0x465d8c], 0
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 1
push 0x465d8c
push 0
push dword [esi + 8]
call sub.KERNEL32.dll_SetFilePointer
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
cmp eax, 0xffffffff
jne 0x41abb8
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
call sub.KERNEL32.dll_GetLastError
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
sub eax, 1
jae 0x41c9ad
mov edx, dword [0x465d8c]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edx
xor eax, eax
cmp byte [esi + 0x2a], 1
je 0x41ac08
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0
push 0x465d8c
push eax
push edx
push dword [esi + 8]
call sub.KERNEL32.dll_ReadFile
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c9ad
mov eax, dword [0x465d8c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], 0
mov byte [esi + 0x28], 0
call fcn.0041c0fe
pop edx
pop eax
ret
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
call sub.KERNEL32.dll_GetLastError
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
cmp eax, 2
je 0x41ca37
cmp eax, 3
je 0x41ca41
cmp eax, 4
je 0x41ca23
cmp eax, 5
je 0x41c9fb
cmp eax, 0xe
je 0x41bf41
cmp eax, 0x70
je 0x41ca0f
and eax, 0xffff
add eax, 0x3e8
jmp fcn.00415a77
mov eax, 0x22
jmp fcn.00415a77
mov eax, 0x23
jmp fcn.00415a77
mov eax, 0x21
jmp fcn.00415a77
mov eax, 0x1f
jmp fcn.00415a77
mov eax, 0x20
jmp fcn.00415a77

Function at 0x41ac1e
Capabilities:
Check if file exists

Disassembly:
push eax
mov dword [0x465d8c], edx
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0
push 0x465d8c
push eax
push dword [esi + 8]
call sub.KERNEL32.dll_SetFilePointer
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
cmp eax, 0xffffffff
jne 0x41ac78
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
call sub.KERNEL32.dll_GetLastError
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
sub eax, 1
jae 0x41c9ad
pop eax
ret

Function at 0x41ae4d
Capabilities:
Check if file exists

Disassembly:
push eax
push ebx
push edx
push esi
call fcn.0041aefe
jne 0x41aedf
mov ebx, 0
cmp dword [0x46b0e0], 0x41a107
je 0x41ae7a
cmp esi, dword [0x463704]
jne 0x41ae7a
call fcn.0041a57b
cmp dword [0x46b0e8], fcn.0041a0d3
je 0x41ae93
cmp esi, dword [0x463708]
jne 0x41ae93
call fcn.0041a6e0
cmp dword [esi + 4], 1
jbe 0x41aee4
mov al, 0
xchg byte [esi + 0x28], al
cmp al, 1
jne 0x41aea7
call fcn.0041aaa2
mov dword [esi], 0
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push dword [esi + 8]
call sub.KERNEL32.dll_CloseHandle
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c985
mov edx, dword [esi + 0x20]
call fcn.0041bf4b
cmp al, al
pop esi
pop edx
pop ebx
pop eax
ret
mov dword [esi], 0
jne 0x41aedd
jmp 0x41aed5
Function at 0x41b00e
Capabilities:
Check if file exists

Disassembly:
push eax
push ebx
push edx
mov edx, eax
mov eax, dword [0x42fe50]
call fcn.0041af18
je 0x41b07c
mov ebx, 0x465d90
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0x2000
push ebx
push eax
call sub.KERNEL32.dll_GetModuleFileNameA
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c9ad
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0x1000
push edx
push 0xffffffffffffffff
push ebx
push 0
push 0
call sub.KERNEL32.dll_MultiByteToWideChar
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
jmp 0x41b0a8
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0x1000
push edx
push eax
call sub.KERNEL32.dll_GetModuleFileNameW
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c9ad
pop edx
pop ebx
pop eax
ret

Function at 0x41b607
Capabilities:
Check if file exists

Disassembly:
push eax
push ebx
push ecx
push edx
mov eax, 0x463d64
call fcn.0041af68
call fcn.0041afb5
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0
push 0
push 0x463d64
call fcn.004062ee
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
cmp eax, 0xffffffff
je 0x41c9ad
mov ebx, eax
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0x465d90
push 0
push 0
push ebx
call sub.KERNEL32.dll_GetFileTime
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c98f
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push ebx
call sub.KERNEL32.dll_CloseHandle
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c9ad
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0x465d98
push 0x465d90
call sub.KERNEL32.dll_FileTimeToLocalFileTime
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0x465d90
push 0x465d98
call sub.KERNEL32.dll_FileTimeToSystemTime
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c9ad
movzx eax, word [0x465d98]
movzx ebx, word [0x465d9a]
movzx ecx, word [0x465d9c]
movzx edx, word [0x465d9e]
call fcn.0040d9cd
mov esi, eax
movzx eax, word [0x465d96]
movzx ebx, word [0x465d92]
movzx ecx, word [0x465d90]
call fcn.0040d83f
mov edi, eax
cmp al, al
pop edx
pop ecx
pop ebx
pop eax
ret
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push ebx
call sub.KERNEL32.dll_CloseHandle
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
Function at 0x41b7e6
Capabilities:
Check if file exists

Disassembly:
push eax
push ebx
push ecx
push edx
push ebx
mov eax, esi
call fcn.0040da0f
cmp eax, 0x17
ja 0x41ca4b
mov word [0x465d98], ax
mov word [0x465d9a], bx
mov word [0x465d9c], cx
mov word [0x465d9e], dx
mov eax, edi
call fcn.0040d856
cmp ecx, 0x641
jb 0x41ca4b
mov word [0x465d96], ax
mov word [0x465d92], bx
mov word [0x465d90], cx
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0x465d98
push 0x465d90
call sub.KERNEL32.dll_SystemTimeToFileTime
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0x465d90
push 0x465d98
call sub.KERNEL32.dll_LocalFileTimeToFileTime
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c9ad
pop ebx
mov eax, 0x463d64
call fcn.0041af68
call fcn.0041afb5
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0
push 2
push 0x463d64
call fcn.004062ee
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
cmp eax, 0xffffffff
je 0x41c9ad
mov ebx, eax
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0x465d90
push 0x465d90
push 0x465d90
push ebx
call sub.KERNEL32.dll_SetFileTime
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c98f
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push ebx
call sub.KERNEL32.dll_CloseHandle
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c9ad
cmp al, al
pop edx
pop ecx
pop ebx
pop eax
ret

Function at 0x41b88a
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebx
push ecx
mov eax, 0x463d64
call fcn.0041af68
call fcn.0041afb5
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0
push 0
push 0x463d64
call fcn.004062ee
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
cmp eax, 0xffffffff
je 0x41c9ad
mov ebx, eax
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0x465d8c
push ebx
call sub.KERNEL32.dll_GetFileSize
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
cmp eax, 0xffffffff
jne 0x41b8f8
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
call sub.KERNEL32.dll_GetLastError
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
sub eax, 1
jae 0x41c98f
mov ecx, eax
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push ebx
call sub.KERNEL32.dll_CloseHandle
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c9ad
mov eax, ecx
mov edx, dword [0x465d8c]
cmp al, al
pop ecx
pop ebx
ret
Function at 0x41b95a
Capabilities:
Check if file exists

Disassembly:
push eax
push ebx
push ecx
push edx
push esi
mov esi, eax
mov dword [0x465d8c], edx
mov eax, 0x463d64
call fcn.0041af68
call fcn.0041afb5
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0
push 2
push 0x463d64
call fcn.004062ee
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
cmp eax, 0xffffffff
je 0x41c9ad
mov ebx, eax
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push 0
push 0x465d8c
push esi
push ebx
call sub.KERNEL32.dll_SetFilePointer
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
cmp eax, 0xffffffff
jne 0x41b9cb
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
call sub.KERNEL32.dll_GetLastError
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
sub eax, 1
jae 0x41c98f
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push ebx
call sub.KERNEL32.dll_SetEndOfFile
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c98f
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push ebx
call sub.KERNEL32.dll_CloseHandle
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
je 0x41c9ad
cmp al, al
pop esi
pop edx
pop ecx
pop ebx
pop eax
ret

Function at 0x41bf4b
Capabilities:
Check if file exists

Disassembly:
push eax
push ebx
push ecx
push edx
mov dword [0x46b038], esp
mov esp, dword [0x46b03c]
push edx
call sub.KERNEL32.dll_LocalFree
mov esp, dword [0x46b038]
pop edx
pop ecx
pop ebx
test eax, eax
jne 0x41c9ad
pop eax
ret