joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4028de
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x34
mov eax, 0x426f68
call fcn.00410e33
mov edi, ecx
lea esi, [edi + 0x1a0]
cmp dword [esi + 0x14], 8
jb 0x4028fc
mov eax, dword [esi]
jmp 0x4028fe
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402917
mov ecx, edi
call fcn.0040266b
xor eax, eax
jmp 0x4029bc
push str.__no_gui
lea ecx, [ebp - 0x28]
call fcn.00402caf
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x140]
push eax
call fcn.00405467
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
xor ebx, ebx
push 0
inc ebx
push ebx
call fcn.0040360a
push str.__only_amigo_icon
lea ecx, [ebp - 0x28]
call fcn.00402caf
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
mov ecx, dword [edi + 0x140]
push eax
call fcn.00405467
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push ebx
call fcn.0040360a
mov ecx, dword [edi + 0x140]
lea eax, [ebp - 0x40]
push eax
call fcn.00404c6e
push ecx
push ecx
mov edx, eax
mov dword [ebp - 4], 2
mov ecx, esi
call fcn.0040b7b1
pop ecx
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.0040360a
test edi, edi
jne 0x4029ba
cmp dword [esi + 0x14], 8
jb 0x4029b3
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
call fcn.00410de2
ret

Function at 0x402d85
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push esi
mov esi, ecx
jne 0x402e7e
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x402db4
sub esp, 0x10
call fcn.00403650
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x402e80
cmp eax, 0xf
jne 0x402dc8
lea ecx, [esi + 0x20]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp + 0x18]
and dword [eax], 0
jmp 0x402dac
cmp eax, 0x14
jne 0x402dd8
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 1
jmp 0x402dac
cmp eax, 0x201
jne 0x402dec
push ecx
push dword [ebp + 0x14]
push ecx
push ecx
call fcn.004036c2
jmp 0x402da7
cmp eax, 0x202
jne 0x402dfe
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
jmp 0x402dac
cmp eax, 0x18
jne 0x402e56
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
cmp byte [0x435a70], 0
mov edi, eax
jne 0x402e4b
xor ecx, ecx
mov byte [0x435a70], 1
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
push eax
push ecx
push esi
push 0x403ab4
push ecx
push ecx
call fcn.0040d378
add esp, 0x18
test eax, eax
je 0x402e4b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
xor eax, eax
inc eax
pop edi
jmp 0x402e80
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x1c], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push eax
call fcn.00403f97
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x402dac
xor eax, eax
pop esi
pop ebp
ret 0x18
Function at 0x406cdd
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
push esi
push eax
mov esi, ecx
push eax
push eax
push eax
mov dword [esi], 0x42ed88
mov dword [esi + 4], eax
or dword [esi + 0xc], 0xffffffff
push str.AmigoLoader
mov dword [esi + 8], eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 4], eax
test eax, eax
je 0x406d9a
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 4]
push edi
push 4
push ecx
push 2
push eax
mov dword [ebp - 4], 0x1b58
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x406d38
call edi
push 4
lea eax, [ebp - 4]
push eax
push 5
push dword [esi + 4]
call ebx
test eax, eax
jne 0x406d4b
call edi
push 4
lea eax, [ebp - 4]
push eax
push 6
push dword [esi + 4]
call ebx
test eax, eax
jne 0x406d5e
call edi
push 3
pop ecx
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], ecx
push eax
push ecx
push dword [esi + 4]
call ebx
test eax, eax
jne 0x406d76
call edi
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
and dword [ebp - 0xc], 0
push 8
push eax
push 0x32
push dword [esi + 4]
mov dword [ebp - 0x10], 1
call ebx
test eax, eax
jne 0x406d98
call edi
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407f0f
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x433558]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push str.AMIGOLOADERV2
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete cl
test cl, cl
jne 0x4080b0
mov eax, dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
push esi
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], esi
push eax
mov byte [esp + 0x38], 1
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
call fcn.00407e9f
push ebx
lea ecx, [esp + 0x64]
call fcn.00402caf
xorps xmm0, xmm0
mov dword [esp + 0x1c], esi
movdqu xmmword [esp + 0xc], xmm0
call fcn.00405bc5
mov dword [esp + 0x18], eax
lea ecx, [esp + 0xc]
lea eax, [esp + 0x60]
mov dword [esp + 0x20], esi
push eax
call fcn.00404cfa
push esi
push 1
lea ecx, [esp + 0x68]
call fcn.0040360a
cmp dword [esp + 0x20], esi
jne 0x408024
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
xor eax, eax
mov word [esp + 0x44], ax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], esi
mov dword [esp + 0x60], esi
call fcn.0040a63e
push eax
lea ecx, [esp + 0x10]
call fcn.00404cfa
push esi
push 1
lea ecx, [esp + 0x68]
call fcn.0040360a
push esi
push 1
lea ecx, [esp + 0x4c]
call fcn.0040360a
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x7c]
call fcn.00401f8b
call dword [sym.imp.USER32.dll_GetActiveWindow]
push esi
push esi
lea ecx, [esp + 0x88]
mov ebx, eax
call fcn.004015bd
test eax, eax
jne 0x408059
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
or esi, 0xffffffff
jmp 0x408085
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00407e48
push esi
push 0x40810c
push ebx
push 0x82
push dword [0x434a94]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
lea ecx, [esp + 0x78]
call fcn.0040211f
lea ecx, [esp + 0x18]
call fcn.004054f0
lea ecx, [esp + 0xc]
call fcn.00405441
cmp byte [esp + 0x2c], 0
je 0x4080b0
lea ecx, [esp + 0x24]
call fcn.004080d4
test edi, edi
je 0x4080bb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x254]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040cacf
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408b17
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, ecx
cmp byte [edi + 0x24], 0
jne 0x408bbc
push esi
xor eax, eax
mov dword [ebp - 4], 0x1388
push eax
push eax
push eax
push eax
push str.AmigoLoader
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
je 0x408bbb
push 4
lea eax, [ebp - 4]
push eax
push 2
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x408bb4
push 4
lea eax, [ebp - 4]
push eax
push 6
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x408bb4
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 3
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x408bb4
lea eax, [edi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x408b93
mov eax, dword [eax]
xor ecx, ecx
push ecx
push 0x80000000
push ecx
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
test eax, eax
je 0x408bb4
push eax
mov byte [edi + 0x24], 1
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40a22a
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov esi, ecx
call fcn.0040a2c7
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x40a2bd
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
test eax, eax
je 0x40a2b6
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
mov dword [esi + 0xc], edx
test edx, edx
je 0x40a2ad
push 6
pop ecx
mov dword [ebp - 0x1c], edi
xor eax, eax
lea edi, [ebp - 0x18]
rep stosd dword es:[edi], eax
push 0x1c
lea ecx, [ebp - 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40a2ad
mov ecx, dword [ebp - 0x10]
mov al, 1
mov dword [esi + 0x10], ecx
jmp 0x40a2bf
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0040a2c7
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x40a305
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
jne 0x40a316
xor al, al
jmp 0x40a37f
mov ecx, 0x5a4d
push esi
cmp word [eax], cx
jne 0x40a37c
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x40a37c
mov edx, dword [ecx + eax + 0x98]
xor ecx, ecx
lea esi, [edx + eax]
test edx, edx
jne 0x40a33f
mov esi, ecx
test esi, esi
je 0x40a37c
lea eax, [esi + 8]
test eax, eax
je 0x40a37c
cmp byte [eax], 0x30
lea edx, [eax + 1]
jne 0x40a36e
mov al, byte [edx]
cmp al, 0x82
jne 0x40a36e
movzx ecx, byte [edx + 1]
movzx eax, byte [edx + 2]
shl ecx, 8
add ecx, 0x13
add ecx, eax
and ecx, 0xffffff8
test ecx, ecx
je 0x40a37c
mov dword [edi + 0x14], ecx
mov al, 1
mov dword [edi + 0x18], esi
jmp 0x40a37e
xor al, al
pop esi
pop edi
pop ebp
ret 4
Function at 0x40a80a
Capabilities:
Encode data using xor

Disassembly:
push 0x844
mov eax, 0x4278dd
call fcn.00410e33
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x844]
xor esi, esi
mov dword [ebp - 0x83c], eax
mov ecx, 0xff
mov dword [ebp - 0x850], esi
mov eax, esi
mov dword [ebp - 0x848], ecx
mov dword [ebp - 0x84c], eax
mov dword [ebp - 0x844], 0x4fd7e7d
mov dword [ebp - 0x82c], esi
mov dword [ebp - 0x838], edx
push 0x20
pop ebx
or edi, 0xffffffff
dec ebx
shr edi, 1
mov dword [ebp - 0x834], ebx
cmp edi, 0x7ffffffd
ja 0x40a85f
lea edx, [eax - 0x80000000]
mov dword [ebp - 0x830], edi
lea eax, [ecx - 0x80000000]
mov dword [ebp - 0x840], ebx
sub eax, edx
mov dword [ebp - 0x828], edx
cmp eax, 0xffffffff
jne 0x40a8bf
mov edi, esi
mov dword [ebp - 0x814], esi
lea ecx, [ebp - 0x838]
call fcn.0040ab8a
lea ecx, [ebx - 1]
add esi, ebx
shl edi, cl
add edi, edi
or edi, eax
cmp esi, 0x20
jb 0x40a89d
xor esi, esi
jmp 0x40a96f
inc eax
mov dword [ebp - 0x820], eax
lea ecx, [eax - 1]
mov dword [ebp - 0x814], ecx
mov dword [ebp - 0x818], esi
mov eax, esi
mov dword [ebp - 0x824], eax
test ecx, ecx
je 0x40a92b
lea eax, [ebx - 1]
mov ebx, esi
mov dword [ebp - 0x81c], eax
lea ecx, [ebp - 0x838]
call fcn.0040ab8a
mov ecx, dword [ebp - 0x81c]
shl ebx, cl
shl esi, cl
add ebx, ebx
add esi, esi
or ebx, edi
or esi, eax
cmp ebx, dword [ebp - 0x814]
jb 0x40a8ec
mov dword [ebp - 0x824], ebx
mov ebx, dword [ebp - 0x840]
mov eax, dword [ebp - 0x824]
mov dword [ebp - 0x818], esi
xor esi, esi
xor edx, edx
div dword [ebp - 0x820]
mov ecx, eax
mov dword [ebp - 0x81c], edx
mov eax, dword [ebp - 0x818]
xor edx, edx
div dword [ebp - 0x820]
cmp eax, ecx
jb 0x40a95f
mov ecx, dword [ebp - 0x814]
cmp dword [ebp - 0x81c], ecx
jne 0x40a8cf
mov eax, dword [ebp - 0x818]
xor edx, edx
div dword [ebp - 0x820]
mov edi, edx
mov edx, dword [ebp - 0x82c]
mov ebx, 0x800
mov eax, dword [ebp - 0x828]
add eax, edi
add eax, 0x80000000
mov byte [ebp + edx - 0x810], al
inc edx
mov dword [ebp - 0x82c], edx
cmp edx, ebx
jge 0x40a9aa
mov ecx, dword [ebp - 0x848]
mov eax, dword [ebp - 0x84c]
jmp 0x40a859
push ebx
lea ecx, [ebp - 0x838]
call fcn.0040aa34
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov edi, dword [ebp - 0x838]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cmp eax, ebx
jne 0x40a9ec
lea ebx, [ebp - 0x810]
sub ebx, edi
mov eax, dword [ecx]
lea edx, [edi + esi]
mov cl, byte [ebx + edx]
xor cl, byte [eax + esi]
inc esi
mov byte [edx], cl
mov ecx, dword [ebp + 0xc]
cmp esi, 0x800
jl 0x40a9d3
mov esi, dword [ebp - 0x83c]
mov ecx, esi
push edi
call fcn.00402c4e
test edi, edi
je 0x40aa05
push edi
call fcn.0040caca
pop ecx
mov eax, esi
call fcn.00410de2
ret 8
Function at 0x40acc5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x42790d
call fcn.00410e00
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [ebx], esi
je 0x40ada4
cmp dword [ebx], 0xffffffff
je 0x40ada4
push 0x40
pop edi
push edi
lea ecx, [ebp - 0x24]
call fcn.0040ae25
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x40ad05
mov ecx, dword [eax]
jmp 0x40ad07
mov ecx, eax
mov esi, dword [ebp - 0x24]
lea eax, [edi + edi]
mov dword [ebp - 0x14], eax
xor edi, edi
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push edi
push ecx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ad5b
cmp dword [ebp - 0x10], 1
je 0x40ad3a
cmp dword [ebp - 0x10], 2
je 0x40ad3a
push 0xd
pop eax
jmp 0x40ad5b
test esi, esi
je 0x40ad59
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40ad54
test al, 1
jne 0x40ad35
shr eax, 1
cmp word [esi + eax*2 - 2], di
je 0x40ad59
jmp 0x40ad35
xor eax, eax
mov word [esi], ax
mov eax, edi
mov dword [ebx + 0xc], eax
cmp eax, 0xea
jne 0x40ad78
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
sub edi, esi
and edi, 0xfffffffe
push edi
call fcn.0040ae89
jmp 0x40acf8
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp + 8]
cmp dword [ebx + 0xc], edi
je 0x40ad9c
push dword [ebp + 0x10]
call fcn.00402c87
test esi, esi
je 0x40adaf
push esi
call fcn.0040caca
pop ecx
jmp 0x40adaf
push esi
call fcn.00402caf
jmp 0x40ad8f
push dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
call fcn.00402c87
mov eax, dword [ebp + 8]
call fcn.00410dce
ret 0xc

Function at 0x40adba
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x40ae20
cmp dword [edi], 0xffffffff
je 0x40ae20
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x40add5
mov ecx, dword [ecx]
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x40ade1
mov esi, dword [esi]
test ecx, ecx
jne 0x40adea
push 0xd
pop eax
jmp 0x40ae1c
and dword [ebp + 0xc], 0
mov edx, ecx
push ebx
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp + 0xc]
jne 0x40adf4
sub edx, ebx
sar edx, 1
lea eax, [edx*2 + 2]
push eax
push ecx
push 1
xor eax, eax
push eax
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ebx
mov dword [edi + 0xc], eax
pop esi
pop edi
pop ebp
ret 8
Function at 0x40b350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x427999
call fcn.00410e00
mov edi, ecx
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40b3dd
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push esi
test edi, edi
jne 0x40b389
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x40b3dd
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x40b398
push esi
jmp 0x40b381
push edi
lea ecx, [ebp - 0x18]
call fcn.0040b3e5
push edi
mov edi, dword [ebp - 0x18]
push ebx
push edi
call fcn.00410690
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
add esp, 0xc
cmp ecx, eax
je 0x40b3cb
mov eax, dword [ecx]
mov dword [ecx], edi
mov edi, eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test edi, edi
je 0x40b3dd
push edi
call fcn.0040caca
pop ecx
call fcn.00410dce
ret 8

Function at 0x40b7b1
Capabilities:
Create process on windows

Disassembly:
push 0x7c
mov eax, 0x427a94
call fcn.00410e33
mov edi, edx
mov esi, ecx
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.00412ee0
add esp, 0xc
mov dword [ebp - 0x88], 0x44
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
push esi
movdqu xmmword [ebp - 0x3c], xmm0
call fcn.00402c87
mov esi, 0x42ece0
mov dword [ebp - 4], ebx
push esi
call fcn.00401118
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00405cd6
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.004043fc
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x2c], ebx
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40b85a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x2c], esi
jmp 0x40b85d
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x40b87c
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [ebp - 0x2c]
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040360a
mov eax, esi
call fcn.00410de2
ret
Function at 0x4233a0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x433558]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00413115
mov dword [ebp - 0x14], eax
cmp dword [0x435a58], esi
jne 0x423493
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x423420
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x423573
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x423573
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x423573
push eax
call ebx
push 0x42e8d0
push edi
mov dword [0x435a58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x435a5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x435a60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x435a68], eax
test eax, eax
je 0x423490
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x435a64], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4234b8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4234ab
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4234cd
push 4
pop eax
jmp 0x423575
cmp dword [ebp - 0x14], esi
je 0x4234cd
push dword [0x435a58]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4234b2
mov eax, dword [0x435a64]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x42352b
cmp dword [0x435a68], edi
je 0x42352b
push eax
call ebx
push dword [0x435a68]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42352b
test eax, eax
je 0x42352b
call ecx
test eax, eax
je 0x423520
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x423520
test byte [ebp - 8], 1
jne 0x42352b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x42355b
mov eax, dword [0x435a5c]
cmp eax, edi
je 0x423558
push eax
call ebx
test eax, eax
je 0x423558
call eax
mov esi, eax
test esi, esi
je 0x423558
mov eax, dword [0x435a60]
cmp eax, edi
je 0x423558
push eax
call ebx
test eax, eax
je 0x423558
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x435a58]
call ebx
test eax, eax
je 0x423573
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x423575
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cacf
mov esp, ebp
pop ebp
ret
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x54ae3a01
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x42cd70
mov ecx, 0x2bd50ca
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
jmp 0x401219
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

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219