joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1ea5ec0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x190a000]
push edi
or ebp, 0xffffffff
jmp 0x1ea5ee2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1ea5ee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ea5ed8
mov eax, 1
add ebx, ebx
jne 0x1ea5efb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1ea5f0c
jne 0x1ea5f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ea5f2b
dec eax
add ebx, ebx
jne 0x1ea5f18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1ea5ef0
add ebx, ebx
jne 0x1ea5f27
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1ea5f7d
xor ecx, ecx
sub eax, 3
jb 0x1ea5f43
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1ea5fb2
sar eax, 1
mov ebp, eax
jmp 0x1ea5f4e
add ebx, ebx
jne 0x1ea5f4e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ea5f1c
inc ecx
add ebx, ebx
jne 0x1ea5f5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ea5f1c
add ebx, ebx
jne 0x1ea5f69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1ea5f5e
jne 0x1ea5f7a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1ea5f5e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1ea5f9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1ea5f8e
jmp 0x1ea5ede
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1ea5f9c
add edi, ecx
jmp 0x1ea5ede
pop esi
mov edi, esi
mov ecx, 0x1d422
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1ea5fba
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1ea5fbf
lea edi, [esi + 0x1aa1000]
mov eax, dword [edi]
or eax, eax
je 0x1ea6027
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2efecec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2efee30]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1ea5fe5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2efee38]
or eax, eax
je 0x1ea6021
mov dword [ebx], eax
add ebx, 4
jmp 0x1ea6002
call dword [esi + 0x2efee34]
mov ebp, dword [esi + 0x2efee3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1ea605b
sub esp, 0xffffff80
jmp 0x905bb0

Function at 0x62c57ce6
Capabilities:
Hash data using murmur3

Disassembly:
pushfd
jmp 0x62c58458
inc esi
cmp di, 0x19ad
cmp ch, dl
add ecx, 0xb4ef8c86
mov byte [esp], dl
clc
mov byte [esp + 4], dh
jmp 0x62c594a0
rol ecx, 0xd
push 0x8ffeacf1
inc ecx
bt eax, ebp
add ecx, 0
mov byte [esp], al
call fcn.62c58af5
Function at 0x4010d0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x403ad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [esp + 0x58], esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
shr ecx, 0x10
test ch, 0x80
jne 0x40110a
mov edi, 1
cmp al, 4
jb 0x401113
mov ebx, 1
cmp edi, esi
jne 0x40112e
cmp ebx, esi
je 0x40112e
push str.COMMAND.COM__C_START
push str.CMD.EXE__C_START__B
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::Replace
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], 0x44
cmp ecx, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x40], esi
mov word [esp + 0x3e], si
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], esi
mov word [esp + 0x3c], 1
jne 0x40117d
mov dword [esp + 0x38], 1
mov word [esp + 0x3c], si
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x64]
push ecx
push esi
push eax
push 0x200
push esi
push esi
push esi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
mov dword [esp + 0x60], eax
pop ebx
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x54]
je 0x4011cd
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x50
ret
Function at 0x401fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x403857
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push 0x405038
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_1
mov ebx, 1
push str.SoftwarePdf995
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], ebx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
mov byte [esp + 0x3c], 2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4020a5
push edi
push 0x2710
mov dword [esp + 0x18], 0x2710
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x18]
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push esi
push ecx
push 0
push str.Path
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop edi
test eax, eax
push esi
je 0x402093
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x34]
add esp, 4
lea eax, [esp + 8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], ebx
jmp 0x4020b9
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x4020f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x403895
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.00401afa
mov dword [esp + 0x41c], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [esp + 0x10]
push ecx
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov edi, 0x40503c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x428]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 8], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x41c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x414]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x418
ret
Function at 0x4021c0
Capabilities:
Copy file
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4038db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebp
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.00401afa
mov dword [esp + 0x428], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [esp + 0x14]
push ecx
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov edi, str.pdf995
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
and ecx, 3
lea eax, [esp + 0x24]
rep movsb byte es:[edi], byte [esi]
push eax
call ebp
mov edi, str._res
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x24]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov edi, str.pdf995.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00401fb0
add esp, 4
lea ecx, [esp + 0x10]
push str.pdf995_respdf995.ini
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x434], 2
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x42c], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x428], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, dword [esp + 0x430]
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x428], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x428], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x420]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x420
ret
Function at 0x402380
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4038fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
lea eax, [esp + 4]
push edi
push eax
call fcn.00401fb0
add esp, 4
lea ecx, [esp + 8]
push str.pdf995_respdf995.ini
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x124], 0
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [esp + 0x14]
push 0x100
push eax
push 0x405090
push str.User_Mode
push str.Parameters
call esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
lea ecx, [esp + 0x10]
push ecx
call edi
add esp, 4
test eax, eax
je 0x40247c
lea edx, [esp + 0xc]
push edx
call fcn.004021c0
mov eax, dword [eax]
add esp, 4
push eax
lea eax, [esp + 0x14]
push 0x100
push eax
push 0x405074
push str.User_Mode
push str.Parameters
call esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
call edi
add esp, 4
mov dword [esp + 0x118], 0xffffffff
test eax, eax
lea ecx, [esp + 8]
je 0x40248b
call sub.MFC42.DLL_CString::CString
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
add esp, 0x114
ret
mov dword [esp + 0x118], 0xffffffff
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x110]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x233068d1
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..pdata_1
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x666f314f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x401000
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x430c20]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push esi
push 0x118
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00415130
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x401084
cmp dword [ebp - 0x7c], 5
mov eax, dword [ebp - 0x78]
jne 0x40106e
test eax, eax
jne 0x40105d
cmp word [ebp + 0x94], 4
jb 0x401084
inc esi
cmp eax, 2
jne 0x401064
push eax
pop esi
jae 0x40106b
cmp eax, 1
jne 0x401084
push 3
pop esi
cmp dword [ebp - 0x7c], 6
jne 0x401084
test eax, eax
jne 0x40107c
push 4
jmp 0x401083
cmp eax, 1
jne 0x401084
push 5
pop esi
mov ecx, dword [ebp + 0x9c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00412d47
add ebp, 0xa0
leave
ret
Function at 0x401a68
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x430c20]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.00415130
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0x401b1a
push edi
mov edi, str.golfinfo.ini
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x401ab3
sub eax, edx
sar eax, 1
je 0x401b19
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00412d56
push 0x42a868
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004132ab
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0x401b19
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.0041359e
push dword [ebp - 0x78]
call fcn.00413632
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.00412d47
add ebp, 0x198
leave
ret

Function at 0x401b33
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x430c20]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.00415130
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0x401c0e
push edi
mov edi, str.golfset.ini
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x401b82
sub eax, edx
sar eax, 1
je 0x401c0d
cmp dword [0x431fc0], 3
mov esi, 0x104
lea eax, [ebp - 0x74]
jne 0x401bbf
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push 0x42a870
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00412d56
add esp, 0xc
jmp 0x401bc7
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00412d56
push 0x42a868
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004132ab
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0x401c0d
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.0041359e
push dword [ebp - 0x78]
call fcn.00413632
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.00412d47
add ebp, 0x198
leave
ret
Function at 0x401c27
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x430c20]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00415130
add esp, 0xc
cmp dword [0x431fc0], 3
lea eax, [ebp - 0x20c]
jne 0x401c8d
push esi
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push 0x42a870
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00412d56
add esp, 0xc
pop esi
jmp 0x401c99
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x42a874
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x10
call fcn.00412d47
leave
ret

Function at 0x401e1d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x430c20]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x254], eax
xor eax, eax
push 0x206
mov word [ebp - 0x24c], ax
xor ebx, ebx
lea eax, [ebp - 0x24a]
push ebx
push eax
call fcn.00415130
add esp, 0xc
push 0x104
lea eax, [ebp - 0x24c]
push eax
mov dword [ebp - 0x250], ebx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea eax, [ebp - 0x250]
push eax
movzx eax, word [ebp - 0x24c]
sub eax, 0x41
push eax
call fcn.0040201b
pop ecx
pop ecx
xor eax, eax
cmp dword [ebp - 0x250], ebx
push 9
pop ecx
mov esi, str..PHYSICALDRIVE
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jl 0x401ef5
push 0xa
push 0xa
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x250]
call fcn.004143b8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x44]
push 0x14
push eax
call fcn.00412d56
add esp, 0x1c
push ebx
push ebx
push 3
push ebx
push 3
push connect
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
jne 0x401ef9
xor eax, eax
jmp 0x401f05
push dword [ebp - 0x254]
call fcn.00401d57
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412d47
leave
ret