joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412510
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x43ad70
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x44aba4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
push 0x44
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00424670
mov ecx, dword [esp + 0x8c]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
sub eax, 0x10
push eax
mov dword [esp + 0x34], 0x44
mov ebx, 1
call fcn.004156a0
lea edi, [eax + 0x10]
add esp, 0x10
mov dword [esp + 0x80], edi
mov dword [esp + 0x78], 0
cmp dword [edi - 4], ebx
jle 0x4125a6
mov edx, dword [edi - 0xc]
push edx
lea ecx, [esp + 0x84]
call fcn.0040db90
mov edi, dword [esp + 0x80]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x412621
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea esi, [esp + 0x10]
call fcn.00413140
mov byte [esp + 0x78], bl
mov edx, dword [eax]
mov eax, dword [esp + 0x84]
push edx
push edi
push 0x443378
push eax
call fcn.00415760
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41261f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor bl, bl
lea eax, [edi - 0x10]
mov dword [esp + 0x78], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412645
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x6c
ret
Function at 0x412660
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x43ad40
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebp
push esi
push edi
mov eax, dword [0x44aba4]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x84]
push 0x44
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00424670
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
sub eax, 0x10
push eax
mov dword [esp + 0x34], 0x44
call fcn.004156a0
lea edi, [eax + 0x10]
add esp, 0x10
mov dword [esp + 0x84], edi
mov dword [esp + 0x7c], 0
cmp dword [edi - 4], 1
mov ecx, dword [esp + 0x88]
mov esi, dword [ecx]
jle 0x4126fc
mov edx, dword [edi - 0xc]
push edx
lea ecx, [esp + 0x88]
call fcn.0040db90
mov edi, dword [esp + 0x84]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push esi
push 0
push 0x8000000
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4127be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea esi, [esp + 0x88]
call fcn.00413140
mov ecx, dword [esp + 0x8c]
mov byte [esp + 0x7c], 1
mov edx, dword [eax]
mov eax, dword [ebp]
push edx
push eax
push 0x443398
push ecx
call fcn.00415760
mov byte [esp + 0x8c], 0
mov eax, dword [esp + 0x98]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412785
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4127a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x70
ret
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
lea eax, [edi - 0x10]
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412803
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x70
ret

Function at 0x4200b3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44aba4]
jne 0x4200bd
repz ret
jmp fcn.004263ba
Function at 0x421ef1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x421f1e
call fcn.004238bb
mov dword [eax], esi
call fcn.004238a8
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004208b6
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x421efa
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x421f4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004238ce
pop ecx
call fcn.004238a8
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x421f74
test al, 1
je 0x421f74
test byte [esp + 0xc], 2
je 0x421f74
call fcn.004238bb
mov dword [eax], 5
call fcn.004238a8
mov dword [eax], 0xd
jmp 0x421f44
xor eax, eax
pop esi
ret
Function at 0x434137
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042840a
xor ebx, ebx
cmp dword [0x44ebc8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x43420c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x434177
xor eax, eax
jmp 0x4342d0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x440b40
push edi
call esi
cmp eax, ebx
je 0x434170
push eax
call fcn.004283a7
mov dword [esp], 0x440b30
push edi
mov dword [0x44ebc8], eax
call esi
push eax
call fcn.004283a7
mov dword [esp], 0x440b1c
push edi
mov dword [0x44ebcc], eax
call esi
push eax
call fcn.004283a7
mov dword [0x44ebd0], eax
lea eax, [ebp - 8]
push eax
call fcn.00424365
test eax, eax
pop ecx
pop ecx
je 0x4341da
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004207ba
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x43420c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004283a7
cmp eax, ebx
pop ecx
mov dword [0x44ebd8], eax
je 0x43420c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004283a7
pop ecx
mov dword [0x44ebd4], eax
mov eax, dword [0x44ebd4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x434285
cmp dword [0x44ebd8], esi
je 0x434285
push eax
call fcn.00428413
pop ecx
call eax
cmp eax, ebx
je 0x434252
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x44ebd8]
call fcn.00428413
pop ecx
call eax
test eax, eax
je 0x434252
test byte [ebp - 0x18], 1
jne 0x434285
lea eax, [ebp - 0xc]
push eax
call fcn.0042439c
test eax, eax
pop ecx
je 0x43426d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004207ba
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x43427c
or dword [ebp + 0x10], 0x200000
jmp 0x4342b6
or dword [ebp + 0x10], 0x40000
jmp 0x4342b6
mov eax, dword [0x44ebcc]
cmp eax, esi
je 0x4342b6
push eax
call fcn.00428413
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4342b6
mov eax, dword [0x44ebd0]
cmp eax, esi
je 0x4342b6
push dword [ebp - 4]
push eax
call fcn.00428413
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x44ebc8]
call fcn.00428413
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x438c71
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x44aba4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00438c06
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00424670
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x438cc0
cmp dword [ebp - 0x1c], 5
jb 0x438cd8
jmp 0x438cd4
cmp dword [ebp - 0x10], 1
jne 0x438cd8
cmp dword [ebp - 0x1c], 4
ja 0x438cd4
jne 0x438cd8
cmp dword [ebp - 0x18], 0
jbe 0x438cd8
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x440cac
call fcn.00438ada
test eax, eax
jge 0x438cf9
mov byte [0x44f24c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004200b3
add ebp, 0x78
leave
ret
Function at 0x40261c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp dword [ebp + 0x10], 0
je 0x40263c
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
cmp dword [ebp + 0xc], 0
je 0x402648
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
test ebx, ebx
je 0x402651
cmp byte [ebx], 0
jne 0x402658
xor eax, eax
jmp 0x402709
xor ecx, ecx
mov dword [ebp - 8], ecx
xor esi, esi
jmp 0x4026b6
mov al, byte [ebx]
xor ecx, ecx
mov cl, al
inc ebx
cmp ecx, 0x3d
jne 0x40268a
cmp dword [ebp - 4], 0
je 0x40268a
cmp dword [ebp - 8], 0
jne 0x40268a
cmp dword [ebp + 0x10], 0
je 0x402685
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov dword [ebp - 8], edx
jmp 0x4026b5
xor ecx, ecx
mov cl, al
cmp ecx, 0xd
je 0x402698
cmp ecx, 0xa
jne 0x4026a0
cmp ecx, 0xd
jne 0x4026bb
inc ebx
jmp 0x4026bb
mov byte [edx], al
inc edx
mov eax, dword [ebp + 8]
add eax, 0xfffffffe
cmp esi, eax
jle 0x4026b5
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 1
jmp 0x4026bb
inc esi
cmp byte [ebx], 0
jne 0x402661
mov byte [edx], 0
cmp dword [ebp - 4], 0
je 0x402707
mov edx, dword [ebp - 4]
mov byte [edx], 0
cmp dword [ebp - 8], 0
je 0x402707
push 0x1000
lea eax, [ebp - 0x1008]
push eax
push dword [ebp - 8]
call fcn.00414138
mov ecx, dword [ebp + 8]
dec ecx
lea edx, [ebp - 0x1008]
mov eax, dword [ebp - 4]
call fcn.0040fd60
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov byte [edx + ecx - 1], 0
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402711
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff7c0
mov ebx, eax
mov eax, ebx
mov byte [esp], dl
lea esi, [esp + 4]
call fcn.0040fcd0
cmp eax, 0x3f6
jae 0x402944
mov eax, esi
mov ecx, 0x3c
xor edx, edx
call fcn.0040fc50
mov dword [esi], 0x3c
xor eax, eax
mov dword [esi + 4], 0x5c0
mov al, byte [ebx]
cmp eax, 0x22
jne 0x40275e
lea edx, [ebx + 1]
jmp 0x402760
mov edx, ebx
mov dword [esi + 0x10], edx
xor eax, eax
jmp 0x4027b1
xor ecx, ecx
mov cl, dl
cmp ecx, 0x22
jne 0x402789
jmp 0x402782
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x22
jne 0x402782
mov byte [ebx + eax], 0x20
jmp 0x402789
inc eax
cmp byte [ebx + eax], 0
jne 0x402772
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x20
je 0x40279e
xor ecx, ecx
mov cl, byte [ebx + eax + 1]
cmp ecx, 0x2f
jne 0x4027b0
cmp edx, 0x20
jne 0x4027a7
mov byte [ebx + eax], 0
lea eax, [eax + ebx + 1]
mov dword [esi + 0x14], eax
jmp 0x4027b8
inc eax
mov dl, byte [ebx + eax]
test dl, dl
jne 0x402767
cmp byte [0x415cfe], 0
je 0x4027c8
mov dword [esi + 0x14], 0x415cfe
mov dword [esi + 0x1c], 1
mov eax, dword [esi + 0x10]
call fcn.004062dc
mov edi, eax
test edi, edi
je 0x4027f4
mov edx, str..inf
mov eax, edi
call fcn.0040fdd8
test eax, eax
jne 0x4027f4
mov dword [esi + 0xc], str.Install
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.00406e8c
mov byte [esp + 1], al
cmp byte [esp + 1], 0
je 0x40281c
lea edx, [esp + 0x40]
mov eax, dword [esi + 0x10]
call fcn.00406f58
lea ecx, [esp + 0x40]
mov dword [esi + 0x10], ecx
cmp byte [esp], 0
je 0x40285f
cmp byte [esp + 1], 0
jne 0x40285f
lea eax, [esp + 0x440]
mov edx, dword [esi + 0x10]
call fcn.0040fd50
mov edx, str..exe
lea eax, [esp + 0x440]
call fcn.0040fe24
lea eax, [esp + 0x440]
xor edx, edx
call fcn.00406e8c
test al, al
je 0x402944
push esi
call fcn.004142d8
test eax, eax
setne al
and eax, 1
test al, al
jne 0x402889
and dword [esi + 4], 0xfffffbff
mov dword [esi + 0x10], ebx
push esi
call fcn.004142d8
test eax, eax
setne al
and eax, 1
test al, al
je 0x402944
cmp byte [0x4158f4], 0
jne 0x4028a0
cmp byte [esp], 0
je 0x4028f6
mov ebx, dword [0x416180]
test ebx, ebx
je 0x4028b4
push ebx
call fcn.00414380
test eax, eax
jne 0x4028b8
xor eax, eax
jmp 0x4028bd
mov eax, 1
mov ebx, eax
test ebx, ebx
je 0x4028d0
push 0
push dword [0x416180]
call fcn.004143f8
push 0x7d0
push dword [esi + 0x38]
call fcn.0041440a
mov eax, dword [esi + 0x38]
call fcn.0040294e
test ebx, ebx
je 0x4028f6
push 1
push dword [0x416180]
call fcn.004143f8
push dword [esi + 0x38]
call fcn.004140fc
test edi, edi
je 0x402912
mov edx, str..exe
mov eax, edi
call fcn.0040fdd8
test eax, eax
je 0x402944
cmp byte [0x4158f4], 0
je 0x40292d
cmp byte [esp], 0
jne 0x40292d
push 0x1b58
call fcn.00414264
jmp 0x402944
mov edx, 0xc8
cmp byte [esp], 0
jne 0x40293e
add edx, 0x320
push edx
call fcn.00414264
add esp, 0x840
pop edi
pop esi
pop ebx
ret
Function at 0x40297c
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
add esp, 0xfffffbe0
push esp
push 0x400
call fcn.00414180
cmp byte [0x415044], 0
jne 0x402a05
mov eax, esp
call fcn.00405fac
mov ecx, 6
mov edx, dword [str.RarSFX]
call fcn.0040fdfc
test eax, eax
jne 0x402a05
push 0x41523d
call fcn.00414234
mov eax, esp
call fcn.0040fcd0
mov byte [esp + eax + 1], 0
lea eax, [esp + 0x400]
mov ecx, 0x1e
xor edx, edx
call fcn.0040fc50
mov dword [esp + 0x404], 3
mov word [esp + 0x410], 0x14
mov eax, esp
mov dword [esp + 0x408], eax
lea edx, [esp + 0x400]
push edx
call fcn.004142c0
add esp, 0x420
ret

Function at 0x402aee
Capabilities:
Set registry value

Disassembly:
push ebx
add esp, 0xfffffbf8
mov ebx, eax
cmp byte [0x4158fc], 0
je 0x402b65
cmp byte [0x416e3c], 0
je 0x402b65
lea edx, [esp + 8]
mov eax, 0x416e3c
call fcn.00402abd
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x402b65
mov eax, ebx
call fcn.0040fcd0
inc eax
push eax
push ebx
push 1
push 0
lea edx, [esp + 0x18]
push edx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x408
pop ebx
ret

Function at 0x402b6d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffff7f4
mov ebx, eax
cmp byte [0x4158fc], 0
je 0x402be6
lea edx, [esp + 0xc]
mov eax, ebx
call fcn.00402abd
push esp
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x402be6
mov dword [esp + 4], 0x400
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 0x410]
push eax
lea edx, [esp + 0x10]
push edx
push 0
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x402bde
lea edx, [esp + 0x40c]
mov eax, ebx
call fcn.0040fd50
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x80c
pop ebx
ret

Function at 0x402cac
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call fcn.004141b0
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret

Function at 0x402cb6
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call fcn.004141b0
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret
Function at 0x402e14
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ec
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
push 0
call fcn.0041442e
lea eax, [ebp - 8]
push eax
push 0x415844
push 1
push 0
push 0x415854
call fcn.00414422
test eax, eax
jl 0x402f13
push esi
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x50]
push edi
mov eax, dword [ebp - 8]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp dword [ebp + 0xc], 0
je 0x402e77
push 0
push dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x44]
cmp dword [ebp + 8], 0
je 0x402e89
push dword [ebp + 8]
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x40c]
mov edx, esi
call fcn.0040fd50
lea eax, [ebp - 0x40c]
call fcn.004063e4
cmp byte [ebp - 0x40c], 0
je 0x402eba
lea edx, [ebp - 0x40c]
push edx
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
lea edx, [ebp - 0xc]
push edx
push 0x415874
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jl 0x402f0a
push 0x104
lea edx, [ebp - 0x614]
push edx
push 0xffffffffffffffff
push dword [ebp - 4]
push 0
push 0
call fcn.00414228
push 1
lea ecx, [ebp - 0x614]
push ecx
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
test eax, eax
jl 0x402f01
mov bl, 1
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
call fcn.00414434
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x402f24
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
push esp
call fcn.004142cc
lea eax, [esp + 4]
push eax
push esi
push 0
call fcn.004142d2
push ebx
push dword [esp + 8]
call fcn.004142de
push dword [esp + 4]
mov edx, dword [esp + 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x403088
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc4
mov edi, edx
mov ebx, eax
push 0x67
push dword [0x416180]
call fcn.0041433e
mov esi, eax
cmp byte [0x415018], 0
jne 0x4030e4
mov eax, dword [0x41723c]
call fcn.004046a4
push 5
push esi
call fcn.004143f8
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call fcn.004143ce
push 0x415095
push 0
push 0xc2
push esi
call fcn.004143ce
mov byte [0x415018], 1
push 0x5f5e100
push 0x5f5e100
push 0xb1
push esi
call fcn.004143ce
mov dword [esp], 0x3c
mov edx, esp
push edx
push 0
push 0x43a
push esi
call fcn.004143ce
mov byte [esp + 0x19], 0
mov dword [esp + 4], 1
test bl, bl
je 0x40313e
and dword [esp + 8], 0xbfffffff
or dword [esp + 8], 1
mov dword [esp + 0x14], 0xa0
or dword [esp + 4], 0x40000000
mov ecx, esp
push ecx
push 1
push 0x444
push esi
call fcn.004143ce
push edi
push 0
push 0xc2
push esi
call fcn.004143ce
push 0x5f5e100
push 0x5f5e100
push 0xb1
push esi
call fcn.004143ce
test bl, bl
je 0x403192
or dword [esp + 8], 0x40000000
and dword [esp + 8], 0xfffffffe
mov eax, esp
push eax
push 1
push 0x444
push esi
call fcn.004143ce
push 0x4150bc
push 0
push 0xc2
push esi
call fcn.004143ce
add esp, 0x3c
pop edi
pop esi
pop ebx
ret

Function at 0x403b34
Capabilities:
Accept command line arguments
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
mov eax, 0x41b9c0
push ebx
call fcn.00410620
call fcn.0041417a
mov ebx, eax
test ebx, ebx
je 0x403b62
mov eax, ebx
call fcn.00403cd4
push ebx
push str.sfxcmd
call fcn.00414240
push 0x400
push 0x416a34
push 0
call fcn.004141b6
push 0x416a34
push str.sfxname
call fcn.00414240
push 0
call fcn.004141bc
mov ebx, eax
mov dword [0x41b9b8], eax
push 0x64
push ebx
call fcn.00414392
mov dword [0x416e34], eax
push 0x65
push dword [0x41b9b8]
call fcn.00414386
mov dword [0x416e38], eax
lea eax, [ebp - 8]
call fcn.00405990
mov edx, 0x416a34
mov eax, 0x41b9a4
call fcn.00404fac
lea eax, [ebp - 0x20]
call fcn.00404514
lea eax, [ebp - 0x38]
call fcn.00404514
push 0
push 0x401185
lea edx, [ebp - 0x20]
push 0
mov dword [0x41723c], edx
lea ecx, [ebp - 0x38]
push str.STARTDLG
push ebx
mov dword [0x417240], ecx
call fcn.00414314
xor eax, eax
xor edx, edx
mov dword [0x416180], eax
mov dword [0x417240], edx
mov dword [0x41723c], edx
mov edx, 2
lea eax, [ebp - 0x38]
call fcn.00404538
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404538
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405a04
cmp byte [0x4158f4], 0
je 0x403c46
call fcn.0040297c
mov eax, 0x4169a4
mov ecx, 0x80
xor edx, edx
call fcn.0040fc50
cmp dword [0x415054], 0
jle 0x403c6a
mov eax, dword [0x415048]
call fcn.0040fbd4
push dword [0x416e34]
call fcn.004142ac
mov eax, dword [0x416e38]
test eax, eax
je 0x403c84
push eax
call fcn.004142ac
cmp dword [0x41b998], 0
jne 0x403ca5
cmp dword [0x416188], 0
je 0x403ca5
mov eax, 0x41b998
mov edx, 0xff
call fcn.0040ce28
mov dword [0x416188], 2
mov eax, dword [0x41505c]
test eax, eax
je 0x403cbd
call fcn.0040294e
push dword [0x41b998]
call fcn.00414132
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x403e4c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov dword [0x416198], 1
mov ebx, dword [0x416180]
test ebx, ebx
je 0x403e74
mov eax, 0x7d
call fcn.00402bf4
push eax
push 1
push ebx
call fcn.004143d4
xor edx, edx
mov dword [0x41619c], edx
mov dword [0x4161a0], 1
mov eax, dword [0x416180]
test eax, eax
je 0x403ecd
push 1
push eax
call fcn.004143f8
cmp dword [0x415054], 0
jne 0x403ec4
cmp byte [0x415018], 0
jne 0x403ec4
push 0
push 1
push 0x111
push dword [0x416180]
call fcn.004143ce
jmp 0x403ec4
call fcn.00402c70
cmp dword [0x416188], 2
jne 0x403ebf
cmp byte [0x4158f4], 0
je 0x403edb
call fcn.0040297c
pop ebx
ret

Function at 0x404560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
cmp byte [ebx + 0x14], 0
mov edi, edx
mov esi, ecx
jne 0x404585
push 0
call fcn.0041442e
call fcn.00414290
mov byte [ebx + 0x14], 1
mov byte [ebx + 0x15], 0
push 0
push esi
call fcn.004143f8
mov edx, edi
mov eax, ebx
call fcn.004046bc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov dword [ebx + 0x10], ecx
push eax
push esi
call fcn.0041436e
push 2
lea edx, [ebp - 0x10]
push edx
push esi
call fcn.00414350
push eax
push 0
call fcn.0041439e
mov eax, dword [ebx + 4]
test eax, eax
je 0x4045cb
push eax
call fcn.0041430e
push ebx
push dword [ebx]
push 0
push esi
call fcn.00414350
push eax
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
add ecx, 0xfffffffe
push ecx
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0x40000000
push 0
push str.RarHtmlClassName
push 0
call fcn.004142fc
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
je 0x40461c
push 5
push edi
call fcn.004143f8
push dword [ebx + 4]
call fcn.00414404
cmp byte [ebx + 0x15], 0
jne 0x404699
mov eax, dword [ebx + 4]
test eax, eax
je 0x404634
push eax
call fcn.0041430e
xor edx, edx
mov dword [ebx + 4], edx
push 5
push esi
call fcn.004143f8
mov eax, dword [ebp + 8]
call fcn.0040fcd0
add eax, eax
lea eax, [eax + eax*2]
add eax, 0x100
call fcn.0040fbc0
mov edi, eax
mov edx, dword [ebp + 8]
mov eax, edi
call fcn.0040fd50
mov edx, edi
mov eax, ebx
call fcn.00404cf8
test al, al
jne 0x404675
mov edx, edi
mov eax, ebx
call fcn.00404d30
mov edx, edi
mov eax, ebx
call fcn.00404b70
mov ebx, eax
mov eax, edi
call fcn.0040fbd4
test ebx, ebx
je 0x404699
push ebx
push esi
call fcn.004143f2
mov eax, ebx
call fcn.0040fbd4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4