joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4347fc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x434818
cmp dword [esi + 4], 0
je 0x434845
test byte [ebx + 0x55], 1
jne 0x434837
mov eax, ebx
call fcn.00433408
test eax, eax
jne 0x434837
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x434955
mov edx, esi
mov eax, ebx
call fcn.00434320
jmp 0x434955
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43494e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043666c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00431090
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004347fc
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043666c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434955
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43af74
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4763a0]
cmp byte [eax + 0xc], 0
je 0x43b0e1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43b0da
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x477af8], 0
jne 0x43afc8
push 0x43b0e8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43b0f0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477af8], eax
cmp dword [0x475acc], 0
jne 0x43b0c3
push 0x43b100
call sub.kernel32.dll_LoadLibraryA
mov dword [0x475acc], eax
cmp dword [0x475acc], 0
je 0x43b0c3
push 0x43b10c
mov eax, dword [0x475acc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477afc], eax
push 0x43b11c
mov eax, dword [0x475acc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b00], eax
push 0x43b130
mov eax, dword [0x475acc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b04], eax
push 0x43b148
mov eax, dword [0x475acc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b08], eax
push 0x43b160
mov eax, dword [0x475acc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b0c], eax
push 0x43b174
mov eax, dword [0x475acc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b10], eax
push 0x43b18c
mov eax, dword [0x475acc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b14], eax
push 0x43b1a4
mov eax, dword [0x475acc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b18], eax
push 0x43b1c0
mov eax, dword [0x475acc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b1c], eax
push 0x43b1cc
mov eax, dword [0x475acc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477b20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b0e1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43ef94
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004042d8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43efe3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404548
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4467b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446804]
test si, 4
je 0x4467c8
or bl, 1
test si, 8
je 0x4467d2
or bl, 4
test si, 1
je 0x4467dc
or bl, 8
test si, 2
je 0x4467e6
or bl, 0x10
test si, 0x10
je 0x4467f0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4467ff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x446808
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446840]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446821
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446830
or bl, 4
test esi, 0x20000000
je 0x44683b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44cf04
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44cf16
add esp, 0xfffffff0
call fcn.00403884
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419f54
mov eax, dword [0x475fd4]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d2a8
mov eax, dword [0x475fe0]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d2b4
mov eax, ebx
call fcn.0044d2c0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4120c0]
call fcn.0040351c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4120c0]
call fcn.0040351c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4120c0]
call fcn.0040351c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4120c0]
call fcn.0040351c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4120c0]
call fcn.0040351c
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, 0x4496d8
push eax
push 0
push 0
mov eax, dword [0x476150]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b9a4]
call fcn.0041d064
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b9a4]
call fcn.0041d064
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b9a4]
call fcn.0041d064
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044d7c4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d644
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d644
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d644
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d053
call fcn.004038dc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44d428
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 0x44d5d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d5b4
mov dl, 1
mov eax, dword [0x4124fc]
call fcn.0040351c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042d8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d5a3
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.0043b2d4
test al, al
je 0x44d596
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, 0x44d5e4
lea eax, [ebp - 0x254]
call fcn.00409080
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d596
xor eax, eax
push ebp
push 0x44d58f
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 0x44d61c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d578
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404548
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 0x44d578
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404548
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d596
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d499
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004160ec
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 0x44d5da
lea eax, [ebp - 0x260]
call fcn.004042d8
ret

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

Disassembly:
push ecx
mov eax, dword [0x477b44]
cmp byte [eax + 0xa5], 0
jne 0x44dfd5
cmp dword [0x477b5c], 0
jne 0x44df96
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44df20
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x477b5c], eax
cmp dword [0x477b58], 0
jne 0x44dfb1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x477b58], eax
cmp dword [0x477b60], 0
jne 0x44dfd5
push esp
push 0
push 0
push 0x44dec4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x477b60], eax
pop edx
ret
Function at 0x44e668
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x477b44]
cmp dword [eax + 0x30], 0
je 0x44e712
cmp dword [ebx + 0x94], 0
jne 0x44e70c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e5f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e70c
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 0x44e6d2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e70c
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.004144e8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e6e1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f270
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44f2a5
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.004043c8
jmp 0x44f2b2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040432c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4503c4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x450405
mov eax, esi
call fcn.00436944
test al, al
je 0x450405
mov eax, dword [ebx + 0x84]
call fcn.0043666c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450405
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043666c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4010c8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x455210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0xc35
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x40113b
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00433710
add esp, 0xc
push 0x400
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40113b
lea eax, [ebp - 0x804]
push eax
call fcn.004337cf
pop ecx
add esi, 0x10
lea ecx, [ebp - 0x804]
call fcn.004011b0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00433865
leave
ret

Function at 0x40158d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x455210]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
cmp dword [eax + 0x18], 8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
jb 0x4015c0
mov eax, dword [eax + 4]
jmp 0x4015c3
add eax, 4
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x74]
push ecx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push 0x444d8c
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x401659
cmp dword [ebp - 0x74], ebx
je 0x401659
mov eax, 0x208
push eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.00433710
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x401610
mov edi, dword [edi + 4]
jmp 0x401613
add edi, 4
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push edi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, ebx
jne 0x401642
lea eax, [ebp - 0x70]
push eax
call fcn.004337cf
pop ecx
lea ecx, [ebp - 0x70]
call fcn.004011b0
cmp dword [ebp - 0x74], ebx
je 0x401650
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, ebx
sete al
jmp 0x40165b
xor al, al
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433865
add ebp, 0x19c
leave
ret 4

Function at 0x401675
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [eax + 0x18], 8
push ebx
push esi
mov esi, ecx
jb 0x401689
mov eax, dword [eax + 4]
jmp 0x40168c
add eax, 4
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push 0x444d8c
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x401701
cmp dword [ebp - 4], ebx
je 0x401701
mov eax, dword [esi + 0x14]
add eax, eax
cmp dword [esi + 0x18], 8
jb 0x4016c8
mov esi, dword [esi + 4]
jmp 0x4016cb
add esi, 4
cmp dword [edi + 0x18], 8
jb 0x4016d6
mov ecx, dword [edi + 4]
jmp 0x4016d9
lea ecx, [edi + 4]
push eax
push esi
push 1
push ebx
push ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 4], ebx
mov esi, eax
je 0x4016f8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp esi, ebx
sete al
jmp 0x401703
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x402cc5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push 0x44
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.00433710
push 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.00433710
add esp, 0x18
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x30], 1
mov word [ebp - 0x2c], 5
jb 0x402d0b
mov esi, dword [esi + 4]
jmp 0x402d0e
add esi, 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x402d1c
mov eax, dword [eax + 4]
jmp 0x402d1f
add eax, 4
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402d44
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
pop ebx
leave
ret 4
Function at 0x402db3
Capabilities:
Create process on windows

Disassembly:
push 0x74
mov eax, 0x441c28
call fcn.004358dc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
push 1
sub esp, 0x14
mov dword [ebp - 4], eax
mov esi, esp
mov dword [ebp - 0x68], esp
call fcn.00403e3a
push dword [ebp + 8]
lea ebx, [ebp - 0x7c]
call fcn.00403ebd
add esp, 0x1c
mov eax, ebx
call fcn.00403865
test eax, eax
je 0x402f35
mov esi, dword [ebp - 0x78]
cmp esi, dword [ebp - 0x74]
jbe 0x402e0c
call fcn.00433c45
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x74]
cmp dword [ebp - 0x78], esi
jbe 0x402e22
call fcn.00433c45
cmp dword [ebp - 0x68], esi
je 0x402f35
lea esi, [ebp - 0x6c]
call fcn.0040381e
xor ebx, ebx
cmp dword [eax + 0x14], ebx
je 0x402f1f
call fcn.0040381e
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040b5cf
pop ecx
pop ecx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0040ba7d
test al, al
je 0x402ea8
lea ecx, [ebp - 0x2c]
call fcn.00402d4a
test al, al
je 0x402e7b
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
call fcn.00402cc5
jmp 0x402f11
cmp dword [edi + 0x18], 8
jb 0x402e86
mov eax, dword [edi + 4]
jmp 0x402e89
lea eax, [edi + 4]
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x402e95
lea ecx, [ebp - 0x28]
push 1
push eax
push ebx
push ecx
push 0x444e1c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x402f11
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x402eb4
lea eax, [ebp - 0x28]
push eax
push 0x507d
lea ecx, [ebp - 0x48]
call fcn.00402c00
lea eax, [ebp - 0x64]
push 0x507e
push eax
mov byte [ebp - 4], 2
call fcn.00402be3
mov ecx, dword [ebp - 0x60]
add esp, 0x10
cmp dword [ebp - 0x4c], 8
jae 0x402ee3
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x402eef
lea eax, [ebp - 0x44]
push ebx
push ecx
push eax
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
push 1
lea esi, [ebp - 0x64]
call fcn.00401169
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.00401169
push ebx
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401169
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x74]
jb 0x402f2c
call fcn.00433c45
add dword [ebp - 0x68], 0x1c
jmp 0x402e15
lea esi, [ebp - 0x7c]
call fcn.0040391d
call fcn.0043595f
ret 8
Function at 0x402f45
Capabilities:
Query environment variable

Disassembly:
push 0x10
mov eax, 0x43f4df
call fcn.00435873
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov word [ebx + 4], cx
mov dword [ebp - 4], ecx
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
jb 0x402f7f
mov eax, dword [eax]
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
jbe 0x402fe5
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043350e
lea ecx, [esi + esi + 2]
push ecx
push 0
push eax
mov dword [ebp - 0x10], eax
call fcn.00433710
mov eax, dword [ebp - 0x14]
add esp, 0x10
cmp dword [edi + 0x18], 8
jb 0x402fc3
mov eax, dword [eax]
push esi
push dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x402fdc
push dword [ebp - 0x10]
mov esi, ebx
call fcn.00401153
push dword [ebp - 0x10]
call fcn.00433c55
pop ecx
mov eax, ebx
call fcn.0043594b
ret

Function at 0x407aac
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x455210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x407acd
mov eax, dword [eax + 4]
jmp 0x407ad0
add eax, 4
push 0x100
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x407af7
mov eax, dword [ebp - 0x2b8]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433865
leave
ret 4
Function at 0x408454
Capabilities:
Get graphical window text

Disassembly:
push 0x274
mov eax, 0x44214b
call fcn.004358dc
lea eax, [ebp - 0x250]
push 0x5087
push eax
call fcn.00402be3
pop ecx
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x238], 8
mov eax, dword [ebp - 0x24c]
jae 0x408490
lea eax, [ebp - 0x24c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00433710
add esp, 0xc
push 0x3ec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, edi
je 0x4084f6
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4084f6
lea eax, [ebp - 0x218]
push eax
call fcn.004337cf
pop ecx
lea esi, [ebx + 0x194]
lea ecx, [ebp - 0x218]
call fcn.004011b0
cmp dword [ebx + 0x20], 2
jne 0x4085cb
cmp byte [ebx + 0x40], 0
je 0x4085cb
cmp dword [ebx + 0x38], edi
je 0x4085cb
lea esi, [ebx + 0x24]
lea eax, [ebx + 0x194]
mov ecx, esi
call fcn.0040adff
test eax, eax
je 0x4085cb
mov eax, esi
lea esi, [ebp - 0x234]
call fcn.0040378e
push 0x3a
mov byte [ebp - 4], 1
call fcn.0040af27
pop ecx
push 0x5c
call fcn.0040af27
pop ecx
mov edi, str.SoftwareHaoZip_SFX
push edi
lea eax, [ebp - 0x270]
call fcn.00403762
lea eax, [ebp - 0x270]
call fcn.0040153a
push 0
push 1
lea esi, [ebp - 0x270]
mov byte [ebp - 0x251], al
call fcn.00401169
cmp byte [ebp - 0x251], 0
je 0x4085b8
push edi
lea eax, [ebp - 0x270]
call fcn.00403762
lea ecx, [ebx + 0x194]
lea edi, [ebp - 0x234]
lea eax, [ebp - 0x270]
call fcn.00401675
push 0
push 1
lea esi, [ebp - 0x270]
call fcn.00401169
push 0
push 1
lea esi, [ebp - 0x234]
mov byte [ebp - 4], 0
call fcn.00401169
lea eax, [ebp - 0x280]
call fcn.00402cb9
mov byte [ebp - 4], 2
push dword [ebx + 4]
lea edx, [ebp - 0x280]
lea eax, [ebx + 0x194]
lea ecx, [ebx + 0x14]
push edx
call fcn.004035be
lea esi, [ebp - 0x280]
call fcn.0041736c
push 0
push 1
lea esi, [ebp - 0x250]
call fcn.00401169
call fcn.0043595f
ret