joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48818c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x48819e
add esp, 0xfffffff0
call fcn.004047a0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042fc04
mov eax, dword [0x5ee34c]
mov dword [eax + 4], ebx
mov dword [eax], 0x488530
mov eax, dword [0x5ee35c]
mov dword [eax + 4], ebx
mov dword [eax], 0x48853c
mov eax, ebx
call fcn.00488548
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x42283c]
call fcn.0040440c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x42283c]
call fcn.0040440c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42283c]
call fcn.0040440c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42283c]
call fcn.0040440c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42283c]
call fcn.0040440c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x483914
push eax
push 0
push 0
mov eax, dword [0x5ee620]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4351d4]
call fcn.00436ac8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4351d4]
call fcn.00436ac8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4351d4]
call fcn.00436ac8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00488a50
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4888d8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4888d8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4888d8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4882db
call fcn.004047f8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4886bc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488867
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x488848
mov dl, 1
mov eax, dword [0x42303c]
call fcn.0040440c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405480
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x488837
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004788a0
test al, al
je 0x48882a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x488878
lea eax, [ebp - 0x254]
call fcn.0040c248
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48882a
xor eax, eax
push ebp
push 0x488823
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4888b0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x48880c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004056f0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x48880c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004056f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48882a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x48872d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00428e34
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48886e
lea eax, [ebp - 0x260]
call fcn.00405480
ret

Function at 0x4892f0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5f3d04]
cmp byte [eax + 0xad], 0
jne 0x489361
cmp dword [0x5f3d20], 0
jne 0x489322
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4892ac
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5f3d20], eax
cmp dword [0x5f3d1c], 0
jne 0x48933d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5f3d1c], eax
cmp dword [0x5f3d24], 0
jne 0x489361
push esp
push 0
push 0
push 0x489250
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5f3d24], eax
pop edx
ret
Function at 0x489590
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4895a7
add esp, 0xfffffff0
call fcn.004047a0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042fc04
mov eax, dword [0x5ee5f0]
cmp word [eax + 2], 0
jne 0x4895cf
mov eax, dword [0x5ee5f0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048b2f0
mov eax, dword [0x5ee764]
cmp word [eax + 2], 0
jne 0x4895e9
mov eax, dword [0x5ee764]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048b4fc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x42283c]
call fcn.0040440c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42283c]
call fcn.0040440c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x42283c]
call fcn.0040440c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x435ce4]
call fcn.0043e744
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4897a0
mov eax, dword [0x5ee420]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043eb54
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x48bbc0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5ee420]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004117bc
test eax, eax
je 0x4896f0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040bbac
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004117f0
test eax, eax
je 0x489704
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004056f0
mov byte [ebx + 0xd4], 0
push ebx
push 0x48ad64
call fcn.00431468
mov dword [ebx + 0xc8], eax
mov eax, dword [0x5ee164]
cmp byte [eax], 0
jne 0x489755
mov eax, ebx
call fcn.004898e4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0048bda4
mov eax, ebx
call fcn.0048c908
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x489795
call fcn.004047f8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x489b64
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x489c03
cmp dword [ebx + 0x94], 0
jne 0x489bfd
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x489aec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x489bfd
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x489bc3
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x489bfd
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00425650
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x489bd2
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x489e1c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5f3d04]
cmp dword [eax + 0x30], 0
je 0x489f79
test bl, bl
jne 0x489eca
cmp dword [esi + 0x9c], 0
jne 0x489ebf
mov eax, esi
call fcn.0048c784
push eax
push 0x489d48
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x489e90
mov eax, dword [0x5f3d04]
call fcn.0048ce64
test al, al
je 0x489e90
mov eax, dword [0x5f3d28]
call fcn.00406c94
mov edi, eax
cmp edi, 0
jl 0x489e90
push 0
mov eax, dword [0x5f3d28]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x489e7a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x489ebf
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00425650
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x489e9f
inc dword [esi + 0x9c]
jmp 0x489f79
cmp dword [esi + 0x9c], 0
jle 0x489f79
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x489f79
cmp dword [esi + 0x44], 0
je 0x489f25
mov eax, dword [0x5f3d04]
call fcn.0048ce64
test al, al
je 0x489f25
mov eax, dword [0x5f3d28]
call fcn.00406c94
mov edi, eax
cmp edi, 0
jl 0x489f25
push 5
mov eax, dword [0x5f3d28]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x489f0f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x489f54
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00425650
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x489f34
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x5f3d28
mov ecx, 1
mov edx, dword [0x489d28]
call fcn.00406e48
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x48aa60
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x48aaca
mov eax, ebx
call fcn.0048ce64
test al, al
jne 0x48aaca
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405570
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x48aab7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x48aad7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004054d4
jmp 0x48aad7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004054d4
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x48bf88
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x48bff6
mov eax, esi
call fcn.00473340
test al, al
je 0x48bff6
mov eax, dword [ebx + 0x84]
call fcn.00472fa0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48bff6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x48bfea
push 0
mov eax, dword [ebx + 0x84]
call fcn.00472fa0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0046ad40
jmp 0x48bff6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0048bdc4
pop esi
pop ebx
ret

Function at 0x48db58
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48dc83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405480
mov dl, 1
mov eax, dword [0x4344d0]
call fcn.004345d0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x48dc5e
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000000
mov eax, dword [ebp - 8]
call fcn.004346ac
mov edx, 0x48dc98
mov eax, dword [ebp - 8]
call fcn.00434834
test al, al
je 0x48dc48
lea ecx, [ebp - 4]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00434acc
mov eax, ebx
mov edx, 0x106
call fcn.00405ba0
push 0x104
mov eax, dword [ebx]
call fcn.00405910
push eax
mov eax, dword [ebp - 4]
call fcn.00405910
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
test eax, eax
jbe 0x48dc22
mov eax, dword [ebx]
call fcn.00405910
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00405678
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x48dc18
sub eax, 4
mov eax, dword [eax]
mov edx, ebx
xchg edx, eax
call fcn.00405ba0
jmp 0x48dc29
mov eax, ebx
call fcn.00405480
mov eax, dword [ebp - 8]
call fcn.0043467c
cmp dword [ebx], 0
je 0x48dc48
mov eax, dword [ebx]
call fcn.0040b548
test al, al
jne 0x48dc48
mov eax, ebx
call fcn.00405480
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dc65
mov eax, dword [ebp - 8]
call fcn.0040443c
ret

Function at 0x48e8c8
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x48e814
call sub.user32.dll_EnumWindows
ret
Function at 0x48e9ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x48ea69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0048e448
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x48ea11
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0048e048
cmp dword [ebp - 4], 0
je 0x48ea53
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00405910
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ea70
lea eax, [ebp - 4]
call fcn.00405480
ret
Function at 0x48faac
Capabilities:
Get file size
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
test dl, dl
je 0x48fad2
add esp, 0xfffffff0
call fcn.004047a0
mov dword [ebp - 4], ecx
mov byte [ebp - 5], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00405900
mov eax, dword [ebp + 8]
call fcn.00405900
xor eax, eax
push ebp
push 0x48fc7f
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.0040440c
mov edi, esi
and edi, 3
cmp edi, 1
jne 0x48fb24
mov ecx, 0x48fcb0
mov dl, 1
mov eax, dword [0x48f9d8]
call fcn.00410868
call fcn.00404db4
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x24], eax
mov dword [ebx + 8], esi
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
push 0
push 0
push 3
push 0
mov eax, esi
and eax, 0xf0
shr eax, 4
mov eax, dword [eax*4 + 0x5e4d2c]
push eax
mov eax, dword [edi*4 + 0x5e4d20]
push eax
mov eax, dword [ebp - 4]
call fcn.00405910
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebx + 4], eax
cmp dword [ebx + 4], 0xffffffff
je 0x48fc16
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_GetFileSize_1
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x30]
push eax
mov cl, 0x5f
mov dl, 0x5c
mov eax, dword [ebp + 8]
call fcn.0048f93c
mov eax, dword [ebp - 0x30]
call fcn.00405910
push eax
push 0
push 0
mov eax, dword [edi*4 + 0x5e4d40]
push eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebx + 0x14], eax
cmp dword [ebx + 0x14], 0
jne 0x48fc54
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0x48fcd8
push dword [ebp - 4]
push 0x48fd00
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x38]
call fcn.0040fed8
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00405814
mov ecx, dword [ebp - 0x34]
mov dl, 1
mov eax, dword [0x48f9d8]
call fcn.00410868
call fcn.00404db4
jmp 0x48fc54
push 0x48fd0c
push dword [ebp - 4]
push 0x48fd00
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x40]
call fcn.0040fed8
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00405814
mov ecx, dword [ebp - 0x3c]
mov dl, 1
mov eax, dword [0x48f9d8]
call fcn.00410868
call fcn.00404db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fc86
lea eax, [ebp - 0x40]
mov edx, 5
call fcn.004054a4
lea eax, [ebp - 4]
call fcn.00405480
lea eax, [ebp + 8]
call fcn.00405480
ret
Function at 0x4937dc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, edx
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
mov ebx, eax
push 0xffffffffffffffeb
push ebx
call sub.user32.dll_GetWindowLongA
cmp esi, eax
jne 0x493815
push 5
push ebx
call sub.user32.dll_ShowWindow
push 0
push 0xffffffffffffffff
push 0xb1
push ebx
call sub.user32.dll_SendMessageA
pop esi
pop ebx
pop ebp
ret

Function at 0x49381c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov esi, dword [ebp + 8]
add esi, 8
push 0
push 0xbb8
mov eax, dword [esi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0xfa0
mov eax, dword [esi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x1388
mov eax, dword [esi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp + 8]
mov dword [eax - 0x1c], 8
mov eax, dword [ebp + 8]
add eax, 0xffffffe4
push eax
push ebx
push 0x1305
push 0x1f40
mov eax, dword [esi]
push eax
call sub.user32.dll_SendDlgItemMessageA
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, 0xbb8
call fcn.004937dc
pop ecx
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, 0xfa0
call fcn.004937dc
pop ecx
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, 0x1388
call fcn.004937dc
pop ecx
push 0
push ebx
push 0x130c
push 0x1f40
mov eax, dword [esi]
push eax
call sub.user32.dll_SendDlgItemMessageA
push 0x3e8
mov eax, dword [esi]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SetFocus
pop esi
pop ebx
pop ebp
ret
Function at 0x498d6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x498eef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x10e
call fcn.00405ba0
xor edx, edx
push ebp
push 0x498eaa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00405910
push eax
push 0
push 0
push 0x8023
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, 0x80000000
sete al
neg al
sbb eax, eax
test eax, eax
jne 0x498dd8
call fcn.004124f4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00405910
call fcn.0040bb58
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00405ba0
mov eax, dword [ebp - 4]
push dword [eax]
push 0x498f08
push 0x498f28
mov eax, dword [ebp - 4]
mov edx, 3
call fcn.00405814
test bl, bl
je 0x498ea0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040b56c
test al, al
jne 0x498ea0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040b590
test al, al
jne 0x498e36
call fcn.004124f4
xor eax, eax
push ebp
push 0x498e96
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 8]
push eax
push 1
push 0x498f34
call fcn.004988c4
test eax, eax
jne 0x498e5f
call fcn.0041083c
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 8]
push eax
push 0
push 0
push 4
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00405910
push eax
call fcn.00498864
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LocalFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x498ea0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x498ebc
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x498ed9
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00403438
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040b894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498ef6
lea eax, [ebp - 0xc]
call fcn.00405480
ret

Function at 0x49937c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
test ebx, ebx
je 0x4993d5
mov eax, ebx
call fcn.00499344
mov ebx, eax
push esp
push 0x40
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4993d5
mov eax, dword [ebx]
mov dword [edi], eax
mov al, byte [ebx + 4]
mov byte [edi + 4], al
mov byte [ebx], 0xe9
mov eax, ebx
add eax, 5
sub esi, eax
mov dword [ebx + 1], esi
push esp
mov eax, dword [esp + 4]
push eax
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
push 5
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edx
pop edi
pop esi
pop ebx
ret