joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cb00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4727a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004152e0
mov eax, dword [esi]
mov dword [esp + 0x38], 0
test eax, eax
jne 0x41cb55
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.00415380
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push eax
mov eax, dword [esi + 0xc]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x6c697331
lea ecx, [esp + 8]
push 0x48a004
push ecx
call fcn.00416930
add esp, 0xc
lea ecx, [esp + 4]
push 0
call fcn.00416510
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_RemovePropW]
lea ecx, [esp + 4]
mov dword [esi], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x421440
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x472d18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.004152e0
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [esp + 0x3c], 0
call edi
call edi
push eax
call fcn.00416e30
add esp, 4
lea ecx, [esp + 8]
push eax
call fcn.00415970
lea ecx, [esp + 8]
call fcn.00415c60
lea ecx, [esp + 8]
call fcn.00415c00
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.00421360
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x422440
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test al, 1
je 0x422450
xor eax, eax
pop esi
ret 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
and al, 0xfd
push 0
or al, 1
push 0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [esi], ecx
push 0
push 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 4], edx
call fcn.0043a300
lea eax, [esi + 0x34]
push eax
push 0
push esi
push 0x422380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x30], eax
jne 0x4224a6
mov eax, dword [esi + 0xc]
and al, 0xfe
mov dword [esi + 0xc], eax
xor eax, eax
pop esi
ret 0xc
mov eax, 1
pop esi
ret 0xc

Function at 0x4224b0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test al, 1
je 0x4224d9
and al, 0xfe
push 0
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
lea ecx, [esi + 0x18]
mov dword [esi + 8], 0
call fcn.0043a450
pop esi
ret
Function at 0x4225d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call edi
mov ebx, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
push ebx
cmp esi, 0xffffffff
jne 0x4225ff
call edi
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
call edi
mov eax, esi
pop edi
not al
and eax, 0xff
pop esi
shr eax, 4
and eax, 1
pop ebx
ret 4

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

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call edi
mov ebx, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
push ebx
cmp esi, 0xffffffff
jne 0x42264f
call edi
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
call edi
mov eax, esi
pop edi
and eax, 0xff
pop esi
shr eax, 4
and eax, 1
pop ebx
ret 4
Function at 0x423470
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x423488
mov word [esi], ax
mov eax, dword [esp + 8]
push esi
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4234a9
push 0x48a7b0
push esi
call fcn.004621e6
add esp, 8
pop esi
ret 8

Function at 0x4234b0
Capabilities:
Create directory
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x472ec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.004152e0
mov eax, dword [esp + 0x50]
xor edi, edi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], edi
mov ebp, 1
call fcn.00415970
push 0x48a7cc
lea ecx, [esp + 0x18]
call fcn.00416340
cmp eax, ebp
jne 0x42350a
mov dword [esp + 0x10], 2
jmp 0x423523
push 2
push 0x48a7c4
lea ecx, [esp + 0x1c]
call fcn.00415a70
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x50]
push ecx
lea ecx, [esp + 0x18]
call fcn.00415970
inc ebx
lea ecx, [esp + 0x14]
push ebx
push 0x5c
call fcn.00416230
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42355b
push ebx
lea ecx, [esp + 0x18]
call fcn.00415cd0
jmp 0x423581
cmp dword [esp + 0x54], 1
je 0x423629
cmp ebp, 1
jne 0x423581
lea ecx, [esp + 0x14]
call fcn.00416550
mov edx, dword [esp + 0x10]
inc edx
cmp eax, edx
je 0x423624
push 0
lea ecx, [esp + 0x18]
call fcn.00416510
push 0
push 0
lea ecx, [esp + 0x1c]
call fcn.00416510
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4235cd
call esi
cmp eax, 0xb7
je 0x4235cd
push 0
lea ecx, [esp + 0x18]
call fcn.00416510
call esi
push 0
call esi
push eax
mov ecx, 0x49c560
call fcn.00433180
xor edi, edi
jmp 0x423618
push 0
lea ecx, [esp + 0x18]
call fcn.00416510
call esi
push 0
call esi
push eax
mov ecx, 0x49c560
call fcn.00433180
push 0
lea ecx, [esp + 0x18]
call fcn.00416510
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 2
lea ecx, [esp + 0x14]
or al, 0x20
push eax
push 0
call fcn.00416510
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, 1
cmp ebx, 0xffffffff
je 0x423629
xor ebp, ebp
jmp 0x42352d
mov edi, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x40]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
Function at 0x423860
Capabilities:
Check if file exists
Delete directory
Move file
Set file attributes

Disassembly:
sub esp, 0x39c
push esi
mov esi, dword [esp + 0x3a4]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x423894
mov eax, 1
pop esi
add esp, 0x39c
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4238ae
mov eax, 1
pop esi
add esp, 0x39c
ret 8
cmp dword [esp + 0x3a8], 1
jne 0x42391e
cmp eax, 0x91
je 0x4238c4
cmp eax, 0x20
jne 0x42391e
lea ecx, [esp + 0x20c]
call fcn.00434430
and eax, 1
xor ecx, ecx
or eax, ecx
je 0x4238ef
push 4
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop esi
add esp, 0x39c
ret 8
lea eax, [esp + 4]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x42391e
lea ecx, [esp + 4]
push 0x48a7fc
push ecx
push 0x48a7ec
push 0x48a7dc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
pop esi
add esp, 0x39c
ret 8

Function at 0x423930
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
pop esi
neg eax
ret 4

Function at 0x423960
Capabilities:
Check if file exists
Move file

Disassembly:
sub esp, 0x39c
push esi
mov esi, dword [esp + 0x3a4]
push esi
call fcn.00423930
cmp eax, 1
jne 0x423983
pop esi
add esp, 0x39c
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x42399d
mov eax, 1
pop esi
add esp, 0x39c
ret 8
cmp dword [esp + 0x3a8], 1
jne 0x423a25
cmp eax, 0x20
je 0x4239b1
cmp eax, 5
jne 0x423a25
lea ecx, [esp + 0x20c]
call fcn.00434430
and eax, 1
xor ecx, ecx
or eax, ecx
je 0x4239e3
push 4
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x423a25
mov eax, 1
pop esi
add esp, 0x39c
ret 8
lea eax, [esp + 4]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x423a25
push 0x48a7fc
lea ecx, [esp + 8]
push 0x488ee4
push ecx
push 0x48a814
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x423a25
mov eax, 1
pop esi
add esp, 0x39c
ret 8
xor eax, eax
pop esi
add esp, 0x39c
ret 8
Function at 0x423b50
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x1c], edi
jne 0x423b7c
push 0x1000
call fcn.00461d1b
add esp, 4
cmp eax, edi
mov dword [esi + 0x1c], eax
jne 0x423b7c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov ebp, dword [esp + 0x18]
push 0x49ce08
mov ecx, ebp
call fcn.00415950
mov dword [esp + 0x18], edi
xor ebx, ebx
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x423bbd
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi]
lea eax, [esp + 0x10]
push 0
push eax
push 0x1000
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423b72
mov eax, dword [esp + 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x423c8a
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x423bdd
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
movzx cx, byte [ecx + edx]
jmp 0x423be7
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
mov cx, word [eax + ecx]
cmp cx, word [esp + 0x20]
jne 0x423bf8
xor edx, edx
cmp ebx, 1
setne dl
mov ebx, edx
cmp cx, 0xa
je 0x423c03
cmp edi, 1
je 0x423c7d
mov eax, ecx
xor edi, edi
and eax, 0xffff
je 0x423c4f
cmp eax, 0xa
je 0x423c38
cmp eax, 0xd
je 0x423c22
push ecx
mov ecx, ebp
call fcn.00415780
jmp 0x423c4f
cmp ebx, 1
jne 0x423c31
push ecx
mov ecx, ebp
call fcn.00415780
jmp 0x423c4f
mov edi, 1
jmp 0x423c4f
cmp ebx, 1
jne 0x423c47
push ecx
mov ecx, ebp
call fcn.00415780
jmp 0x423c4f
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x1c]
test eax, eax
mov eax, dword [esi + 0x20]
jne 0x423c5d
inc eax
jmp 0x423c60
add eax, 2
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x20], eax
cmp eax, ecx
jb 0x423c71
mov dword [esi + 0x20], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x423b92
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov ecx, ebp
call fcn.00416550
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
pop ecx
ret 0xc

Function at 0x423cc0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edx, dword [ebp]
lea ecx, [esp + 0x20]
push eax
push ecx
push esi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
mov eax, dword [esp + 0x18]
jne 0x423d12
test eax, eax
je 0x423d03
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword [eax], ecx
pop ebp
mov eax, 1
pop ebx
ret 0x10
cmp dword [esp + 0x20], esi
je 0x423d73
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
test eax, eax
je 0x423d1f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x5aa
je 0x423d35
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
test esi, esi
jbe 0x423d73
cmp esi, 0x100000
mov edi, esi
jb 0x423d48
mov edi, 0x100000
mov eax, dword [ebp]
lea edx, [esp + 0x20]
push 0
push edx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x423d2c
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x423d2c
sub esi, eax
add ebx, 0x100000
test esi, esi
ja 0x423d39
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10
Function at 0x423d90
Capabilities:
Get file size

Disassembly:
mov ecx, dword [ecx]
sub esp, 8
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
add esp, 8
ret

Function at 0x424000
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x254
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push ebp
push esi
push edi
push 1
call ebx
mov ecx, dword [esp + 0x268]
mov ebp, eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], ebp
push eax
push ecx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x424062
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x42404b
cmp eax, 2
je 0x42404b
cmp eax, 0x12
jne 0x424050
mov esi, 1
push ebp
call ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 0xc
mov ebp, dword [esp + 0x270]
mov ebx, dword [esp + 0x26c]
test ebx, ebx
je 0x424087
lea edx, [esp + 0x14]
push ebp
push edx
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x42409c
jmp 0x42408c
mov esi, 1
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x424070
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 0xc
Function at 0x424ce0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
mov esi, ecx
xor edi, edi
mov eax, dword [esi]
push edi
push edi
push 0x130b
push eax
mov dword [esp + 0x20], edi
call ebp
lea ecx, [esp + 0x14]
mov ebx, eax
push edi
push ecx
push ebx
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.00424eb0
test byte [esi + 8], 2
mov eax, dword [esi + 0x14]
je 0x424d58
cmp eax, edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x424d2d
push 0
push eax
call edi
lea edx, [esp + 0x10]
lea ecx, [esi + 0x8c]
push edx
push ebx
call fcn.00433800
cmp eax, 1
jne 0x424d63
mov eax, dword [esp + 0x10]
test eax, eax
je 0x424d67
push 5
push eax
mov dword [esi + 0x14], eax
call edi
jmp 0x424e22
cmp eax, edi
je 0x424d63
push edi
push edi
push 0x10
push eax
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x14], 0
test ecx, ecx
je 0x424e26
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esi]
push edx
push eax
push ebx
push 0
call ecx
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
je 0x424e8c
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x424db6
push 0
push 0
push 0x10
push eax
call ebp
mov dword [esp + 0x10], 0
jmp 0x424e8c
mov cl, byte [esi + 8]
mov dword [esi + 0x14], eax
test cl, 4
jne 0x424e0f
mov ecx, dword [esi]
lea edi, [esi + 0x18]
push 0x48a8b8
push ecx
mov ecx, edi
call fcn.004332d0
mov ecx, edi
call fcn.00433580
mov ecx, edi
mov ebp, eax
call fcn.00433340
cmp ebp, 1
jne 0x424e05
mov edx, dword [esi + 0x14]
push 0
push edx
mov ecx, edi
call fcn.004332d0
push 6
mov ecx, edi
call fcn.00433470
mov ecx, edi
call fcn.00433340
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
test byte [esi + 8], 2
je 0x424e26
push eax
push ebx
lea ecx, [esi + 0x8c]
call fcn.00433750
mov eax, dword [esp + 0x10]
test eax, eax
je 0x424e8c
mov ecx, dword [esi]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi]
lea edx, [esp + 0x18]
push edx
push 0
push 0x1328
push eax
call ebp
mov edx, dword [esi]
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub ecx, eax
push 0x140
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x14]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x424ea7
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi]
push edx
push ecx
push ebx
push 2
call eax
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x425320
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
sub esp, 0x210
lea eax, [esp]
push esi
mov esi, dword [esp + 0x218]
push edi
push eax
mov eax, dword [esp + 0x22c]
push 0
push edx
push eax
push esi
call fcn.004258c0
mov edi, eax
test edi, edi
jne 0x42535a
pop edi
pop esi
add esp, 0x210
ret 0x10
mov eax, dword [esp + 0x220]
test eax, eax
jne 0x42537a
lea ecx, [esp + 0x10]
push 0x104
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4253a7
pop edi
xor eax, eax
pop esi
add esp, 0x210
ret 0x10
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push 0
push edx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x210
ret 0x10
Function at 0x4255a0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x4255c2
pop esi
pop ebx
add esp, 0xc
ret 0x10
push ebp
push edi
push esi
push 0x40
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x425709
push edi
push esi
push ebp
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x425702
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push 0x48a938
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x425649
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
push 0x4878c8
push edx
call fcn.00461ecf
mov ecx, dword [esp + 0x3c]
add esp, 0x10
test ecx, ecx
je 0x425631
mov eax, dword [esp + 0x20]
push eax
call fcn.00415510
push edi
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push 0x48a8ec
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4256a8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
push 0x4878c8
push edx
call fcn.00461ecf
mov ecx, dword [esp + 0x3c]
add esp, 0x10
test ecx, ecx
je 0x425631
mov eax, dword [esp + 0x20]
push eax
call fcn.00415510
push edi
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x48a2e4
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x425702
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x425702
cmp dword [esp + 0x10], 0x34
jne 0x425702
mov eax, dword [ecx + 0x10]
mov edx, dword [esp + 0x24]
shr eax, 0x10
mov dword [edx], eax
xor eax, eax
mov ax, word [ecx + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x425702
mov edx, dword [edx]
push eax
push edx
push 0x4878c8
push ecx
call fcn.00416930
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0x10
Function at 0x425720
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x47300b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.004152e0
mov ebx, dword [esp + 0x268]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x258], ebp
jne 0x425776
lea eax, [esp + 0x48]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
mov ecx, esi
call fcn.00425400
lea ebx, [esp + 0x48]
lea ecx, [esp + 0x18]
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebp
jne 0x4257a2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x258], 0xffffffff
call fcn.00415380
xor eax, eax
jmp 0x42586b
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebp
je 0x425855
push esi
push edi
push ebp
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42584e
mov edi, dword [esp + 0x264]
lea edx, [esp + 0x1c]
push edi
push 0x48a9bc
push edx
call fcn.00416930
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebp
lea ecx, [esp + 0x28]
call fcn.00416510
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x425806
mov edx, dword [esp + 0x10]
push edx
jmp 0x42583d
push edi
lea eax, [esp + 0x20]
push 0x48a984
push eax
call fcn.00416930
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push ebp
lea ecx, [esp + 0x28]
call fcn.00416510
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42584e
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [esp + 0x264]
call fcn.00415510
mov ebp, 1
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x258], 0xffffffff
call fcn.00415380
mov eax, ebp
mov ecx, dword [esp + 0x250]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24c
ret 0xc

Function at 0x425ef0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x4730c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.004152e0
mov edi, dword [esp + 0x48]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [esp + 0x40], 0
mov esi, 1
lea ecx, [esp + 0xc]
call fcn.00416590
push eax
push 0
lea ecx, [esp + 0x14]
call fcn.00416510
push eax
mov eax, esi
and eax, 0xffff
push 0x59
push eax
call ebx
lea ecx, [esp + 0xc]
call fcn.00415700
push edi
lea ecx, [esp + 0x10]
call fcn.00415ab0
test eax, eax
je 0x425f94
inc esi
cmp si, 0x7f
jb 0x425f2b
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.00415380
pop edi
pop esi
mov ax, 0x400
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x38]
mov ax, si
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x426040
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x4730e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.004152e0
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], ebx
call fcn.00416590
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00416510
push eax
mov eax, dword [esp + 0x5c]
neg eax
sbb eax, eax
push 0xf
and eax, 0xfffffc00
add eax, 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4260a9
lea ecx, [esp + 0xc]
call fcn.00415700
jmp 0x4260b7
push 0x48a1f0
lea ecx, [esp + 0x10]
call fcn.00415970
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
push ecx
push edx
push 0x48a2e8
push edi
call fcn.00416930
add esp, 0x10
lea ecx, [esp + 0xc]
call fcn.00416550
mov ecx, edi
call fcn.00416550
mov esi, eax
sub esi, 3
cmp esi, ebx
jle 0x426128
push ebp
mov ebp, 0xfffffffd
push 0
lea ecx, [esp + 0x14]
call fcn.00416510
push eax
push esi
mov ecx, edi
call fcn.00415da0
lea ecx, [esp + 0x10]
inc ebx
sub ebp, 3
call fcn.00416550
imul eax, ebx
mov esi, ebp
mov ecx, edi
sub esi, eax
call fcn.00416550
add esi, eax
test esi, esi
jg 0x4260f2
pop ebp
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10