joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425ee0
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x439b4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov eax, dword [esi + 4]
test eax, eax
jge 0x425f12
xor eax, eax
jmp 0x426089
mov ebp, dword [esp + 0x344]
test ebp, ebp
je 0x426019
lea ecx, [esp + 0xc]
call fcn.00425dd0
lea ecx, [esp + 0xc]
mov dword [esp + 0x33c], 0
call fcn.00425e20
test eax, eax
je 0x426005
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
push ebp
push 0x44bffc
lea ecx, [esp + 0x14]
inc esi
call fcn.00426110
test eax, eax
je 0x425f82
lea ecx, [esp + 0xc]
inc esi
call fcn.00425e90
push 0
call edi
push 0x3e8
call edi
push 0
call edi
cmp esi, 5
jg 0x425f87
jmp 0x425f4e
cmp esi, 5
jle 0x426001
mov ecx, dword [0x45626c]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x230]
push 0x104
push eax
push 0x12
push ecx
call esi
mov eax, dword [0x45626c]
lea edx, [esp + 0x12c]
push 0x104
push edx
push 0xc
push eax
call esi
push 0x3a98
lea ecx, [esp + 0x130]
push 0x10
lea edx, [esp + 0x238]
push ecx
push edx
push 0
call fcn.00429040
add esp, 0x14
lea ecx, [esp + 0xc]
call fcn.00425e90
lea ecx, [esp + 0xc]
mov dword [esp + 0x33c], 0xffffffff
call fcn.00425e00
xor eax, eax
jmp 0x426089
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0x33c], 0xffffffff
call fcn.00425e00
push ebp
mov word [esp + 0x1c], 2
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 0x1a], ax
lea eax, [esp + 0x28]
push 0x104
push eax
mov byte [esp + 0x30], 0
call fcn.00428d70
add esp, 8
test eax, eax
je 0x426063
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x426063
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.WSOCK32.dll_inet_addr]
jmp 0x42606b
push 0
call dword [sym.imp.WSOCK32.dll_htonl]
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push 0x10
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_bind]
xor edx, edx
test eax, eax
setge dl
mov eax, edx
mov ecx, dword [esp + 0x334]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x334
ret 4
Function at 0x426110
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jge 0x426128
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 8], eax
push esi
mov dword [esp + 0x10], eax
mov word [esp + 0xc], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x426177
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x42611e
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
test eax, eax
jne 0x426171
pop edi
pop esi
add esp, 0x10
ret 8
mov edx, dword [eax]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.WSOCK32.dll_htons]
mov edx, dword [edi + 4]
lea ecx, [esp + 8]
push 0x10
push ecx
push edx
mov word [esp + 0x16], ax
call dword [sym.imp.WSOCK32.dll_connect]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
add esp, 0x10
ret 8

Function at 0x4261d0
Capabilities:
Set socket configuration

Disassembly:
push ecx
mov eax, dword [ecx + 4]
push edi
test eax, eax
mov dword [esp + 4], 1
jge 0x4261e6
xor eax, eax
pop edi
pop ecx
ret
push 0
push 0
push eax
call dword [sym.imp.WSOCK32.dll_accept]
mov edi, eax
test edi, edi
jge 0x4261fc
xor eax, eax
pop edi
pop ecx
ret
push esi
push 8
call fcn.0042fffb
add esp, 4
test eax, eax
je 0x42621d
mov ecx, eax
call fcn.00425dd0
mov esi, eax
test esi, esi
je 0x42621f
mov dword [esi + 4], edi
jmp 0x42622f
xor esi, esi
push 2
push edi
call dword [sym.imp.WSOCK32.dll_shutdown]
push edi
call dword [sym.imp.WSOCK32.dll_closesocket]
mov ecx, dword [esi + 4]
lea eax, [esp + 8]
push 4
push eax
push 1
push 6
push ecx
call dword [sym.imp.WSOCK32.dll_setsockopt]
mov eax, esi
pop esi
pop edi
pop ecx
ret

Function at 0x4262e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x14
lea eax, [esp]
lea edx, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push edx
push eax
mov dword [esp + 0xc], 0x10
call dword [sym.imp.WSOCK32.dll_getsockname]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
test eax, eax
jne 0x426313
mov eax, 0x4512f4
add esp, 0x14
ret

Function at 0x426320
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x14
lea eax, [esp]
lea edx, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push edx
push eax
mov dword [esp + 0xc], 0x10
call dword [sym.imp.WSOCK32.dll_getsockname]
push 2
lea ecx, [esp + 0xc]
push 4
push ecx
call dword [sym.imp.WSOCK32.dll_gethostbyaddr]
test eax, eax
je 0x426356
mov eax, dword [eax]
jmp 0x42635a
mov eax, dword [esp]
test eax, eax
jne 0x426363
mov eax, 0x4512f4
add esp, 0x14
ret
Function at 0x426470
Capabilities:
Set socket configuration

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x4264d6
cmp eax, 0xffffffff
je 0x4264d6
cmp byte [0x45ac18], 2
jb 0x4264d6
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.WSOCK32.dll_setsockopt]
lea edx, [esp + 0xc]
push 4
push edx
push 0x1006
push 0xffff
push eax
mov dword [esp + 0x20], ecx
call esi
cmp eax, 0xffffffff
je 0x4264d6
mov ecx, dword [edi + 4]
lea eax, [esp + 0xc]
push 4
push eax
push 0x1005
push 0xffff
push ecx
call esi
xor edx, edx
cmp eax, 0xffffffff
setne dl
pop edi
mov eax, edx
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x426d50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x1d0
mov al, byte [0x456160]
push esi
push edi
mov byte [esp + 0x5c], al
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0x5d]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xd8]
xor esi, esi
push ecx
stosb byte es:[edi], al
call fcn.00427cb0
add esp, 8
lea edx, [esp + 0xd4]
push 0x44b9c8
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0xd4]
push eax
call fcn.00427cf0
add esp, 4
test eax, eax
jne 0x426dbf
lea ecx, [esp + 0xd4]
push ecx
call fcn.00426f00
add esp, 4
mov edx, dword [0x44fe40]
lea eax, [esp + 0x5c]
push edx
push 0x4513f8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push 0x8001
mov dword [esp + 0x1c], 0x44
mov word [esp + 0x4c], 0xa
mov dword [esp + 0x48], 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [esp + 0x1dc]
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push 0x30
push 0
push 0
test eax, eax
push 0
jne 0x426e8d
lea eax, [esp + 0x7c]
lea ecx, [esp + 0xf4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x426e5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4513e0
call fcn.004243e0
add esp, 8
xor eax, eax
pop edi
pop esi
add esp, 0x1d0
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x426eed
cmp eax, 0xffffffff
je 0x426eed
mov edx, dword [esp + 0x10]
mov dword [0x45a6b8], eax
pop edi
mov dword [0x45a6bc], edx
mov eax, 1
pop esi
add esp, 0x1d0
ret
lea ecx, [esp + 0x7c]
lea edx, [esp + 0xf4]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x426ec4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4513c8
call fcn.004243e0
add esp, 8
xor eax, eax
pop edi
pop esi
add esp, 0x1d0
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x426eed
cmp eax, 0xffffffff
je 0x426eed
mov dword [0x45a6b8], eax
mov eax, dword [esp + 0x10]
mov dword [0x45a6bc], eax
pop edi
mov eax, 1
pop esi
add esp, 0x1d0
ret
mov eax, esi
pop edi
pop esi
add esp, 0x1d0
ret
Function at 0x426f00
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
mov eax, dword [0x45626c]
push ebx
push esi
push edi
push 0x4513fc
push 0x83
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x426f93
mov ecx, dword [0x45626c]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [0x45626c]
push esi
push edx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x426f93
mov eax, dword [esp + 0x14]
push 0
push 0
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
je 0x426f93
cmp edi, 0xffffffff
je 0x426f93
lea ecx, [esp + 0xc]
push 0
push ecx
push ebx
push esi
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x426f9a
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x427a00
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push edi
push 0x104
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
push 0x44fe6c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x118]
mov esi, dword [esp + 0x114]
mov ecx, dword [esp + 0x110]
lea edx, [esp + 8]
push edx
push eax
push esi
push 0x451418
push ecx
push 0x44fe44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x427a6c
cmp byte [esi], 0x2a
je 0x427a6c
mov edi, 1
push 0x451418
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x427a8b
mov edx, dword [esp + 0x11c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, edi
pop edi
pop esi
add esp, 0x104
ret
Function at 0x428070
Capabilities:
Create directory
Delete file
Get file size
Move file
Write file on windows

Disassembly:
mov eax, 0x1310
call fcn.00430790
push esi
push edi
lea eax, [esp + 0x214]
push 0x104
push eax
call fcn.00427cb0
add esp, 8
lea ecx, [esp + 0x318]
push 0x44fe78
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x131c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x318]
push edx
push eax
call esi
lea ecx, [esp + 0x318]
push 0x44bf74
push ecx
call esi
lea edx, [esp + 0x214]
lea eax, [esp + 0xc]
push edx
push 0x4517f4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0xc]
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x428148
lea edx, [esp + 0x214]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x428205
push 0
push 0x80
push 4
push 0
push 3
lea eax, [esp + 0x20]
push 0xc0000000
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x428205
push ebx
push ebp
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x989680
jbe 0x4281ca
push esi
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x118]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x118]
push eax
call ebp
lea ecx, [esp + 0x118]
mov byte [esp + eax + 0x117], 0x5f
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x118]
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0
push 0x80
push 4
push 0
push 3
lea ecx, [esp + 0x28]
push 0xc0000000
push ecx
call edi
mov esi, eax
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x324]
push edx
push eax
call ebp
lea ecx, [esp + 0x328]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x1310
ret
Function at 0x428650
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x2c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 8]
push ecx
push 0x451820
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
test eax, eax
je 0x4286ad
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push ebx
push esi
push edi
call fcn.00423790
test eax, eax
jne 0x4286c0
call fcn.00428730
jmp 0x4286cd
mov eax, dword [esp + 0x24]
push 0
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call edi
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x428714
push 0
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push eax
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x428714
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], 0
test esi, esi
jne 0x42871c
call edi
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x428730
Capabilities:
Shutdown system

Disassembly:
push ebp
push edi
push 0x4451f4
mov edi, 0x15
call fcn.00427d30
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x42874d
pop edi
pop ebp
ret
push ebx
push esi
push 0x451854
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x428763
xor esi, esi
jmp 0x4287a7
push 1
push 1
push 0
push 0
push 0
call eax
mov esi, eax
test esi, esi
jne 0x4287a7
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push esi
push 6
mov edi, eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov esi, eax
test esi, esi
jne 0x428792
call ebx
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call ebx
push 0x1f4
call ebx
push 0
call ebx
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
jne 0x4287ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x4287e1
push 0
call ebx
push 0
push 0x451844
call fcn.004243e0
add esp, 8
push edi
call ebx
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret
push edi
push 0x451834
call fcn.004243e0
add esp, 8
push edi
call ebx
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x428830
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov eax, 0x425c
call fcn.00430790
push ebx
push ebp
push esi
push edi
mov ecx, 0x1056
xor eax, eax
lea edi, [esp + 0x114]
mov esi, 0x456278
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4270]
mov ecx, 0xf8d
mov dword [esp + 0x21c], eax
mov eax, 1
lea edi, [esp + 0x334]
mov dword [esp + 0x220], eax
mov dword [esp + 0x224], eax
push 0x104
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x11c]
xor ebp, ebp
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x118]
push 0x44fe6c
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x45186c
call fcn.00427d30
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4288fa
push 0x451878
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4288f3
lea ecx, [esp + 0x114]
push ecx
call eax
test eax, eax
je 0x4288f3
mov ecx, 0xf8d
lea esi, [esp + 0x334]
mov edi, 0x456278
mov ebp, 1
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [esp + 0x10]
push 0x457358
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x104
lea eax, [esp + 0x14]
push 0x457358
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x425c
ret

Function at 0x428930
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4158
call fcn.00430790
push ebx
push ebp
push esi
push edi
mov ecx, 0x1056
xor eax, eax
lea edi, [esp + 0x10]
mov esi, 0x456278
rep stosd dword es:[edi], eax
mov ecx, 0xf8d
lea edi, [esp + 0x230]
lea eax, [esp + 0x14]
push 0x104
rep movsd dword es:[edi], dword [esi]
push eax
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x14]
push 0x44fe6c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x45186c
call fcn.00427d30
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4289cd
push 0x451888
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4289c6
lea edx, [esp + 0x10]
push edx
call eax
test eax, eax
je 0x4289c6
mov ecx, 0xf8d
lea esi, [esp + 0x230]
mov edi, 0x456278
mov ebp, 1
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x4158
ret
Function at 0x4289e0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4158
call fcn.00430790
push ebx
push esi
push edi
mov ecx, 0x1056
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
xor ebx, ebx
mov ecx, 0xf8d
mov esi, 0x456278
lea edi, [esp + 0x22c]
lea eax, [esp + 0x10]
mov dword [esp + 0x118], 1
mov dword [esp + 0x11c], 1
mov dword [esp + 0x120], ebx
push 0x104
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
push 0x44fe6c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x45186c
call fcn.00427d30
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x428a86
push 0x451898
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x428a7f
lea edx, [esp + 0xc]
push edx
call eax
test eax, eax
je 0x428a7f
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x4158
ret

Function at 0x428aa0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4158
call fcn.00430790
push ebx
push ebp
push esi
push edi
mov ecx, 0x1056
xor eax, eax
lea edi, [esp + 0x10]
xor ebp, ebp
rep stosd dword es:[edi], eax
mov eax, 1
mov ecx, 0xf8d
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov esi, 0x456278
lea edi, [esp + 0x230]
lea eax, [esp + 0x14]
mov dword [esp + 0x124], ebp
push 0x104
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x14]
push 0x44fe6c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x45186c
call fcn.00427d30
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x428b57
push 0x4518ac
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x428b50
lea edx, [esp + 0x10]
push edx
call eax
test eax, eax
je 0x428b50
mov ecx, 0xf8d
lea esi, [esp + 0x230]
mov edi, 0x456278
mov ebp, 1
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x4158
ret
Function at 0x428b70
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov eax, 0x4360
call fcn.00430790
push ebx
push ebp
push esi
push edi
mov ecx, 0x1056
xor eax, eax
lea edi, [esp + 0x218]
mov esi, 0x456278
rep stosd dword es:[edi], eax
mov ecx, 0xf8d
lea edi, [esp + 0x438]
lea eax, [esp + 0x21c]
push 0x104
rep movsd dword es:[edi], dword [esi]
push eax
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x21c]
push 0x44fe6c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x45186c
call fcn.00427d30
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x428c29
push 0x45194c
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x428c14
lea edx, [esp + 0x218]
push edx
call eax
test eax, eax
je 0x428c14
mov ecx, 0xf8d
lea esi, [esp + 0x438]
mov edi, 0x456278
mov ebp, 1
rep movsd dword es:[edi], dword [esi]
jmp 0x428c87
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea eax, [esp + 0x14]
push 0x451904
push eax
jmp 0x428c3c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea ecx, [esp + 0x14]
push 0x4518bc
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call fcn.00423a50
test eax, eax
jne 0x428c77
mov eax, dword [0x456274]
test eax, eax
jne 0x428c77
push 0x1388
push 0x10010
lea edx, [esp + 0x18]
push 0x44e3b4
push edx
push 0
call fcn.00429040
add esp, 0x14
jmp 0x428c87
call esi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004243e0
add esp, 8
lea ecx, [esp + 0x114]
push 0x457358
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x104
lea edx, [esp + 0x118]
push 0x457358
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x4360
ret

Function at 0x428cd0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4158
call fcn.00430790
push ebx
push esi
push edi
mov ecx, 0x1056
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov ecx, 0xf8d
mov esi, 0x456278
lea edi, [esp + 0x22c]
lea eax, [esp + 0x10]
push 0x104
push eax
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
push 0x44fe6c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x45186c
call fcn.00427d30
mov esi, eax
add esp, 4
test esi, esi
je 0x428d59
push 0x451964
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x428d52
lea edx, [esp + 0xc]
push edx
call eax
test eax, eax
je 0x428d52
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x4158
ret
Function at 0x428d70
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4158
call fcn.00430790
push ebx
push esi
push edi
mov ecx, 0x1056
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov ecx, 0xf8d
mov esi, 0x456278
lea edi, [esp + 0x22c]
lea eax, [esp + 0x10]
push 0x104
push eax
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
push 0x44fe6c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x45186c
call fcn.00427d30
mov esi, eax
add esp, 4
test esi, esi
je 0x428e0f
push 0x45197c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x428e08
lea edx, [esp + 0xc]
push edx
call eax
test eax, eax
je 0x428e08
mov ecx, dword [esp + 0x4168]
lea eax, [esp + 0x124]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x4158
ret