joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c8a0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
lea esi, [eax + eax + 2]
push esi
call fcn.004520a2
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x42c8d1
pop edi
pop esi
xor edx, edx
pop ebp
add esp, 8
ret
push ebp
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x42c8f3
push ebp
call fcn.00451fb9
add esp, 4
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
add esp, 8
ret
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push 0x4695f4
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x42c920
push ebp
call fcn.00451fb9
add esp, 4
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
add esp, 8
ret
mov esi, dword [esp + 0x18]
push ebx
mov ecx, 0x10
mov eax, dword [esi + 8]
shr eax, 0x10
cdq
call fcn.00452b90
mov edi, eax
xor eax, eax
mov ax, word [esi + 8]
mov ebx, edx
cdq
or edi, eax
or ebx, edx
mov ecx, 0x10
mov eax, edi
mov edx, ebx
call fcn.00452b90
mov edi, eax
mov eax, dword [esi + 0xc]
shr eax, 0x10
mov ebx, edx
mov ecx, 0x10
cdq
or edi, eax
or ebx, edx
mov eax, edi
mov edx, ebx
call fcn.00452b90
mov edi, eax
xor eax, eax
mov ax, word [esi + 0xc]
mov ebx, edx
cdq
push ebp
or edi, eax
or ebx, edx
call fcn.00451fb9
add esp, 4
mov edx, ebx
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 8
ret

Function at 0x42c9a0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push edi
mov edi, dword [esp + 0x14]
push eax
push 0x475698
push 1
push 0
push 0x475688
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x42ca00
mov eax, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jl 0x42ca00
mov eax, dword [esp + 8]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x42ca0e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42ca1c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop edi
pop esi
add esp, 8
ret
Function at 0x42ccd0
Capabilities:
Create directory
Delete file
Get file size
Move file
Write file on windows

Disassembly:
mov eax, 0x1310
call fcn.004524d0
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x21c]
push 0x104
push eax
call fcn.0042b3a0
push 0x1000
lea ecx, [esp + 0x32c]
push 0x473558
push ecx
call fcn.0042f1a0
mov edx, dword [esp + 0x1338]
push 0x1000
lea eax, [esp + 0x338]
push edx
push eax
call fcn.0042f1f0
push 0x1000
lea ecx, [esp + 0x344]
push 0x46f06c
push ecx
call fcn.0042f1f0
add esp, 0x2c
lea edx, [esp + 0x21c]
lea eax, [esp + 0x14]
push edx
push 0x475a70
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x14]
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push ecx
call edi
mov esi, eax
test esi, esi
je 0x42cd80
cmp esi, 0xffffffff
jne 0x42cdc4
lea edx, [esp + 0x21c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x42ce93
push 0
push 0x80
push 4
push 0
push 3
lea eax, [esp + 0x28]
push 0xc0000000
push eax
call edi
mov esi, eax
test esi, esi
je 0x42ce93
cmp esi, 0xffffffff
je 0x42ce93
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, 0xffffffff
je 0x42ce5a
cmp eax, dword [0x485790]
jb 0x42ce5a
push esi
call ebx
lea ecx, [esp + 0x14]
push 0x104
lea edx, [esp + 0x11c]
push ecx
push edx
call fcn.0042f1a0
add esp, 0xc
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
test esi, esi
je 0x42ce93
cmp esi, 0xffffffff
je 0x42ce93
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 edi
pop esi
pop ebp
pop ebx
add esp, 0x1310
ret
Function at 0x42d460
Capabilities:
Connect network resource

Disassembly:
sub esp, 0x228
push esi
mov esi, dword [esp + 0x230]
test esi, esi
push edi
jne 0x42d481
pop edi
mov eax, 0x43
pop esi
add esp, 0x228
ret
cmp byte [esi], 0x5c
jne 0x42d48e
mov al, byte [esi + 1]
inc esi
cmp al, 0x5c
je 0x42d486
mov ecx, 8
xor eax, eax
lea edi, [esp + 8]
push 0x104
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x2c]
push 0x475c08
push eax
call fcn.0042f1a0
push 0x104
lea ecx, [esp + 0x38]
push esi
push ecx
call fcn.0042f1f0
push 0x104
lea edx, [esp + 0x44]
push 0x4695f4
push edx
call fcn.0042f1f0
push 0x104
lea eax, [esp + 0x50]
push 0x475c04
push eax
call fcn.0042f1f0
push 0x104
lea ecx, [esp + 0x5c]
push 0x475c00
push ecx
call fcn.0042f1f0
push 0x104
lea edx, [esp + 0x68]
push 0x475bfc
push edx
call fcn.0042f1f0
add esp, 0x48
lea eax, [esp + 0x28]
push 0x104
push 0x475bf8
push eax
call fcn.0042f1f0
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
add esp, 0xc
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], 0
push 0
mov dword [esp + 0x20], ecx
call esi
mov edi, dword [esp + 0x238]
mov edx, dword [esp + 0x23c]
push 0
push edi
lea eax, [esp + 0x10]
push edx
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
jne 0x42d5a8
push eax
call esi
lea ecx, [esp + 0x28]
push edi
push ecx
lea edx, [esp + 0x134]
push 0x475b90
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x13c]
push 0
push eax
call fcn.00446e00
add esp, 0x18
push 0
call esi
pop edi
xor eax, eax
pop esi
add esp, 0x228
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x28]
push edi
push ecx
lea edx, [esp + 0x134]
push 0x475b2c
push edx
mov esi, eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x13c]
push esi
push eax
call fcn.00446e00
add esp, 0x18
mov eax, esi
pop edi
pop esi
add esp, 0x228
ret
Function at 0x42d7f0
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 0x475c7c
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
test eax, eax
je 0x42d84d
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.004455e0
test eax, eax
jne 0x42d860
call fcn.0042d8d0
jmp 0x42d86d
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 0x42d8b4
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 0x42d8b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], 0
test esi, esi
jne 0x42d8bc
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 0x42d8d0
Capabilities:
Shutdown system

Disassembly:
push ebx
push edi
push 1
push 0x4672e8
mov edi, 0x15
call fcn.0042b430
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x42d8ef
pop edi
pop ebx
ret
push esi
push 0x475cb0
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42d904
xor esi, esi
jmp 0x42d94a
push 1
push 1
push 0
push 0
push 0
call eax
mov esi, eax
test esi, esi
jne 0x42d94a
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
push esi
push 6
mov edi, eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov esi, eax
test esi, esi
jne 0x42d934
call ebp
mov edi, eax
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call ebp
push 0x1f4
call ebp
push 0
call ebp
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
jne 0x42d95d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x42d983
push 0
call ebx
push 0
push 0x475ca0
call fcn.00446e00
add esp, 8
push edi
call ebx
mov eax, esi
pop esi
pop edi
pop ebx
ret
push edi
push 0x475c90
call fcn.00446e00
add esp, 8
push edi
call ebx
mov eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x42d9a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x210
push ebx
push esi
push edi
mov ecx, 0xb
mov esi, 0x475cd8
lea edi, [esp + 0x118]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x220]
mov ecx, 0x35
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x10], eax
xor eax, eax
lea edi, [esp + 0x145]
lea edx, [esp + 0x118]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
stosw word es:[edi], ax
push ecx
push edx
push reloc.WSOCK32.dll_bind
xor ebx, ebx
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x42da73
mov eax, dword [0x475cc8]
mov ecx, dword [0x475ccc]
mov edx, dword [0x475cd0]
mov dword [esp + 0x14], eax
mov al, byte [0x475cd4]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x20], al
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0x21]
mov dword [esp + 0x1c], edx
push 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 4
stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x42da6c
call fcn.00445b80
test eax, eax
je 0x42da90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x475d2c
jmp 0x42da88
mov ebx, 1
jmp 0x42da90
call fcn.00445b80
test eax, eax
je 0x42da90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x475d08
call fcn.00446e00
add esp, 8
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42da9f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x210
ret
Function at 0x42dab0
Capabilities:
Delete registry value
Get common file path
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x20c
call fcn.00445820
test eax, eax
je 0x42dacb
mov eax, 1
add esp, 0x20c
ret
push ebp
push esi
push edi
mov ecx, 0xb
mov esi, 0x475dc4
lea edi, [esp + 0x114]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x35
xor eax, eax
lea edi, [esp + 0x142]
xor ebp, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov al, byte [0x481910]
mov ecx, 0x40
mov byte [esp + 0x10], al
xor eax, eax
lea edi, [esp + 0x11]
mov dword [esp + 0xc], ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0xf003f
stosb byte es:[edi], al
call fcn.0042b620
test eax, eax
push 0x104
je 0x42db36
lea ecx, [esp + 0x14]
push ecx
call fcn.0042b660
add esp, 8
jmp 0x42db41
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call ebx
cmp byte [esp + eax + 0x13], 0x5c
je 0x42db6d
push 0x104
lea ecx, [esp + 0x18]
push 0x4695f4
push ecx
call fcn.0042f1f0
add esp, 0xc
push 0x104
lea edx, [esp + 0x18]
push 0x46dda4
push edx
call fcn.0042f1f0
mov edi, dword [esp + 0x22c]
add esp, 0xc
test edi, edi
je 0x42db94
mov esi, 0x20006
lea eax, [esp + 0x10]
lea ecx, [esp + 0x118]
push eax
push esi
push 0
push ecx
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
je 0x42dbce
call fcn.00445b80
test eax, eax
je 0x42dc39
push esi
push 0x475da4
call fcn.00446e00
add esp, 8
jmp 0x42dc39
lea edx, [esp + 0x14]
push edx
call ebx
inc eax
test edi, edi
jne 0x42dbec
mov eax, dword [esp + 0x10]
push 0x475d90
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x42dc06
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 1
push 0
push 0x475d90
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x42dc34
cmp esi, 2
je 0x42dc39
call fcn.00445b80
test eax, eax
je 0x42dc39
test edi, edi
mov eax, 0x475d70
jne 0x42dc28
mov eax, 0x475d50
push esi
push eax
call fcn.00446e00
add esp, 8
jmp 0x42dc39
mov ebp, 1
mov eax, dword [esp + 0x10]
pop ebx
test eax, eax
je 0x42dc49
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x20c
ret
Function at 0x42dcd0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4378
call fcn.004524d0
push ebx
push ebp
push esi
push edi
mov ecx, 0x109d
xor eax, eax
lea edi, [esp + 0x114]
mov ebx, 1
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x438c]
mov ecx, 0xfd4
mov esi, 0x481aa0
lea edi, [esp + 0x334]
mov dword [esp + 0x21c], eax
mov dword [esp + 0x220], ebx
mov dword [esp + 0x224], ebx
push 0x104
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x11c]
xor ebp, ebp
push ecx
call fcn.0042b910
push 0x104
lea edx, [esp + 0x124]
push 0x469570
push edx
call fcn.0042f1f0
push ebx
push 0x475fe4
call fcn.0042b430
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x42dd9e
push 0x475ff0
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42dd97
lea ecx, [esp + 0x114]
push ecx
call eax
test eax, eax
je 0x42dd97
mov ecx, 0xfd4
lea esi, [esp + 0x334]
mov edi, 0x481aa0
mov ebp, 1
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x104
lea edx, [esp + 0x14]
push 0x482b88
push edx
call fcn.0042f1a0
add esp, 0xc
lea eax, [esp + 0x10]
push 0x104
push 0x482b88
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jbe 0x42ddd5
cmp eax, 0x104
jbe 0x42dde7
push 0x104
push 0x482b88
call fcn.0042b3a0
add esp, 8
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x4378
ret
Function at 0x42e040
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x447c
call fcn.004524d0
push ebx
push ebp
push esi
push edi
mov ecx, 0x109d
xor eax, eax
lea edi, [esp + 0x218]
mov esi, 0x481aa0
rep stosd dword es:[edi], eax
mov ecx, 0xfd4
lea edi, [esp + 0x438]
lea eax, [esp + 0x21c]
push 0x104
rep movsd dword es:[edi], dword [esi]
push eax
xor ebp, ebp
call fcn.0042b910
push 0x104
lea ecx, [esp + 0x228]
push 0x469570
push ecx
call fcn.0042f1f0
push 1
push 0x475fe4
call fcn.0042b430
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x42e0e9
push 0x47610c
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42e0e9
lea edx, [esp + 0x218]
push edx
call eax
test eax, eax
je 0x42e0e9
mov ecx, 0xfd4
lea esi, [esp + 0x438]
mov edi, 0x481aa0
mov ebp, 1
rep movsd dword es:[edi], dword [esi]
jmp 0x42e155
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
push esi
je 0x42e102
lea eax, [esp + 0x14]
push 0x4760bc
push eax
jmp 0x42e10c
lea ecx, [esp + 0x14]
push 0x476070
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call fcn.00445b80
test eax, eax
jne 0x42e147
mov eax, dword [0x481a98]
test eax, eax
jne 0x42e147
push 0x1388
push 0x10010
lea edx, [esp + 0x18]
push 0x474e90
push edx
push 0
call fcn.0042f2f0
add esp, 0x14
jmp 0x42e155
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00446e00
add esp, 8
push 0x482b88
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 3
jge 0x42e185
call fcn.004455e0
test eax, eax
je 0x42e175
push 0x476058
jmp 0x42e17a
push 0x47603c
push 0x482b88
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x104
lea ecx, [esp + 0x118]
push 0x482b88
push ecx
call fcn.0042f1a0
add esp, 0xc
lea edx, [esp + 0x114]
push 0x104
push 0x482b88
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jbe 0x42e1c2
cmp eax, 0x104
jbe 0x42e1d4
push 0x104
push 0x482b88
call fcn.0042b3a0
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x447c
ret
Function at 0x42f660
Capabilities:
Get common file path

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 ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 7], 0x5c
je 0x42f6a3
push 0x104
lea edx, [esp + 0xc]
push 0x4695f4
push edx
call fcn.0042f1f0
add esp, 0xc
push 0x104
lea eax, [esp + 0xc]
push 0x473c88
push eax
call fcn.0042f1f0
add esp, 0xc
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x42f6f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
add esp, 0x104
ret
push 0x476570
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42f710
mov edx, dword [esp + 0x110]
push 1
push edx
call eax
test eax, eax
jne 0x42f718
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
add esp, 0x104
ret

Function at 0x42f740
Capabilities:
Get common file path

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 ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 7], 0x5c
je 0x42f783
push 0x104
lea edx, [esp + 0xc]
push 0x4695f4
push edx
call fcn.0042f1f0
add esp, 0xc
push 0x104
lea eax, [esp + 0xc]
push 0x473c88
push eax
call fcn.0042f1f0
add esp, 0xc
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42f7ee
push 0x476590
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42f7d4
mov edx, dword [esp + 0x110]
push edx
call eax
test eax, eax
jne 0x42f7dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x104
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
add esp, 0x104
ret
Function at 0x430110
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
or edi, 0xffffffff
push eax
mov dword [esp + 0x14], edi
call fcn.0042fcd0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
mov ebx, 1
push 0
call esi
push 0xa
call esi
cmp dword [esp + 0x10], edi
jne 0x43015c
lea ecx, [esp + 0x10]
push ecx
call fcn.0042fcd0
add esp, 4
mov edx, ebx
inc ebx
cmp edx, 0xa
jle 0x430139
lea eax, [esp + 0x14]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x13], 0x5c
je 0x430195
push 0x104
lea edx, [esp + 0x18]
push 0x4695f4
push edx
call fcn.0042f1f0
add esp, 0xc
push 0x104
lea eax, [esp + 0x18]
push 0x473c88
push eax
call fcn.0042f1f0
add esp, 0xc
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
jne 0x430207
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea edx, [esp + 0x11c]
push 0x476718
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call esi
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.00446e00
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret
push 0x473c54
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x430243
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea ecx, [esp + 0x11c]
push 0x473c30
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call esi
lea edx, [esp + 0x118]
push eax
push edx
jmp 0x4301f2
mov ecx, dword [esp + 0x220]
mov edx, dword [esp + 0x10]
push ecx
push edx
call eax
mov edi, eax
test edi, edi
jne 0x430284
mov eax, ebx
inc ebx
cmp eax, 0x32
jge 0x43027e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x43027e
push 0
call esi
push 0x1f4
call esi
push 0
call esi
jmp 0x430258
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x4301fa
mov ecx, dword [esp + 0x220]
cmp dword [ecx], 0
je 0x4301fa
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20c
ret
Function at 0x430a50
Capabilities:
Create thread
Terminate thread

Disassembly:
sub esp, 0x14
lea eax, [esp + 4]
push esi
push eax
push 0
push 0
push 0x430a10
push 0
push 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0045233c
mov esi, eax
add esp, 0x18
test esi, esi
je 0x430aff
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push edi
mov dword [esp + 0x18], 0
mov edx, dword [ecx + 4]
mov edi, 3
test eax, eax
mov dword [esp + 0x10], edx
je 0x430ab1
mov eax, dword [eax]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
jmp 0x430aba
mov dword [esp + 0x14], esi
mov edi, 2
push 0xea60
lea ecx, [esp + 0x14]
push 0
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
dec edi
cmp eax, edi
pop edi
jne 0x430aef
lea edx, [esp + 4]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 4]
pop esi
add esp, 0x14
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 4]
pop esi
add esp, 0x14
ret