joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4037e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x67
mov dword [ebp - 8], 0x26
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call fcn.00401060
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
fild qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
call sub.MSVCR90.dll_sin
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
fild qword [ebp - 0x18]
fcompp
fnstsw ax
test ah, 5
jp 0x403852
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x403854
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4038e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x18
mov dword [ebp - 8], 0xa3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call fcn.00401060
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
fild qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
call sub.MSVCR90.dll_sin
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
fild qword [ebp - 0x18]
fcompp
fnstsw ax
test ah, 5
jp 0x403952
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x403954
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403a90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x42
mov dword [ebp - 8], 0x97
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x403aea
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x403aec
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403ba0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xb5
mov dword [ebp - 8], 0x7a
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x403bfa
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x403bfc
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403d30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
je 0x403d51
cmp dword [ebp - 4], 4
je 0x403d51
cmp dword [ebp - 4], 8
je 0x403d51
jmp 0x403d64
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x403d6a
xor eax, eax
jmp 0x403d6a
mov esp, ebp
pop ebp
ret
Function at 0x403de0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call dword [sym.imp.MSVCR90.dll_rand]
cdq
mov ecx, 3
idiv ecx
add edx, 1
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
jmp 0x403e13
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jge 0x403e31
call dword [sym.imp.MSVCR90.dll_rand]
cdq
idiv dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea edx, [ecx + edx + 1]
mov dword [ebp - 4], edx
jmp 0x403e0a
cmp dword [ebp - 4], 0
jge 0x403e48
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x403e4a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403fb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x42
mov dword [ebp - 8], 0x6a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call fcn.00401060
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
fild qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
call sub.MSVCR90.dll_sin
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
fild qword [ebp - 0x18]
fcompp
fnstsw ax
test ah, 5
jp 0x404028
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x40402a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404170
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x43
mov dword [ebp - 8], 0xbf
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x4041ca
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x4041cc
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4042b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x32
mov dword [ebp - 8], 0x98
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x40430a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, 1
jmp 0x40430c
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x404310
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 3
mov dword [ebp - 8], 0x49
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x40436a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x40436c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4043c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x1d
mov dword [ebp - 8], 0xda
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x404420
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x404422
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404430
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x43
mov dword [ebp - 8], 0x48
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call fcn.00401060
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
fild qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
call sub.MSVCR90.dll_sin
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
fild qword [ebp - 0x18]
fcompp
fnstsw ax
test ah, 5
jp 0x4044a2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, 1
jmp 0x4044a4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404620
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xe1
mov dword [ebp - 8], 0xba
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x40467a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x40467c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404700
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 6
mov dword [ebp - 8], 0xc7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x40475a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x40475c
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4048a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 8
mov dword [ebp - 8], 0xfe
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x4048fa
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x4048fc
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404900
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x25
mov dword [ebp - 8], 0x36
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call fcn.00401060
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
fild qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
call sub.MSVCR90.dll_sin
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
fild qword [ebp - 0x18]
fcompp
fnstsw ax
test ah, 5
jp 0x404972
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x404974
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404980
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xe1
mov dword [ebp - 8], 0x2e
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x4049da
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, 1
jmp 0x4049dc
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404b90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xdb
mov dword [ebp - 8], 0x58
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x404bea
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x404bec
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x404c40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x9d
mov dword [ebp - 8], 0xcd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call fcn.00401060
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
fild qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
call sub.MSVCR90.dll_sin
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
fild qword [ebp - 0x18]
fcompp
fnstsw ax
test ah, 5
jp 0x404cb8
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x404cba
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404cc0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x34
mov dword [ebp - 8], 0x1e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call fcn.00401060
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
fild qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
call sub.MSVCR90.dll_sin
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
fild qword [ebp - 0x18]
fcompp
fnstsw ax
test ah, 5
jp 0x404d32
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, 1
jmp 0x404d34
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404d60
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x3a
mov dword [ebp - 8], 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x404dba
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x404dbc
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404dc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x5b
mov dword [ebp - 8], 0xa4
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x404e1a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x404e1c
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x404ef0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0xc8
mov dword [ebp - 8], 0x90
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call fcn.00401060
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
fild qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
call sub.MSVCR90.dll_sin
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
fild qword [ebp - 0x18]
fcompp
fnstsw ax
test ah, 5
jp 0x404f62
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x404f64
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404f70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x2a
mov dword [ebp - 8], 2
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x404fd0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x404fd2
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x405060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x3a
mov dword [ebp - 8], 9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call fcn.00401060
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
fild qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
call sub.MSVCR90.dll_sin
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
fild qword [ebp - 0x18]
fcompp
fnstsw ax
test ah, 5
jp 0x4050d8
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x4050da
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4050e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x3d
mov dword [ebp - 8], 0x80
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x40513a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, 1
jmp 0x40513c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x405210
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
je 0x405231
cmp dword [ebp - 4], 4
je 0x405231
cmp dword [ebp - 4], 8
je 0x405231
jmp 0x405244
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x40524a
xor eax, eax
jmp 0x40524a
mov esp, ebp
pop ebp
ret
Function at 0x4052c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x16
mov dword [ebp - 8], 0x90
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x405320
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x405322
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x405390
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x7c
mov dword [ebp - 8], 0xa
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x4053ea
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x4053ec
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x405470
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xbc
mov dword [ebp - 8], 0xc9
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x4054ca
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, 1
jmp 0x4054cc
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x405540
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x15
mov dword [ebp - 8], 0xee
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call fcn.00401060
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
fild qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
call sub.MSVCR90.dll_sin
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
fild qword [ebp - 0x18]
fcompp
fnstsw ax
test ah, 5
jp 0x4055b8
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x4055ba
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x405640
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xc8
mov dword [ebp - 8], 4
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x40569a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x40569c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x405760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xf7
mov dword [ebp - 8], 0x1a
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x4057c0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x4057c2
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4057d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x85
mov dword [ebp - 8], 0xce
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call fcn.00401060
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
fild qword [ebp - 0x10]
sub esp, 8
fstp qword [esp]
call sub.MSVCR90.dll_sin
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
fild qword [ebp - 0x18]
fcompp
fnstsw ax
test ah, 5
jp 0x405842
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x405844
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x405d00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x7f
mov dword [ebp - 8], 0xff
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x10
mov dword [ebp - 4], ecx
push 0
call fcn.00401060
add esp, 4
push 0
push 0x63
push edx
push eax
call fcn.0045ade0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jbe 0x405d5a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, 1
jmp 0x405d5c
xor eax, eax
mov esp, ebp
pop ebp
ret