joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426db0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push edi
mov edi, dword [esp + 0x18]
movsx ebp, byte [edi]
mov al, byte [edi + 3]
add edi, 3
add ebp, 0x7fffffd0
cmp al, 0x5c
jne 0x426dce
inc edi
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push edi
push ebp
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x426e9a
mov al, byte [edi]
xor ebx, ebx
test al, al
push esi
mov esi, edi
je 0x426e20
movsx ecx, byte [esi]
push ecx
call fcn.00451f5f
add esp, 4
test eax, eax
je 0x426e0a
add esi, 2
jmp 0x426e17
cmp byte [esi], 0x5c
jne 0x426e16
lea ebx, [esi + 1]
mov esi, ebx
jmp 0x426e17
inc esi
cmp byte [esi], 0
jne 0x426df5
test ebx, ebx
jne 0x426e26
mov ebx, edi
mov edi, esi
jmp 0x426e3b
cmp byte [ebx], 0
jne 0x426e31
dec ebx
mov byte [ebx], 0
jmp 0x426e35
mov byte [ebx - 1], 0
cmp byte [edi], 0x5c
jne 0x426e3b
inc edi
lea edx, [esp + 0x1c]
push edx
push 0xf003f
push 0
push edi
push ebp
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
pop esi
je 0x426e5d
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push ebx
push edx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x426e8f
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x426eb0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
movsx ebx, byte [esi]
mov al, byte [esi + 3]
add esi, 3
add ebx, 0x7fffffd0
cmp al, 0x5c
push edi
jne 0x426ecc
inc esi
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push esi
push ebx
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x426f37
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.advapi32.dll_RegCloseKey]
push ecx
call ebp
mov edi, dword [sym.imp.advapi32.dll_RegDeleteKeyA]
push esi
push ebx
call edi
test eax, eax
je 0x427008
push 0x35
push 0x46064c
call fcn.00411150
add esp, 8
cmp eax, 2
je 0x426f29
push esi
push ebx
call edi
test eax, eax
jne 0x426f03
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov edx, dword [esp + 0x14]
push edx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov al, byte [esi]
xor ebp, ebp
test al, al
mov edi, esi
je 0x426f6c
movsx eax, byte [edi]
push eax
call fcn.00451f5f
add esp, 4
test eax, eax
je 0x426f56
add edi, 2
jmp 0x426f63
cmp byte [edi], 0x5c
jne 0x426f62
lea ebp, [edi + 1]
mov edi, ebp
jmp 0x426f63
inc edi
cmp byte [edi], 0
jne 0x426f41
test ebp, ebp
jne 0x426f72
mov ebp, esi
mov esi, edi
jmp 0x426f89
cmp byte [ebp], 0
jne 0x426f7f
dec ebp
mov byte [ebp], 0
jmp 0x426f83
mov byte [ebp - 1], 0
cmp byte [esi], 0x5c
jne 0x426f89
inc esi
mov edi, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push 0
push esi
push ebx
call edi
test eax, eax
je 0x426fcb
push 0x35
push 0x460614
call fcn.00411150
add esp, 8
cmp eax, 2
je 0x42701d
lea edx, [esp + 0x14]
push edx
push 0xf003f
push 0
push esi
push ebx
call edi
test eax, eax
jne 0x426fa3
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.advapi32.dll_RegDeleteValueA]
push ebp
push eax
call esi
test eax, eax
je 0x426ffd
push 0x35
push 0x460630
call fcn.00411150
add esp, 8
cmp eax, 2
je 0x427012
mov ecx, dword [esp + 0x14]
push ebp
push ecx
call esi
test eax, eax
jne 0x426fdd
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x427cd0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x466e78]
sub esp, 8
test eax, eax
je 0x427cf8
push eax
call dword [sym.imp.user32.dll_DestroyWindow]
push 0
push 0x12
call fcn.00419d10
add esp, 8
mov eax, 1
add esp, 8
ret
push 1
push 0x12
call fcn.00419d10
push 0x13
call fcn.00419d00
add esp, 0xc
cmp eax, 0x186a0
mov dword [esp + 4], eax
jne 0x427d1e
mov dword [esp + 4], 0x80000000
push 0x14
call fcn.00419d00
add esp, 4
cmp eax, 0x186a0
mov dword [esp], eax
jne 0x427d3b
mov dword [esp], 0x80000000
push esi
push edi
push 0x15
call fcn.00419d00
mov edi, eax
add esp, 4
cmp edi, 0x186a0
jne 0x427d56
mov edi, 0x80000000
push 0x16
call fcn.00419d00
mov esi, eax
add esp, 4
cmp esi, 0x186a0
jne 0x427d6f
mov esi, 0x80000000
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00419d20
push 0x17
call fcn.00419d00
add esp, 0xc
cmp eax, 0x186a0
mov dword [0x466e6c], eax
jne 0x427d9e
mov dword [0x466e6c], 0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push 0
push edx
push 0
push 0
push esi
push edi
push eax
push ecx
push 0xff0000
push 0x4606fc
push 0x4606fc
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
push 5
push eax
mov dword [0x466e78], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov edx, dword [0x466e78]
push edx
call dword [sym.imp.user32.dll_UpdateWindow]
pop edi
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x42c400
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
push esi
lea eax, [esp + 4]
push eax
push 0x45c4f0
push 1
xor esi, esi
push esi
push 0x45c4e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42c4d0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x45c500
push eax
call dword [ecx]
test eax, eax
jl 0x42c4c6
mov edx, dword [esp + 0x224]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
test eax, eax
jl 0x42c4bc
mov edx, dword [esp + 0x220]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x42c4bc
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x42c4bc
mov ecx, dword [esp + 0x21c]
push 0x104
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
push ecx
push esi
push esi
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
mov edx, dword [eax]
push 1
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [edx + 0x18]
test eax, eax
jl 0x42c4bc
mov esi, 1
mov eax, dword [esp + 8]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop esi
add esp, 0x210
ret
Function at 0x42e7f0
Capabilities:
Log keystrokes via application hook

Disassembly:
push esi
push edi
call fcn.0042e7b0
mov eax, dword [0x468628]
mov esi, dword [sym.imp.user32.dll_GetWindowThreadProcessId]
push 0
push eax
call esi
mov ecx, dword [0x493e10]
mov edi, dword [sym.imp.user32.dll_SetWindowsHookExA]
push eax
push ecx
push 0x42e5f0
push 7
call edi
mov edx, dword [0x468628]
push 0
push edx
mov dword [0x467f04], eax
call esi
push eax
mov eax, dword [0x493e10]
push eax
push 0x42e6c0
push 2
call edi
pop edi
mov dword [0x467f08], eax
pop esi
ret
Function at 0x44e0f0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x467f98]
sub esp, 8
test eax, eax
je 0x44e118
push eax
call dword [sym.imp.user32.dll_DestroyWindow]
push 0
push 0xa
call fcn.00419d10
add esp, 8
mov eax, 1
add esp, 8
ret
push 1
push 0xa
call fcn.00419d10
push 0xb
call fcn.00419d00
add esp, 0xc
cmp eax, 0x186a0
mov dword [esp + 4], eax
jne 0x44e13e
mov dword [esp + 4], 0x80000000
push 0xc
call fcn.00419d00
add esp, 4
cmp eax, 0x186a0
mov dword [esp], eax
jne 0x44e15b
mov dword [esp], 0x80000000
push esi
push edi
push 0xd
call fcn.00419d00
mov edi, eax
add esp, 4
cmp edi, 0x186a0
jne 0x44e176
mov edi, 0x80000000
push 0xe
call fcn.00419d00
mov esi, eax
add esp, 4
cmp esi, 0x186a0
jne 0x44e18f
mov esi, 0x80000000
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00419d20
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add esp, 8
push 0
push edx
push 0
push 0
push esi
push edi
push eax
push ecx
push 0xff0000
push 0x46191c
push 0x46191c
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
push 5
push eax
mov dword [0x467f98], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov edx, dword [0x467f98]
push edx
call dword [sym.imp.user32.dll_UpdateWindow]
pop edi
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x457875
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x465720
cmp edx, dword [eax]
je 0x457897
add eax, 8
inc ecx
cmp eax, 0x4657b0
jl 0x457888
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x465720]
jne 0x4579c5
mov eax, dword [0x467fc8]
cmp eax, 1
je 0x45799f
test eax, eax
jne 0x4578c8
cmp dword [0x4634b4], 1
je 0x45799f
cmp edx, 0xfc
je 0x4579c5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4578ff
lea eax, [ebp - 0x1a4]
push 0x45c97c
push eax
call fcn.00458360
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00456a80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x457942
lea eax, [ebp - 0x1a4]
push eax
call fcn.00456a80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x45c978
push edi
call fcn.004533f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x45c95c
push eax
call fcn.00458360
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00458370
lea eax, [ebp - 0xa0]
push 0x45c958
push eax
call fcn.00458370
push dword [esi + 0x465724]
lea eax, [ebp - 0xa0]
push eax
call fcn.00458370
push 0x12010
lea eax, [ebp - 0xa0]
push 0x45c930
push eax
call fcn.00459924
add esp, 0x2c
pop edi
jmp 0x4579c5
lea eax, [ebp + 8]
lea esi, [esi + 0x465724]
push 0
push eax
push dword [esi]
call fcn.00456a80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xa1
mov dword [ebp - 8], 0x7e
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 0x40105a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x40105c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x6d
mov dword [ebp - 8], 0xa5
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 0x4010f8
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x4010fa
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4011e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xe3
mov dword [ebp - 8], 0xa0
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 0x40123a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x40123c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401340
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x14
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 0x4013b2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, 1
jmp 0x4013b4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401bf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push str.faed8369ecbf26b51bbfc53d5
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
push 0
push str.45154fa7cb377791
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 5
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x4028c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xda
mov dword [ebp - 8], 0x50
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 0x40291a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, 1
jmp 0x40291c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x402980
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xc1
mov dword [ebp - 8], 0x34
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 0x4029da
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x4029dc
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x402b40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x10
mov dword [ebp - 8], 0x85
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 0x402b9a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, 1
jmp 0x402b9c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x402c20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xcd
mov dword [ebp - 8], 0xde
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 0x402c80
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x402c82
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402d10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0xc1
mov dword [ebp - 8], 0x68
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 0x402d88
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x402d8a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x402ed0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x9c
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 0x402f2a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x402f2c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x402fb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xa9
mov dword [ebp - 8], 0xcf
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 0x403010
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x403012
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x7b
mov dword [ebp - 8], 0x31
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 0x4030f8
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x4030fa
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x403100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x8e
mov dword [ebp - 8], 0xec
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 0x403178
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x40317a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403320
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xa
mov dword [ebp - 8], 0x1b
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 0x40337a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, 1
jmp 0x40337c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403380
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x9d
mov dword [ebp - 8], 0xb6
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 0x4033f2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, 1
jmp 0x4033f4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403460
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x76
mov dword [ebp - 8], 0x1b
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 0x4034ba
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x4034bc
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x403530
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0xdb
mov dword [ebp - 8], 0xd6
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 0x4035a2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, 1
jmp 0x4035a4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4035b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x47
mov dword [ebp - 8], 0x6b
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 0x403622
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x403624
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403630
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0x71
mov dword [ebp - 8], 0x59
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 0x4036a2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, 1
jmp 0x4036a4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403770
Capabilities:
Write file on windows

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 0x403791
cmp dword [ebp - 4], 4
je 0x403791
cmp dword [ebp - 4], 8
je 0x403791
jmp 0x4037aa
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
jmp 0x4037b0
xor eax, eax
jmp 0x4037b0
mov esp, ebp
pop ebp
ret