joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c4c40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50aca7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.004f710d
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.004f710d
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004c5760
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x4c57b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50ad80
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00502eff
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4c57e3
xor al, al
jmp 0x4c590f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x4c5805
xor al, al
jmp 0x4c590f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4c5818
xor al, al
jmp 0x4c590f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4c582c
xor al, al
jmp 0x4c590f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.004f71d2
test eax, eax
jne 0x4c5860
xor al, al
jmp 0x4c590f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x65a39c
mov dword [esp + 0x20], ebp
call fcn.00502eff
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004ffd97
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004ffdee
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4c58f4
mov ax, word [ebx]
test ax, ax
je 0x4c58e6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004c5930
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4c58ca
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004ffdee
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4c5e30
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.00501447
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4c5e76
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.004e7078
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x6814b8
push ecx
call fcn.004e8e07
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4c7bf0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4c7c93
test eax, eax
jbe 0x4c7c93
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4c7c93
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4c7c3e
xor esi, esi
jmp 0x4c7c44
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4c7c6f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004cc0d0
add esi, eax
push esi
mov ebx, esi
call fcn.004cc0d0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4c7c50
pop ebp
test edi, edi
pop edi
jne 0x4c7c93
test ebx, ebx
je 0x4c7c93
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004e7ae0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4c7db5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4c7ecd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c7ecd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004fa9bc
mov esi, eax
test esi, esi
je 0x4c7ecd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4c7ecd
mov ecx, esi
call fcn.004c7d40
cmp edi, eax
jge 0x4c7ecd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4c7e53
mov dword [esp + 0x34], 1
jmp 0x4c7eae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4c7ecd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004c6580
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4d1910
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6c5388]
xor edx, edx
cmp eax, edx
jne 0x4d1936
xor eax, eax
mov byte [eax + 0x6c5288], al
inc eax
cmp eax, 0x100
jl 0x4d191e
mov dword [0x6c5388], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6c5288
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4d19c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4d199a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4d1968
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4d1a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4d1a93
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4d1a7a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d8410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50b7be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004d8d30
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x65b094
call fcn.004f8cbe
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4d84a3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004f8cbe
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4d849c
push 0
mov ecx, eax
call fcn.004cf540
mov dword [esi + 0xc], eax
jmp 0x4d84a5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4d84a5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4fb360
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4fb398
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004f93d8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004f93b0
jmp 0x4fb3a4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4fcb5b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4fcb9d
call fcn.00502eff
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4fcb9d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4fcb94
xor eax, eax
jmp 0x4fcba5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004fcbab
pop edi
pop esi
pop ebx
ret 4

Function at 0x50342f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x50345d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x50347b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00503395
jmp 0x50347b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x50347b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00503395
test edi, edi
mov eax, edi
jne 0x503465
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x5804e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4fe015
lea edi, [esi - 0xfd015]
mov dword [edi + 0x12ccf0], 0xff3d8503
push edi
or ebp, 0xffffffff
jmp 0x58050a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x580511
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580500
mov eax, 1
add ebx, ebx
jne 0x580523
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x580534
jne 0x580553
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580553
dec eax
add ebx, ebx
jne 0x580540
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x580518
add ebx, ebx
jne 0x58054f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5805a5
xor ecx, ecx
sub eax, 3
jb 0x58056b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5805da
sar eax, 1
mov ebp, eax
jmp 0x580576
add ebx, ebx
jne 0x580576
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580544
inc ecx
add ebx, ebx
jne 0x580584
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580544
add ebx, ebx
jne 0x580591
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x580586
jne 0x5805a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x580586
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5805c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5805b6
jmp 0x580506
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5805c4
add edi, ecx
jmp 0x580506
pop esi
mov edi, esi
mov ecx, 0x6211
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5805e2
cmp byte [edi], 0x13
jne 0x5805e2
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 0x5805e7
lea edi, [esi + 0x17e000]
mov eax, dword [edi]
or eax, eax
je 0x580656
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1804ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18056c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x580614
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x180574]
or eax, eax
je 0x580650
mov dword [ebx], eax
add ebx, 4
jmp 0x580631
call dword [esi + 0x180570]
mov ebp, dword [esi + 0x180578]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x1806b1]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5806a2
sub esp, 0xffffff80
jmp 0x4014a0
Function at 0x406e61
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x431414], 0
jne 0x406e9f
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406e75
mov dword [ecx*4 + 0x431410], eax
inc ecx
cmp ecx, 0x100
jl 0x406e70
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406ecc
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x431410]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406ead
not eax
pop ebp
ret 0xc

Function at 0x4016f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Best_Application
push str.Clariot
push 0
mov dword [0x405101], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x401737
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret

Function at 0x401f47
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x405364]
test eax, eax
je 0x401f60
call eax
test eax, eax
jne 0x401f60
push 0xfffffffffffffffe
jmp 0x401f7a
push 1
push 0x405010
push 0x405008
call fcn.00401b41
add esp, 0xc
test eax, eax
je 0x401f80
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x405004
push section..data
call fcn.00401b41
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x401fa6
mov esi, 0x404c1e
mov cl, 0x20
jmp 0x401faf
cmp al, 0x20
ja 0x401fb9
inc esi
mov al, byte [esi]
test al, al
jne 0x401faa
cmp al, 0x20
jbe 0x401fd0
mov al, byte [esi]
cmp al, 0x22
jne 0x401fc2
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x401fbb
jmp 0x401fd0
cmp al, cl
ja 0x401fd6
inc esi
mov al, byte [esi]
test al, al
jne 0x401fcb
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x401fff
movzx eax, word [ebp - 0x14]
jmp 0x402002
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.00402037
pop ecx
pop esi
leave
ret

Function at 0x402037
Capabilities:
Terminate process

Disassembly:
call fcn.00402081
push 0
push 0x405018
push 0x405014
call fcn.00401b41
push 0
push 0x405020
push 0x40501c
call fcn.00401b41
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x452004]
jne 0x401010
repz ret
jmp fcn.00401501

Function at 0x404a15
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402bcf
and dword [ebp - 4], 0
cmp dword [0x45508c], 0
mov ebx, eax
jne 0x404ac6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404b77
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404b77
push eax
call fcn.00402b5d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45508c], eax
call esi
push eax
call fcn.00402b5d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x455090], eax
call esi
push eax
call fcn.00402b5d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x455094], eax
call esi
push eax
call fcn.00402b5d
pop ecx
mov dword [0x45509c], eax
test eax, eax
je 0x404ac6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402b5d
pop ecx
mov dword [0x455098], eax
mov eax, dword [0x455098]
cmp eax, ebx
je 0x404b1e
cmp dword [0x45509c], ebx
je 0x404b1e
push eax
call fcn.00402bd8
push dword [0x45509c]
mov esi, eax
call fcn.00402bd8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404b1e
test edi, edi
je 0x404b1e
call esi
test eax, eax
je 0x404b15
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404b15
test byte [ebp - 0xc], 1
jne 0x404b1e
or dword [ebp + 0x10], 0x200000
jmp 0x404b57
mov eax, dword [0x455090]
cmp eax, ebx
je 0x404b57
push eax
call fcn.00402bd8
pop ecx
test eax, eax
je 0x404b57
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404b57
mov eax, dword [0x455094]
cmp eax, ebx
je 0x404b57
push eax
call fcn.00402bd8
pop ecx
test eax, eax
je 0x404b57
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45508c]
call fcn.00402bd8
pop ecx
test eax, eax
je 0x404b77
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404b79
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44b240
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x452004]
xor eax, esp
mov dword [esp + 0x800], eax
cmp dword [0x827e2c], 0x114e
mov eax, dword [esp + 0x808]
mov dword [0x827c70], eax
jne 0x44b281
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401006
add esp, 0x804
ret
Function at 0x44b2b0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push edi
cmp ebp, 0x182
jne 0x44b2d7
push 0
push 0
push 0
push str.Fal_siwejejexakepu
push str.camupunavaziyakay_gizojodohesogev_tageyofumefitasijal
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
xor edi, edi
test ebp, ebp
jle 0x44b316
push esi
mov edi, edi
lea esi, [esp + 0xc]
mov dword [esp + 0x14], 5
mov dword [esp + 0xc], 0
call fcn.0044b2a0
mov eax, dword [esp + 0xc]
add eax, 0x46
mov dword [esp + 0x14], eax
sub dword [esp + 0x14], 0x46
mov al, byte [esp + 0x14]
xor byte [edi + ebx], al
inc edi
cmp edi, ebp
jl 0x44b2e0
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x44b331
mov dword [0x827f60], 0xa62e7790
mov dword [0x827f64], 0xffffffff
pop ecx
ret

Function at 0x44b340
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x452c60]
push ebx
mov ebx, dword [0x827c74]
push esi
mov esi, dword [0x827e2c]
push eax
call fcn.0044b240
add esp, 4
cmp dword [0x827e2c], 0x2f
jne 0x44b36b
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
call fcn.0044b2b0
add esp, 4
cmp dword [0x827e2c], 0x568
pop esi
pop ebx
jne 0x44b38a
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
ret
Function at 0x489187
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b19fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0047bd83
and dword [ebp - 0x14], 0
cmp dword [0x4b42f4], 0
mov dword [ebp - 0x18], eax
jne 0x48923a
push 0x498bec
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4892e2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x498be0
push ebx
call edi
test eax, eax
je 0x4892e2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x498bd0
push ebx
mov dword [0x4b42f4], eax
call edi
push eax
call esi
push 0x498bbc
push ebx
mov dword [0x4b42f8], eax
call edi
push eax
call esi
push 0x498ba0
push ebx
mov dword [0x4b42fc], eax
call edi
push eax
call esi
mov dword [0x4b4304], eax
test eax, eax
je 0x48923a
push 0x498b88
push ebx
call edi
push eax
call esi
mov dword [0x4b4300], eax
mov eax, dword [0x4b4300]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x489293
cmp dword [0x4b4304], ecx
je 0x489293
push eax
call esi
push dword [0x4b4304]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x489293
test ebx, ebx
je 0x489293
call edi
test eax, eax
je 0x48928a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x48928a
test byte [ebp - 8], 1
jne 0x489293
or dword [ebp + 0x10], 0x200000
jmp 0x4892c6
mov eax, dword [0x4b42f8]
cmp eax, dword [ebp - 0x18]
je 0x4892c6
push eax
call esi
test eax, eax
je 0x4892c6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4892c6
mov eax, dword [0x4b42fc]
cmp eax, dword [ebp - 0x18]
je 0x4892c6
push eax
call esi
test eax, eax
je 0x4892c6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b42f4]
call esi
test eax, eax
je 0x4892e2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4892e4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046fa81
leave
ret