joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474620
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4dc
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
lea eax, [ebp - 0x4d0]
mov dword [ebp - 0x4d8], ecx
push eax
push 0x401160
push 1
xor esi, esi
mov edi, edx
push esi
push 0x4011b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4746eb
mov eax, dword [ebp - 0x4d0]
lea edx, [ebp - 0x4d4]
push edx
push 0x401180
push eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call eax
test eax, eax
js 0x4746dd
push dword [ebp - 0x4d8]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x4d4]
lea edx, [ebp - 0x214]
push esi
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
js 0x4746cf
mov eax, dword [ebp - 0x4d0]
lea edx, [ebp - 0x4cc]
push esi
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
mov ecx, 1
cmove esi, ecx
mov eax, dword [ebp - 0x4d4]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
mov eax, dword [ebp - 0x4d0]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x474706
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x474752
push 0x138
lea eax, [ebp - 0x27c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x474732
push dword [ebp + 8]
lea eax, [ebp - 0x27c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push edi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
test eax, eax
je 0x474752
lea eax, [ebp - 0x214]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
Function at 0x474830
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xce0
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x5f05e0
xor esi, esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4749f0
push edi
push 0x104
lea eax, [ebp - 0xacc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x28c]
push 0x5f05e0
push eax
call edi
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0x41f3e0
lea eax, [ebp - 0x4b4]
push eax
call edi
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x4b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 1
push 0x10
lea eax, [ebp - 0x6bc]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x271d
push dword [0x5f0394]
call dword [sym.imp.USER32.dll_LoadStringW]
push 2
lea eax, [ebp - 0xce0]
push eax
lea eax, [ebp - 0x8c4]
push eax
lea eax, [ebp - 0x6bc]
push eax
push 0x5f05e0
call dword [sym.imp.SHELL32.dll_SHGetNewLinkInfoW]
test eax, eax
jne 0x474912
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xcd8]
push eax
push 0x401160
push 1
push 0
push 0x4011b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4749de
mov eax, dword [ebp - 0xcd8]
lea edx, [ebp - 0xcdc]
push edx
push 0x401180
push eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call eax
test eax, eax
js 0x4749d0
lea eax, [ebp - 0x8c4]
push eax
lea eax, [ebp - 0xcd4]
push eax
call edi
mov eax, dword [ebp - 0xcd8]
lea edx, [ebp - 0xacc]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [ebp - 0xcd8]
lea edx, [ebp - 0x4b4]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [ebp - 0xcd8]
lea edx, [ebp - 0x84]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [ebp - 0xcdc]
lea edx, [ebp - 0xcd4]
push 1
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
mov ecx, 1
mov eax, dword [ebp - 0xcdc]
cmovns esi, ecx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0xcd8]
push ecx
mov edx, dword [ecx]
mov ecx, dword [edx + 8]
call ecx
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
Function at 0x474c00
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x474c49
push 0x200
push 0x2b4
push esi
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
mov ecx, dword [ebp + 8]
mov esi, eax
add ecx, 0xc
push ecx
jmp 0x474c7c
push 0x210
push 0x2b4
push esi
push 0x80
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
call edi
cmp eax, esi
jge 0x474c9c
push 0x104
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x474cb0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, ecx
push edi
push ebx
xor edi, edi
call esi
test eax, eax
jne 0x474ce5
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
push 8
lea eax, [ebp - 0x14]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x474d05
mov eax, 0x27
mov word [ebp - 0x14], ax
push ebx
call esi
lea eax, [ebx + eax*2]
push eax
push ebx
call dword [sym.imp.USER32.dll_CharPrevW]
mov esi, eax
cmp esi, ebx
je 0x474d59
nop dword [eax]
inc edi
cmp edi, 3
jne 0x474d4b
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [esi + 2]
push esi
push eax
call fcn.005830d0
mov ax, word [ebp - 0x14]
add esp, 0xc
mov word [esi], ax
push esi
push ebx
call dword [sym.imp.USER32.dll_CharPrevW]
mov esi, eax
cmp esi, ebx
jne 0x474d20
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
Function at 0x474ef0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x848
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10000
push 0x40
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push 0x5e8d50
push esi
mov dword [ebp - 0x848], esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
shr eax, 1
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor edi, edi
cmp dword [ebx + 0x204], edi
jle 0x474f9b
lea esi, [ebx + 0x208]
inc edi
lea eax, [ebp - 0x44]
push edi
push 0x41f3e8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x848]
lea eax, [ebp - 0x844]
push 0x400
push eax
push 0x41bcc8
lea edx, [ebp - 0x44]
call fcn.00472e40
add esp, 0x18
test eax, eax
je 0x474f8d
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.SHLWAPI.dll_StrDupW]
mov dword [esi], eax
add esi, 4
cmp edi, dword [ebx + 0x204]
jl 0x474f44
mov esi, dword [ebp - 0x848]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
Function at 0x475600
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, ecx
push 0
push 0x41f464
push 0
push 0
call edi
test eax, eax
je 0x475653
push 0
push 0x41f480
push 0
push eax
call edi
test eax, eax
je 0x475653
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x4756d1
mov eax, dword [ebp - 0x1c]
cmp eax, 3
ja case.default.0x475676
jmp dword [eax*4 + 0x475754]
mov ecx, dword [ebp - 0xc]
pop edi
lea eax, [ecx - 0x64]
mov dword [esi + 4], eax
lea eax, [ecx - 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xc], eax
lea eax, [ecx - 0x64]
mov dword [esi], eax
lea eax, [ecx - 0x10]
pop edi
mov dword [esi + 8], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
push 0
push 0x41f464
push 0
push 0
call edi
test eax, eax
je 0x475723
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, dword [esi]
cmp eax, 0x96
jle 0x475700
lea eax, [ecx - 0x96]
mov dword [esi], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
sub eax, dword [esi + 4]
cmp eax, 0x1e
jle case.default.0x475676
lea eax, [ecx - 0x1e]
pop edi
mov dword [esi + 4], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
Function at 0x4814c0
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push 0x5e8d50
shr eax, 1
push eax
push esi
push 0x41ef2c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
cmp dword [0x5e97e4], 0
mov edi, 1
jne 0x481548
cmp dword [0x5e939c], 0
jne 0x481548
push 0
mov edx, 0x41f8f0
mov ecx, esi
call fcn.00472f00
mov ecx, dword [0x5e939c]
add esp, 4
test eax, eax
mov edx, 0x41f908
cmove ecx, edi
mov dword [0x5e939c], ecx
mov ecx, esi
push 0
call fcn.00472f00
mov ecx, dword [0x5e9d90]
add esp, 4
test eax, eax
cmovne ecx, edi
mov dword [0x5e9d90], ecx
cmp dword [0x5e95c8], 0
mov ebx, 2
jne 0x481578
push 0
mov edx, 0x4208b8
mov ecx, esi
call fcn.00472f00
mov ecx, dword [0x5e95c8]
add esp, 4
test eax, eax
cmovne ecx, ebx
mov dword [0x5e95c8], ecx
push 1
mov edx, 0x4208d4
mov ecx, esi
call fcn.00472f00
mov ecx, dword [0x5e9398]
add esp, 4
test eax, eax
mov edx, 0x4208f4
cmovne ecx, edi
mov dword [0x5e9398], ecx
push ecx
mov ecx, esi
call fcn.00472f00
mov ecx, dword [0x5e9194]
add esp, 4
test eax, eax
mov edx, 0x420914
cmovne ecx, edi
mov dword [0x5e9194], ecx
mov ecx, esi
push 0
call fcn.00472f00
mov ecx, dword [0x5e8d44]
add esp, 4
test eax, eax
mov edx, 0x420930
mov eax, 0x501
cmovne ecx, edi
cmp word [0x5f02ec], ax
mov dword [0x5e8d44], ecx
mov ecx, esi
sbb eax, eax
neg eax
inc eax
push eax
call fcn.00472f00
add esp, 4
mov ecx, ebx
cmp eax, 2
mov edx, 0x420948
cmovl ecx, eax
xor eax, eax
test ecx, ecx
push eax
cmovle ecx, eax
mov dword [0x5e97ec], ecx
mov ecx, esi
call fcn.00472f00
mov ecx, dword [0x5e9fa4]
add esp, 4
test eax, eax
mov edx, 0x420970
cmovne ecx, edi
mov dword [0x5e9fa4], ecx
mov ecx, esi
push 0
call fcn.00472f00
mov ecx, dword [0x5e95d0]
add esp, 4
test eax, eax
mov edx, 0x420988
cmovne ecx, edi
mov dword [0x5e95d0], ecx
mov ecx, esi
push 0
call fcn.00472f00
mov ecx, dword [0x5e9fb0]
add esp, 4
test eax, eax
mov edx, 0x4209a0
cmovne ecx, edi
mov dword [0x5e9fb0], ecx
mov ecx, esi
push 0
call fcn.00472f00
mov ecx, dword [0x5e8f6c]
add esp, 4
test eax, eax
cmovne ecx, edi
mov dword [0x5e8f6c], ecx
push 0x5e9a08
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4816c4
push 0x20
push 0x5e9a08
push 0x41f2dc
mov edx, 0x4209c0
mov ecx, esi
call fcn.00472e40
add esp, 0xc
cmp dword [0x5e95b4], 0
jne 0x4816ef
push 0
mov edx, 0x4209e8
mov ecx, esi
call fcn.00472f00
mov ecx, dword [0x5e95b4]
add esp, 4
test eax, eax
cmovne ecx, ebx
mov dword [0x5e95b4], ecx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebx
ret

Function at 0x481cc0
Capabilities:
Create directory
Get file size
Write file on windows

Disassembly:
mov ecx, 0x5e8d50
jmp fcn.00481cd0
Function at 0x481cd0
Capabilities:
Create directory
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp word [esi], 0
je 0x481d66
push edi
push 0x5c
push 0
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov edi, eax
test edi, edi
je 0x481d09
xor eax, eax
push eax
push esi
push eax
mov word [edi], ax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, 0x5c
mov word [edi], ax
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5f0854], eax
pop edi
cmp esi, 0xffffffff
je 0x481d66
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x481d55
push eax
lea eax, [ebp - 4]
push eax
push 0x1a
push 0x420a28
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
push 4
mov dword [ebp - 0x274], eax
mov edi, edx
mov eax, dword [ebp + 0x18]
mov esi, ecx
push 0x952
push dword [0x5e9fbc]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x268], eax
call ebx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov eax, esi
neg eax
sbb eax, eax
add eax, 0x271a
push eax
lea eax, [ebp - 0x264]
push 0x12c
push eax
call fcn.00474220
add esp, 0x10
lea eax, [ebp - 0x264]
push eax
push 0x1ff
push 0x40b
push dword [0x5eca44]
call ebx
push 0
push 1
push 0x409
push dword [0x5eca44]
call ebx
push 1
push 0
push dword [0x5eca44]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [0x5eca44]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, edi
test esi, esi
je 0x4823d9
push dword [ebp - 0x270]
push dword [ebp - 0x274]
sub esp, 0xc
call fcn.00467c60
add esp, 0x14
jmp 0x4823f0
push dword [ebp + 0x20]
push dword [ebp - 0x268]
push dword [0x5e95cc]
call fcn.00468620
add esp, 0xc
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x482409
test al, 1
je 0x482409
mov eax, 1
jmp 0x48240b
xor eax, eax
push 0
push 0
push 0x409
push dword [0x5eca44]
mov dword [0x5e9fa8], eax
call ebx
push 0
push 0xffffffffffffffff
push 0x952
push dword [0x5e9fbc]
call ebx
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x268]
push dword [ebp - 0x26c]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
Function at 0x4830f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13684
call fcn.0057f600
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5f0848]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x208
mov dword [ebp - 0x13624], eax
lea eax, [ebp - 0x210]
push 0
push eax
mov dword [ebp - 0x13628], edx
call fcn.00583650
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x620]
add esp, 0xc
push 0x41bcc8
push eax
call esi
lea ecx, [ebp - 0x13620]
call fcn.0048c4f0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
test ebx, ebx
jne 0x483212
push 0x5f05e0
call edi
test eax, eax
je 0x48318c
push 0x5f05e0
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x483212
push 0x5eca60
call edi
test eax, eax
lea eax, [ebp - 0x210]
je 0x48320a
push 0x104
push eax
push 0x5eca60
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x483212
push 0x104
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
jmp 0x483212
push 0x5e97f8
push eax
call esi
push 0x58
lea eax, [ebp - 0x13680]
push 0
push eax
call fcn.00583650
mov eax, dword [ebp - 0x13624]
add esp, 0xc
mov dword [ebp - 0x1367c], eax
test ebx, ebx
lea eax, [ebp - 0x13620]
mov dword [ebp - 0x13680], 0x58
mov dword [ebp - 0x13674], eax
lea eax, [ebp - 0x620]
mov dword [ebp - 0x13664], eax
lea eax, [ebp - 0x210]
cmovne eax, ebx
mov dword [ebp - 0x13660], 0x104
push 0x5ed2a0
mov dword [ebp - 0x13654], eax
mov dword [ebp - 0x1364c], 0x2005804
call edi
neg eax
sbb eax, eax
and eax, 0x5ed2a0
mov dword [ebp - 0x13644], eax
lea eax, [ebp - 0x13680]
push eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x4832cd
push 0x104
lea eax, [ebp - 0x620]
push eax
push dword [ebp - 0x13628]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
Function at 0x4832e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x13684
call fcn.0057f600
mov eax, dword [0x5bd344]
xor eax, esp
mov dword [esp + 0x13680], eax
mov eax, dword [0x5f0848]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x208
mov dword [esp + 0x14], eax
mov esi, edx
lea eax, [esp + 0x74]
mov dword [esp + 0x18], esi
push 0
push eax
call fcn.00583650
add esp, 0xc
lea eax, [esp + 0x480]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
call esi
lea ecx, [esp + 0x688]
call fcn.0048c4f0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call edi
test eax, eax
je 0x483357
push ebx
jmp 0x4833fd
push 0x5f05e0
call edi
test eax, eax
je 0x48337e
push 0x5f05e0
lea eax, [esp + 0x74]
push eax
call esi
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x483404
push 0x5eca60
call edi
test eax, eax
je 0x4833f8
push 0x104
lea eax, [esp + 0x74]
push eax
push 0x5eca60
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x483404
push 0x104
lea eax, [esp + 0x27c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x278]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x278]
push eax
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
jmp 0x483404
push 0x5e97f8
lea eax, [esp + 0x74]
push eax
call esi
push 0x58
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00583650
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x688]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x480]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x70]
push 0x5ed2a0
mov dword [esp + 0x1c], 0x58
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x50], 0x2000806
call edi
neg eax
sbb eax, eax
and eax, 0x5ed2a0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x4834a7
push 0x104
lea eax, [esp + 0x484]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x13680]
xor ecx, esp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1368c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
Function at 0x483c30
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword [0x5e9b60]
sub esp, 0x68
cmp dword [0x5e95c8], 2
push esi
push edi
jne 0x483e01
cmp eax, 1
jle 0x483e01
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrDupW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 4], eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea eax, [eax*2 + 2]
push eax
push 0x40
call esi
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call edi
lea eax, [eax*2 + 2]
push eax
push 0x40
call esi
mov esi, dword [ebp - 4]
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.00474b40
mov ecx, dword [0x5e97f4]
push 0x41bcc8
lea ecx, [esi + ecx*2]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call edi
mov edi, dword [sym.imp.USER32.dll_CharPrevW]
lea eax, [esi + eax*2]
push eax
push esi
call edi
mov edx, eax
mov eax, 0x20
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x483cf7
cmp ecx, 0x2d
je 0x483cf7
cmp ecx, 0x2b
jne 0x483d1b
push edx
push esi
mov word [edx], ax
call edi
mov ecx, dword [ebp - 8]
mov edx, eax
mov eax, ecx
inc ecx
cmp eax, 1
mov dword [ebp - 8], ecx
mov eax, 0x20
jle 0x483ce5
dec dword [0x5e97f4]
jmp 0x483ce5
cmp dword [0x5e9b60], 0
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], 0
jle 0x483dda
nop word [eax + eax]
mov eax, dword [0x5e97f4]
push 0x420a5c
lea eax, [esi + eax*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 4]
push dword [eax*4 + 0x5ed340]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp - 4]
push dword [eax*4 + 0x5ed340]
call edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x68], 0x44
push eax
lea eax, [ebp - 0x68]
xorps xmm0, xmm0
push eax
push 0x5e97f8
push 0
push 0
push 0
push 0
push 0
push esi
push 0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movaps xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [0x5e9b60]
jl 0x483d40
push esi
call edi
push dword [ebp - 0xc]
call edi
push dword [ebp - 0x10]
call edi
push dword [0x5e95a8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor esi, esi
test eax, eax
jle 0x483e22
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [eax]
push dword [esi*4 + 0x5ed340]
call edi
inc esi
cmp esi, dword [0x5e9b60]
jl 0x483e10
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret