joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2a98
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4c8d60]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x4a2b3e
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4a2add
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4a2b19
jmp 0x4a2ae1
pop edx
pop eax
jge 0x4a2b19
mov eax, dword [0x4c8d60]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0049d3fc
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4a2b3e
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4a2b3e
cmp dword [ebx + 0x11c], 0
je 0x4a2b3e
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0043450c
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4a9d50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a9e0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040533c
mov eax, dword [0x4c8950]
cmp byte [eax], 0
je 0x4a9dbf
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004056ac
mov eax, dword [ebx]
call fcn.004054d8
push eax
mov eax, dword [ebx]
call fcn.004054c8
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004054d8
mov edx, eax
dec edx
mov eax, ebx
call fcn.004056ac
jmp 0x4a9df1
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409f24
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004054b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9e11
lea eax, [ebp - 0x3f0]
call fcn.00404b5c
ret

Function at 0x4acf78
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4acfd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x310], ecx
mov dword [esi + 0x314], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x304], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x310]
mov eax, esi
call fcn.004acfdc
mov eax, dword [esi + 0x310]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acfd9
ret
Function at 0x4b3830
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4b3866
jmp 0x4b390c
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4b38aa
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x4b38aa
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x4b38ba
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x4b38ba
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4b38d3
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004b01bc
jmp 0x4b390c
mov dl, 1
mov eax, dword [0x424cec]
call fcn.00426f8c
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00427960
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00426a58
mov edx, esp
mov eax, esi
call fcn.0042769c
mov eax, esi
call fcn.00403d10
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4b613c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0044c9b4
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x2c1], 0
xor edx, edx
mov eax, ebx
call fcn.004447f0
pop ebx
ret
Function at 0x4c0b6c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x4c0b92
push 0
mov eax, dword [ebx + 0x94]
call fcn.0044c9b4
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x4c0c4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4c0dbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 0xc]
test byte [eax + 0x1c], 0x10
jne 0x4c0da3
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.00409f24
mov dl, 1
mov eax, dword [0x4965cc]
call fcn.00496624
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x4175d4]
call fcn.00403ce0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.004966a0
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4c0d9f
mov dl, 1
mov eax, dword [0x497b28]
call fcn.00497b90
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
mov edx, 0x4c0dd4
call fcn.00496e14
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404e74
xor eax, eax
push ebp
push 0x4c0d98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.00497e98
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004c0ddc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0d9f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.00403d10
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.00403d10
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.00403d10
ret
movzx ebx, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0dc5
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b80
ret
Function at 0x4c2b84
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c2ce4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4172d0]
call fcn.00403ce0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov eax, dword [ebp - 0x10]
call fcn.00402f34
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0
jbe 0x4c2be5
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4c2caa
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
and eax, 1
cmp eax, 1
jne 0x4c2c1d
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
call fcn.00404d54
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4c2c59
inc ebx
xor esi, esi
lea ecx, [ebp - 0x18]
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00404fec
push eax
call sub.wininet.dll_DeleteUrlCacheEntry
inc esi
dec ebx
jne 0x4c2c3a
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00402f50
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_FindNextUrlCacheEntryA
mov eax, dword [ebp - 0x10]
call fcn.00402f34
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0
jbe 0x4c2c91
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_FindNextUrlCacheEntryA
test eax, eax
jne 0x4c2c01
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00402f50
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_FindCloseUrlCache
mov eax, dword [ebp - 0x14]
call fcn.00403d10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2ceb
lea eax, [ebp - 0x18]
call fcn.00404b5c
lea eax, [ebp - 4]
call fcn.00404b5c
ret
Function at 0x40d850
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x40d889
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0041b584
jmp 0x40d892
mov eax, ebx
mov edx, esi
call fcn.0041b4e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d89c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x40d8bd
mov al, byte [esp]
jmp 0x40d8bf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40df44
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ddbc
mov eax, dword [0x42f4c0]
cmp byte [eax], 0
je 0x40dfb1
mov eax, dword [0x42f4d8]
call fcn.0041a31c
call fcn.00419ef0
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040c270
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40dff8
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x40dfe7
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x42f560]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x42f674]
call fcn.0041c884
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret

Function at 0x40ea8c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40eaf0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0041b6fc
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.0040c0e0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eaf7
lea eax, [ebp - 0xc]
call fcn.0041b494
ret
Function at 0x41a928
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x42bedc]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x41a9c0
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x41a9a0
xor eax, eax
push ebp
push 0x41a999
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x41a9dc
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a9a0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x42bedc]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x42bedc], ax
mov esp, ebp
pop ebp
ret

Function at 0x41b318
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x439694], 0
je 0x41b379
cmp word [0x439868], 0xd7b2
jne 0x41b341
cmp dword [0x439870], 0
jbe 0x41b341
mov eax, 0x439864
call dword [0x439880]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x41b3a0
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x42bee8], 0
jne 0x41b395
push 0
push 0x42bf40
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x41ca78
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x41cca8
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x41cafb
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x41cca8
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x41cafb
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x41ccc4
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x41cb84
xor eax, eax
push ebp
push 0x41cb7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0041c8c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x41cb62
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x41cce4
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x41cb62
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cb84
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x41cc9e
cmp byte [ebp - 0xd], 0
jne 0x41cbcb
cmp byte [ebp - 0x12], 0
je 0x41cc9e
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x41cbe4
dec ebx
cmp byte [ebx], 0x2e
je 0x41cbf3
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x41cbe3
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x41cc9e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x41cc30
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x41cc9e
cmp byte [ebp - 0xd], 0
je 0x41cc9e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x41cc9e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cf94
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x439c08], 1
jae 0x41d01a
mov byte [0x42bed8], 2
mov dword [0x439658], 0x428ac6
mov dword [0x43965c], 0x428ad8
mov byte [0x439696], 2
mov dword [0x439644], 0x41c0b0
call fcn.0041a8f8
test al, al
je 0x41cfd7
call fcn.0041a928
call fcn.0041a9ec
mov word [0x43969c], 0xd7b0
mov word [0x439868], 0xd7b0
mov word [0x439a34], 0xd7b0
call fcn.0041bfa4
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x439688], eax
call fcn.004189dc
mov dword [0x439684], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x43967c], eax
ret

Function at 0x4234b8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x42351a
call fcn.00423468
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0041dc44
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0041dc44
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x423598
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x42dd64], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x423672
cmp dword [0x42dd60], 0
jne 0x423672
cmp dword [0x42de78], 0
je 0x42362c
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00423368
add esp, 8
mov ebx, eax
test eax, eax
jne 0x423612
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00423368
add esp, 8
mov ebx, eax
test eax, eax
jne 0x423612
lea ebx, [ebp - 0x84]
jmp 0x423613
inc ebx
call fcn.00423554
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4236ad
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x42dd68
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0041dc44
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x42dd6b
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4236ad
cmp dword [0x42dd60], 0
je 0x42368c
cmp dword [0x42dd60], 0xffffffff
je 0x4236ad
push esi
call dword [0x42dd60]
pop ecx
mov eax, dword [0x42dd64]
test eax, eax
je 0x4236ad
cmp dword [0x42dd64], 0xffffffff
je 0x4236ad
cmp byte [eax], 0
je 0x4236ad
push esi
push eax
call fcn.004234b8
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42440c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 1
mov dword [ebp - 4], esi
cmp edi, 1
jne 0x424492
mov eax, dword [0x43a5e4]
inc dword [0x43a5e4]
test eax, eax
jne 0x424492
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x43a5b0], eax
mov edx, dword [ebp + 0x10]
mov dword [0x429087], edx
mov ecx, dword [esi + 0x44]
push ecx
call fcn.0041f284
pop ecx
cmp dword [0x42ddc0], 0
je 0x42447d
call fcn.00424290
mov ebx, eax
test eax, eax
je 0x42447d
mov edx, dword [ebx]
cmp dword [ebx + edx*4 + 4], 0xffffffff
je 0x42447d
mov ecx, dword [ebx]
inc dword [ebx]
mov dword [ebx + ecx*4 + 4], esi
jmp 0x424492
xor eax, eax
lea edx, [ebp - 8]
push 0
push edx
mov dword [0x42ddc0], eax
call fcn.00424298
add esp, 8
mov ecx, dword [ebp + 0x18]
push ecx
push edi
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [esi + 0x18]
push edx
call fcn.004245a0
mov ebx, eax
test edi, edi
jne 0x424501
test edi, edi
jne 0x4244d2
dec dword [0x43a5e4]
jne 0x4244d2
cmp dword [0x43a5b0], 0
je 0x4244d2
mov eax, dword [0x43a5b0]
push eax
call sub.KERNEL32.DLL_FreeEnvironmentStringsA
xor edx, edx
mov dword [0x43a5b0], edx
cmp dword [0x43a5e4], 0
jne 0x424501
cmp dword [0x42ddc0], 0
jne 0x424501
cmp dword [0x42ddb0], 0
je 0x4244f3
call dword [0x42ddb0]
push 1
lea ecx, [ebp - 8]
push ecx
call fcn.00424298
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x102ed16
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1035f7c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x102ed5b
cmp dword [ebp - 0x108], 2
jne 0x102ed5b
cmp dword [ebp - 0x114], 5
jb 0x102ed5b
xor eax, eax
inc eax
jmp 0x102ed5d
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.0102451e
leave
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130