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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x478bf4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1c]
push eax
push 0x18
push ecx
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x14]
test ebx, ebx
push 0
cmove ebx, eax
mov dword [ebp - 0x40], eax
test esi, esi
mov dword [ebp - 0x24], ebx
cmove esi, ebx
mov dword [ebp - 0x28], esi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
mov ebx, eax
mov eax, dword [0x48c5d4]
test eax, eax
je 0x414a2d
mov eax, dword [eax + 0xdcc]
test eax, eax
je 0x414a2d
push 0
push eax
push ebx
call edi
push ebx
mov dword [ebp - 0x34], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
call esi
push ebx
mov dword [ebp - 0x20], eax
call esi
mov esi, eax
mov eax, dword [0x48c5d4]
mov dword [ebp - 0x2c], esi
test eax, eax
je 0x414a64
mov eax, dword [eax + 0xdcc]
test eax, eax
je 0x414a64
push 0
push eax
push esi
call edi
push ebx
mov dword [ebp - 0x30], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 0x3c]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call edi
push dword [ebp - 0x38]
push esi
call edi
mov esi, eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp + 0xc]
push 0xcc0020
push dword [ebp + 0x14]
add eax, dword [ebp + 0x10]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 0x2c]
push esi
call edi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x414ac8
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x30]
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
test eax, eax
je 0x414adb
push 0
push eax
push esi
call edi
test esi, esi
je 0x414ae6
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x414af3
push 0
push eax
push ebx
call edi
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004379e8
mov esp, ebp
pop ebp
ret
Function at 0x415270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x48c5d4]
test eax, eax
je 0x4152af
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x4152af
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x41529a
mov dword [0x48c5d8], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x4152af
mov eax, dword [eax + 0x1f2c]
test eax, eax
je 0x4152af
pop ebp
jmp eax
pop ebp
jmp fcn.004150c0
Function at 0x418e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x48c5d4]
test eax, eax
je 0x418e3f
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x418e3f
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x418e2a
mov dword [0x48c5d8], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x418e3f
mov eax, dword [eax + 0x1f30]
test eax, eax
je 0x418e3f
pop ebp
jmp eax
pop ebp
jmp fcn.00418bd0
Function at 0x419780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x48c5d4]
test eax, eax
je 0x4197bf
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x4197bf
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x4197aa
mov dword [0x48c5d8], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x4197bf
mov eax, dword [eax + 0x1f28]
test eax, eax
je 0x4197bf
pop ebp
jmp eax
pop ebp
jmp fcn.00419510

Function at 0x419f40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x478bf4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4efac8], 0
je 0x419fa7
mov eax, dword [0x4efaa0]
test eax, eax
je 0x41a091
push 0
push 1
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push dword [0x4efaa0]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [0x4efaa0]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [0x4efaa0], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004379e8
mov esp, ebp
pop ebp
ret
cmp dword [0x4efaa8], 0
je 0x41a080
push dword [0x4efaac]
push dword [0x4efab0]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [0x4efab0]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [0x4efaa8]
test eax, eax
je 0x419fec
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [0x4efaa8], 0
push esi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [0x4efaa0]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetParent]
lea eax, [ebp - 0x14]
push 2
push eax
push dword [0x4efaa0]
call esi
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 5
push dword [0x4efaa0]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
push eax
push dword [0x4efaa0]
call esi
push eax
call dword [sym.imp.USER32.dll_ValidateRect]
mov eax, dword [ebp - 0x10]
push dword [0x4efaa0]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0xc], eax
call esi
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [ebp - 0x14]
push 0
push ecx
push eax
call esi
push 0
push 0
push dword [0x4efaa0]
call esi
push dword [0x4efaa4]
call dword [sym.imp.USER32.dll_SetFocus]
pop esi
push 0x2c
push 0
push 0x4efaa0
call fcn.00439330
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004379e8
mov esp, ebp
pop ebp
ret
Function at 0x41a0a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov al, byte [esi]
cmp al, 0x20
jne 0x41a0d1
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x41a0c6
mov dword [ebp + 8], esi
cmp al, 0x2d
je 0x41a0d9
cmp al, 0x2b
jne 0x41a0ea
xor ecx, ecx
cmp al, 0x2d
mov al, byte [esi + 1]
sete cl
inc esi
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], esi
mov ecx, dword [ebp - 0x14]
push edi
mov edi, dword [ebp - 0x10]
cmp al, 0x20
jle 0x41a1a5
mov dword [ebp - 4], edi
nop dword [eax]
movzx edx, word [esi]
mov eax, edx
and eax, 0x3030
cmp eax, 0x3030
jne 0x41a157
mov eax, edx
movzx eax, ax
push 0
push 0x64
push dword [ebp - 4]
movzx eax, byte [eax + 0x4d6610]
cdq
push ecx
mov esi, eax
mov edi, edx
call fcn.00438140
add esi, eax
mov ecx, esi
mov esi, dword [ebp + 8]
adc edi, edx
add esi, 2
mov dword [ebp - 4], edi
mov dword [ebp + 8], esi
movzx edx, word [esi]
mov eax, edx
mov dword [ebp - 0x10], eax
and eax, 0x3030
cmp eax, 0x3030
mov eax, edx
je 0x41a113
cmp dl, 0x20
jle 0x41a19c
cmp dl, 0x2e
je 0x41a195
cmp dl, 0x2c
je 0x41a195
mov dword [ebp + 8], ecx
mov eax, ecx
mov ecx, edi
shld ecx, eax, 2
shl eax, 2
add dword [ebp + 8], eax
movsx eax, dl
adc edi, ecx
cdq
mov ecx, dword [ebp + 8]
shld edi, ecx, 1
add ecx, ecx
add ecx, eax
adc edi, edx
sub ecx, 0x30
sbb edi, 0
mov dword [ebp - 4], edi
jmp 0x41a198
mov dword [ebp - 8], esi
inc esi
mov dword [ebp + 8], esi
cmp byte [esi], 0x20
jg 0x41a100
mov edx, edi
call fcn.00438200
mov eax, dword [ebp - 8]
pop edi
test eax, eax
je 0x41a1bf
sub esi, eax
divsd xmm0, qword [esi*8 + 0x4d6578]
cmp dword [ebp - 0xc], 0
pop esi
je 0x41a1cd
xorps xmm0, xmmword [0x455750]
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x41c340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x478bf4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4e6a00], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, str.UNKNOWN
je 0x41c49b
test edi, edi
je 0x41c49b
cmp dword [ebp + 8], 1
je 0x41c43b
xor ebx, ebx
mov dword [ebp - 8], ebx
cmp byte [edi], bl
je 0x41c49b
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x41c390
sub esi, ecx
lea eax, [esi + 4]
push eax
call fcn.0043d27d
mov dword [ebp - 0xc], eax
lea eax, [esi + 1]
push eax
push edi
mov edi, dword [ebp - 0xc]
push edi
call fcn.00438db0
mov eax, esi
add esp, 0x10
and eax, 3
je 0x41c3d7
push eax
mov eax, esi
and eax, 0xfc
add eax, edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.00438db0
mov ebx, dword [ebp - 8]
add esp, 0xc
sar esi, 2
test esi, esi
je 0x41c3e9
nop
xor ebx, dword [edi + esi*4 - 4]
dec esi
test esi, esi
jne 0x41c3e0
mov esi, dword [ebp - 0xc]
mov eax, 0x446f8657
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x65
sub ebx, eax
mov eax, dword [0x4e6a00]
mov edi, dword [eax + ebx*4 + 4]
test edi, edi
je 0x41c429
push dword [edi]
push esi
call fcn.00444575
add esp, 8
test eax, eax
je 0x41c429
mov edi, dword [edi + 0x1a0]
test edi, edi
jne 0x41c410
push esi
call fcn.0043d262
add esp, 4
test edi, edi
je 0x41c49b
mov ebx, str.UNKNOWN
mov ecx, dword [edi + 4]
mov eax, 0x446f8657
mov esi, dword [ebp + 0x10]
test ecx, ecx
cmovne ebx, ecx
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x65
sub ecx, eax
mov eax, dword [edi + ecx*4 + 0xc]
test eax, eax
je 0x41c488
cmp esi, dword [eax]
je 0x41c485
mov eax, dword [eax + 8]
test eax, eax
jne 0x41c467
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004379e8
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 4]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004379e8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, str.UNKNOWN
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004379e8
mov esp, ebp
pop ebp
ret
Function at 0x4228b0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x478bf4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi]
cmp ecx, 0xf
jne 0x4228e6
lea ecx, [ebp - 0x54]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
movups xmm0, xmmword [ebp - 0x4c]
mov ebx, eax
movups xmmword [ebp - 0x64], xmm0
jmp 0x422933
cmp ecx, 0x85
jne 0x42290f
push 0x81
push dword [edi + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetDCEx]
mov ebx, eax
lea eax, [ebp - 0x64]
push 0
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetUpdateRect]
jmp 0x422933
cmp ecx, 0x14
jne 0x42291e
mov ebx, dword [edi + 0x24]
lea ecx, [ebp - 0x64]
push ecx
push eax
jmp 0x42292d
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x58]
mov esi, eax
sub ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x64]
push ecx
push ebx
mov dword [ebp - 0x68], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
movups xmm0, xmmword [ebp - 0x64]
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x14]
push 2
push eax
push dword [edi]
movups xmmword [ebp - 0x14], xmm0
call esi
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x14]
push eax
push dword [edi]
call esi
push eax
call dword [sym.imp.USER32.dll_ValidateRect]
mov esi, dword [ebp - 0x68]
push edi
mov dword [edi + 0x18], esi
call fcn.00422bc0
mov eax, dword [edi + 0x10]
add esp, 4
cmp dword [eax], 5
jne 0x4229b5
call fcn.00414b10
test dword [eax + 4], 0x20000
jne 0x4229da
xor eax, eax
cmp dword [edi + 0x2c], 0x85
setne al
lea eax, [eax*2 + 2]
push eax
push esi
push 0x318
push dword [edi]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x60]
push 0xcc0020
push 0
push 0
push esi
push eax
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x64]
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
call fcn.00422710
push edi
call fcn.00422bc0
add esp, 8
push dword [ebp - 0x6c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x2c]
pop esi
cmp eax, 0xf
jne 0x422a3b
lea eax, [ebp - 0x54]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x422a49
cmp eax, 0x14
je 0x422a49
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x18], 0
xor ecx, ebp
pop edi
pop ebx
call fcn.004379e8
mov esp, ebp
pop ebp
ret
Function at 0x427250
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
movzx edi, si
lea eax, [esi - 0x70]
cmp ax, 0xb
ja 0x42727f
lea eax, [edi - 0x6f]
push eax
push 0x455ee4
push 0x4e724c
call fcn.00401020
add esp, 0xc
jmp 0x42731f
push 0x32
push 0x4e724c
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
or eax, 0x100
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jne 0x42731f
call fcn.00414b10
test eax, eax
je 0x42731f
call fcn.00414b10
cmp dword [eax], 0
je 0x42731f
mov eax, dword [0x48c5c0]
push ebx
test eax, eax
je 0x4272c7
mov ebx, dword [eax + 0x190]
jmp 0x4272cd
mov ebx, dword [0x48c5c4]
call fcn.00414b10
test eax, eax
je 0x4272e2
call fcn.00414b10
mov eax, dword [eax]
mov dword [ebp + 8], eax
jmp 0x4272e9
mov dword [ebp + 8], 0
push str.Error_getting_virtual_key_name_for_scan_key__02X:__s
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00408940
add esp, 8
push eax
push edi
push str.Error_getting_virtual_key_name_for_scan_key__02X:__s
push dword [0x48c5c0]
push ebx
push 0
push 0x62
push str.D:MyProjectsProPilotLibMainMenu.c
push 2
call dword [ebp + 8]
add esp, 0x28
pop ebx
pop edi
cmp si, 0xd
pop esi
jne 0x42733d
push 0x20
push 0x4e724c
call fcn.00444854
add esp, 8
test eax, eax
je 0x42733d
inc eax
jmp 0x427342
mov eax, 0x4e724c
cmp byte [eax], 0
mov dword [0x4e7280], eax
je 0x42735b
inc eax
push eax
call fcn.0044472e
mov eax, dword [0x4e7280]
add esp, 4
pop ebp
ret
Function at 0x42d0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x478bf4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 8], ecx
test edi, edi
je 0x42d1b8
mov ebx, dword [edi]
test ebx, ebx
je 0x42d1b8
cmp byte [ebx], cl
je 0x42d1b8
mov esi, ebx
lea edx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x42d130
sub esi, edx
mov eax, esi
and eax, 3
je 0x42d15a
push eax
mov eax, esi
and eax, 0xfc
add eax, ebx
push eax
lea eax, [ebp - 8]
push eax
call fcn.00438db0
mov ecx, dword [ebp - 8]
add esp, 0xc
sar esi, 2
test esi, esi
jle 0x42d16f
lea eax, [ebx + esi*4]
xor ecx, dword [eax - 4]
lea eax, [eax - 4]
dec esi
test esi, esi
jg 0x42d164
mov eax, 0x446f8657
mov dword [edi + 0x5808], 0xffffffff
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x65
sub ecx, eax
mov esi, dword [ecx*4 + 0x4ef804]
test esi, esi
je 0x42d1b8
nop dword [eax + eax]
push dword [esi + 4]
push dword [edi]
call fcn.00444479
add esp, 8
test eax, eax
je 0x42d1cb
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x42d1a0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004379e8
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x6918]
cmp eax, dword [esi + 0x1c]
jne 0x42d1b8
mov eax, dword [esi + 0x10]
mov dword [edi + 0x5770], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x5808], eax
movzx eax, byte [esi + 8]
cmp eax, dword [edi + 0x78]
jne 0x42d1b8
push 0x190
lea eax, [edi + 0x7c]
push 0
push eax
call fcn.00439330
xor edx, edx
add esp, 0xc
cmp dword [edi + 0x78], edx
jle 0x42d24b
lea ebx, [edi + 0x220]
mov eax, dword [esi + 0xc]
movzx eax, byte [eax + edx*8 + 1]
mov dword [ebx - 4], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + edx*8 + 4]
mov dword [ebx], eax
mov eax, dword [esi + 0xc]
mov al, byte [eax + edx*8]
test al, al
je 0x42d239
movsx eax, al
lea ecx, [edx + 1]
mov dword [edi + eax*4 + 0x78], ecx
inc edx
add ebx, 0xd0
cmp edx, dword [edi + 0x78]
jl 0x42d211
cmp dword [edi + 0x7c], 0
jne 0x42d252
mov dword [edi + 0x7c], 1
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004379e8
mov esp, ebp
pop ebp
ret
Function at 0x44d9a0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044d61d
Function at 0x415d40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x415d5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415d61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415d50
mov eax, 1
add ebx, ebx
jne 0x415d73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415d68
jne 0x415d84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415d68
xor ecx, ecx
sub eax, 3
jb 0x415d98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x415e0a
mov ebp, eax
add ebx, ebx
jne 0x415da3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415db0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x415dd4
inc ecx
add ebx, ebx
jne 0x415dc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x415db5
jne 0x415dd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415db5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x415df4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x415de5
jmp 0x415d56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x415df4
add edi, ecx
jmp 0x415d56
pop esi
mov edi, esi
mov ecx, 0x314
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x415e12
cmp byte [edi], 0
jne 0x415e12
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 0x415e17
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x415e86
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15138]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15190]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x415e44
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15198]
or eax, eax
je 0x415e80
mov dword [ebx], eax
add ebx, 4
jmp 0x415e61
call dword [esi + 0x15194]
mov ebp, dword [esi + 0x1519c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x415eba
sub esp, 0xffffff80
jmp 0x4090dc
Function at 0x402c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, dword [0x429684]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
call esi
and eax, 0x136dc45e
xor edx, edx
mov ecx, 0xeeff5aef
div ecx
mov edi, eax
and edi, 0x19
call esi
mov ecx, eax
and ecx, 0x31
or ecx, edi
or ecx, 0xb64133c6
xor edx, edx
mov eax, 0x44b
div ecx
xor eax, ebx
mov ebx, dword fs:[0x30]
mov dword [0x429684], eax
mov edi, dword [0x429684]
call esi
and eax, 0x5951
sub eax, 0xfc
sub edi, eax
imul edi, edi, 0xff
call esi
mov ecx, dword [ebx + 0xc]
and eax, 0x59
imul eax, edi
mov edi, dword [ecx + 0xc]
mov dword [0x429684], eax
xor eax, 0x2560
mov ebx, eax
call esi
mov ecx, eax
and ecx, 0x60b9
or ecx, ebx
xor ecx, 0xe81
mov dword [0x429684], ecx
test edi, edi
je 0x402d64
mov ebx, 0x42966c
xor ecx, 0x4000
and ecx, 0x30bd4400
or ecx, 0x8f2
xor ecx, 0x10884802
or ecx, 0x4f42330d
xor edx, edx
push 0xb
pop eax
div ecx
xor edx, edx
mov esi, dword [edi + 0x18]
mov ecx, eax
or ecx, 0xfe047cec
mov eax, 0x42f5
div ecx
mov dword [0x429684], eax
test esi, esi
je 0x402d64
jmp loc.00437a54
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x4035f4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x403622
mov ecx, dword [ebp - 4]
cmp ecx, 2
jl 0x403622
push dword [eax + ecx*4 - 4]
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
leave
ret
xor eax, eax
leave
ret
Function at 0x403626
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
call fcn.004035f4
movzx edi, byte [ebp - 1]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add eax, 0x46a5d688
mov dword [ebp + 0x10], eax
mov eax, 0xb2c3ca97
mov ecx, 0x2ec09189
xor esi, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 0xc]
mov edx, 0xd13f6e76
sub eax, ecx
mov dword [ebp - 0x28], 0xffffe55a
sub dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], edx
mov byte [ebp - 5], 0xc
mov byte [ebp - 4], 0xff
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], edx
mov byte [ebp - 7], 0xc
mov byte [ebp - 6], 0xff
mov dword [ebp - 0x2c], eax
jmp 0x4036a8
push esi
call fcn.0040329a
mov dword [0x429684], eax
mov eax, esi
call fcn.004032b8
mov dword [0x429684], eax
mov eax, dword [ebp + 8]
movzx edi, byte [eax]
mov ecx, edi
shl ecx, 0x10
push esi
call fcn.00403586
pop ecx
pop ecx
mov dword [0x429684], eax
mov dword [ebp - 0x24], eax
shl edi, 2
call ebx
mov ecx, eax
mov eax, dword [ebp - 0x24]
and ecx, 0x60012180
xor edx, edx
or ecx, 0xf941833
div ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
shl eax, 0x14
push eax
mov ecx, esi
imul edx, edi
xor edx, 0x125a
imul edx, esi
mov dword [0x429684], edx
call fcn.004035af
add esi, dword [ebp + 0xc]
mov dword [0x429684], eax
mov eax, dword [ebp - 0x2c]
mov al, byte [eax + esi]
movzx edi, al
mov byte [ebp - 3], al
pop ecx
mov eax, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], edi
call fcn.004032d8
mov dword [0x429684], eax
mov esi, eax
call ebx
xor edi, 0xa0
and eax, edi
and eax, 0x47e1
or esi, 0xe2f3608e
xor edx, edx
div esi
movzx esi, byte [ebp + 0x10]
push 0x4b
pop eax
mov dword [ebp - 0x24], esi
sub eax, edx
mov dword [0x429684], eax
and eax, 0x58
xor eax, 0x2f64
mov edi, eax
call ebx
and eax, 0x6fecc05c
imul eax, edi
xor edx, edx
mov ecx, 0x9dfca7bd
div ecx
mov eax, esi
sub eax, edx
mov dword [0x429684], eax
mov eax, esi
jmp loc.00437000

Function at 0x403ee8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 2
mov dword [ebp - 8], 0x3be501e
mov dword [ebp - 4], 0xfc41afe1
pop esi
lea edx, [edx]
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 4]
xor eax, dword [0x429680]
not eax
push ebx
pop dword [ebp - 0xc]
push 0
mov bl, bl
call eax
dec esi
jne 0x403f01
pop esi
pop ebx
leave
ret