joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10044d20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
imul eax, eax, 0x28
add eax, dword [0x10089970]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
shl ecx, 0x1f
sar ecx, 0x1f
test ecx, ecx
je 0x10044d84
mov edx, dword [ebp - 0x18]
sub edx, 5
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
push 0x40
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1004ab83
test eax, eax
jne 0x10044daf
mov eax, 0xa
jmp 0x10044e8c
cmp dword [ebp + 0xc], 0
je 0x10044dfc
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov byte [edx], 0xe9
mov eax, dword [ebp - 0x18]
add eax, 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
sub edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 1], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
shl edx, 0x1f
sar edx, 0x1f
test edx, edx
je 0x10044dfa
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov byte [edx], 0xeb
mov eax, dword [ebp - 0x20]
mov byte [eax + 1], 0xf9
jmp 0x10044e38
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
shl edx, 0x1f
sar edx, 0x1f
test edx, edx
je 0x10044e23
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.10048960
add esp, 0xc
jmp 0x10044e38
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.10048960
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1004ab83
mov edx, dword [ebp + 0xc]
and edx, 1
shl edx, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
and ecx, 0xfffffffd
or ecx, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp + 0xc]
and eax, 1
shl eax, 2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
and edx, 0xfffffffb
or edx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], edx
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x10044eac]
call fcn.1004aba6
pop eax
pop edx
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.1004ab83
mov esp, ebp
pop ebp
ret
Function at 0x10045cf0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, esp
call fcn.1004ab83
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
mov eax, dword [0x10089964]
mov dword [ebp - 0xc], eax
jmp 0x10045d38
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x10045d51
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x10045d4f
mov eax, dword [ebp - 0xc]
jmp 0x10045e61
jmp 0x10045d30
mov ecx, dword [ebp + 8]
shr ecx, 0xc
shl ecx, 0xc
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
sub edx, 0x1000
mov dword [ebp - 0x40], edx
jmp 0x10045d76
mov eax, dword [ebp - 0x40]
sub eax, 0x1000
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 4]
jb 0x10045daa
mov esi, esp
push 0x40
push 0x3000
push 0x1000
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.1004ab83
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10045da8
jmp 0x10045daa
jmp 0x10045d6b
cmp dword [ebp - 0xc], 0
jne 0x10045dfd
mov eax, dword [ebp - 0x3c]
add eax, 0x1000
mov dword [ebp - 0x40], eax
jmp 0x10045dc9
mov ecx, dword [ebp - 0x40]
add ecx, 0x1000
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 8]
jae 0x10045dfd
mov esi, esp
push 0x40
push 0x3000
push 0x1000
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.1004ab83
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10045dfb
jmp 0x10045dfd
jmp 0x10045dbd
cmp dword [ebp - 0xc], 0
je 0x10045e5e
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x44]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x44]
add eax, 0x20
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0xc]
cmp ecx, 0xfe0
jbe 0x10045e20
mov edx, dword [ebp - 0xc]
mov eax, dword [0x10089964]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x10089964], ecx
mov eax, dword [ebp - 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x10045e84]
call fcn.1004aba6
pop eax
pop edx
pop edi
pop esi
add esp, 0x44
cmp ebp, esp
call fcn.1004ab83
mov esp, ebp
pop ebp
ret
Function at 0x100464a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
test ecx, ecx
je 0x100464d4
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
cmp eax, 0x90
je 0x100464d4
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
cmp edx, 0xcc
je 0x100464d4
xor eax, eax
jmp 0x1004650c
mov dword [ebp - 4], 1
jmp 0x100464e6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10046507
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
cmp eax, edx
je 0x10046505
xor eax, eax
jmp 0x1004650c
jmp 0x100464dd
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10047cbc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10082594]
jne 0x10047cc6
repz ret
jmp fcn.1004f07f

Function at 0x10057325
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.1004def5
and dword [ebp - 4], 0
cmp dword [0x10089840], 0
mov ebx, eax
jne 0x100573d6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10057487
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1007c49c
push edi
call esi
test eax, eax
je 0x10057487
push eax
call fcn.1004de83
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10089840], eax
call esi
push eax
call fcn.1004de83
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10089844], eax
call esi
push eax
call fcn.1004de83
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10089848], eax
call esi
push eax
call fcn.1004de83
pop ecx
mov dword [0x10089850], eax
test eax, eax
je 0x100573d6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1004de83
pop ecx
mov dword [0x1008984c], eax
mov eax, dword [0x1008984c]
cmp eax, ebx
je 0x1005742e
cmp dword [0x10089850], ebx
je 0x1005742e
push eax
call fcn.1004defe
push dword [0x10089850]
mov esi, eax
call fcn.1004defe
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1005742e
test edi, edi
je 0x1005742e
call esi
test eax, eax
je 0x10057425
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10057425
test byte [ebp - 0xc], 1
jne 0x1005742e
or dword [ebp + 0x10], 0x200000
jmp 0x10057467
mov eax, dword [0x10089844]
cmp eax, ebx
je 0x10057467
push eax
call fcn.1004defe
pop ecx
test eax, eax
je 0x10057467
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10057467
mov eax, dword [0x10089848]
cmp eax, ebx
je 0x10057467
push eax
call fcn.1004defe
pop ecx
test eax, eax
je 0x10057467
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10089840]
call fcn.1004defe
pop ecx
test eax, eax
je 0x10057487
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10057489
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
jmp 0x4021df
xor eax, eax
sub eax, dword [ebp - 0x24]
mov ecx, 1
sub ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], 0x38d0dfe7
jmp 0x4021f0
mov dword [ebp - 0x2c], 0x8f65689b
nop
mov eax, dword [ebp - 0x2c]
cmp eax, 0x90a5001e
jg 0x402210
cmp eax, 0x8f65689b
jne 0x4021f0
jmp 0x4021d0
cmp eax, 0xb77eab97
jg 0x402220
cmp eax, 0x90a5001f
jne 0x4021f0
jmp 0x4021e8
cmp eax, 0xe0328157
jg 0x40226a
cmp eax, 0xb77eab98
jne 0x4021f0
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x18]
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
movzx esi, byte [edx + ecx]
mov edi, esi
not edi
and edi, eax
not eax
and eax, esi
or eax, edi
mov byte [edx + ecx], al
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x14]
sete byte [ebp - 0xd]
mov dword [ebp - 0x2c], 0x77bbb8bb
jmp 0x4021f0
cmp eax, 0xe15fe1cd
jg 0x402281
cmp eax, 0xe0328158
jne 0x4021f0
jmp 0x402361
cmp eax, 0x38d0dfe6
jg 0x4022a6
cmp eax, 0xe15fe1ce
jne 0x4021f0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0x90a5001f
jmp 0x4021f0
cmp eax, 0x5176db5d
jg 0x4022d2
cmp eax, 0x38d0dfe7
jne 0x4021f0
mov ecx, dword [ebp - 0x24]
mov eax, 0x77e35216
cmp ecx, dword [ebp - 0x1c]
jb 0x4022ca
mov eax, 0xe0328158
mov dword [ebp - 0x2c], eax
jmp 0x4021f0
cmp eax, 0x5176db5e
je 0x4022f9
cmp eax, 0x77bbb8bb
jne 0x40234a
mov al, byte [ebp - 0xd]
test al, al
mov eax, 0xe15fe1ce
jne 0x4022f1
mov eax, 0x90a5001f
mov dword [ebp - 0x2c], eax
jmp 0x4021f0
mov eax, dword [ebp - 0x28]
mov ecx, eax
neg ecx
mov edx, 1
sub edx, ecx
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x18]
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
movzx esi, byte [edx + ecx]
mov edi, esi
not edi
and edi, 0x85
and esi, 0x7a
mov ebx, eax
not ebx
and ebx, 0x85
and eax, 0x7a
add esi, edi
add eax, ebx
xor eax, esi
mov byte [edx + ecx], al
mov dword [ebp - 0x2c], 0xb77eab98
jmp 0x4021f0
cmp eax, 0x77e35216
jne 0x4021f0
mov dword [ebp - 0x2c], 0xb77eab98
jmp 0x4021f0
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4080c0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x34
mov eax, dword [ebp + 8]
mov cx, word [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov word [ebp - 0x12], cx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], 0xf51ba5db
jmp 0x408150
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x34]
movzx edx, word [ebp - 0x12]
mov esi, dword [ebp - 0x30]
movzx edx, word [esi + edx*2]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x38], 0x1d94bd57
nop
nop
nop
nop
mov eax, dword [ebp - 0x38]
cmp eax, 0x63c43f75
jg 0x4081a0
cmp eax, 0x1d94bd56
jg 0x4081b0
cmp eax, 0xf593044
jg 0x4081bc
cmp eax, 0x8af8102a
jg 0x4081e5
cmp eax, 0x83ea4852
jne 0x408150
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0x8af8102b
jne 0x40818e
mov eax, 0x989e3508
mov dword [ebp - 0x38], eax
jmp 0x408150
cmp eax, 0x63c43f76
jne 0x408150
jmp 0x408119
cmp eax, 0x1d94bd57
jne 0x408150
jmp 0x408307
cmp eax, 0xf593045
jne 0x408150
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0xd2bd3e83
jne 0x4081dd
mov eax, 0xf33b5c88
mov dword [ebp - 0x38], eax
jmp 0x408150
cmp eax, 0x989e3507
jg 0x408203
cmp eax, 0x8af8102b
jne 0x408150
mov dword [ebp - 0x38], 0xb9d80e96
jmp 0x408150
cmp eax, 0xa0a4dbe9
jg 0x40822d
cmp eax, 0x989e3508
jne 0x408150
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xd67e38f1
jmp 0x408150
cmp eax, 0xb9d80e95
jg 0x40824b
cmp eax, 0xa0a4dbea
jne 0x408150
mov dword [ebp - 0x38], 0xb9d80e96
jmp 0x408150
cmp eax, 0xd2bd3e82
jg 0x408270
cmp eax, 0xb9d80e96
jne 0x408150
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x38], 0x1d94bd57
jmp 0x408150
cmp eax, 0xd67e38f0
jg 0x40828e
cmp eax, 0xd2bd3e83
jne 0x408150
mov dword [ebp - 0x38], 0xb9d80e96
jmp 0x408150
cmp eax, 0xd67e38f1
je 0x4082c6
cmp eax, 0xf33b5c88
jne 0x4082e4
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x3c]
lea eax, [ecx + edx]
mov dword [ebp - 0x20], eax
mov eax, 0x8af8102b
cmp dword [ecx + edx], 0x4550
jne 0x4082be
mov eax, 0x83ea4852
mov dword [ebp - 0x38], eax
jmp 0x408150
mov ecx, dword [ebp - 0x28]
movzx edx, word [ebp - 0x12]
mov eax, 0xa0a4dbea
cmp dword [ecx + 0x18], edx
jbe 0x4082dc
mov eax, 0x63c43f76
mov dword [ebp - 0x38], eax
jmp 0x408150
cmp eax, 0xf51ba5db
jne 0x408150
mov eax, 0xf593045
cmp dword [ebp - 8], 0
je 0x4082ff
mov eax, 0xd67e38f1
mov dword [ebp - 0x38], eax
jmp 0x408150
mov eax, dword [ebp - 0xc]
add esp, 0x34
pop esi
pop ebp
ret
Function at 0x4096f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x409410
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004132cf
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0x6a3534d5
jmp 0x409760
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], 0x6df17f5b
nop
nop
mov eax, dword [ebp - 0x14]
cmp eax, 0x989873e9
jg 0x409780
cmp eax, 0x85213595
jne 0x409760
jmp 0x409744
cmp eax, 0xa8e37fd1
jg 0x4097a0
cmp eax, 0x989873ea
jne 0x409760
jmp 0x409978
cmp eax, 0xbcf28df6
jg 0x4097c3
cmp eax, 0xa8e37fd2
jne 0x409760
mov eax, 0x33a3c534
cmp dword [ebp - 0x10], 0
jne 0x4097be
mov eax, 0x989873ea
mov dword [ebp - 0x14], eax
jmp 0x409760
cmp eax, 0xd84fe7fa
jg 0x4097da
cmp eax, 0xbcf28df7
jne 0x409760
mov dword [ebp - 0x14], 0xa8e37fd2
jmp 0x409760
cmp eax, 0xec29ad2b
jg 0x409807
cmp eax, 0xd84fe7fb
jne 0x409760
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebp - 0x14], 0x2d7273b
jmp 0x409760
cmp eax, 0x2d7273a
jg 0x409834
cmp eax, 0xec29ad2c
jne 0x409760
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebp - 0x14], 0x85213595
jmp 0x409760
cmp eax, 0x16dcdf62
jg 0x409852
cmp eax, 0x2d7273b
jne 0x409760
mov dword [ebp - 0x14], 0x85213595
jmp 0x409760
cmp eax, 0x209f0a19
jg 0x409870
cmp eax, 0x16dcdf63
jne 0x409760
mov dword [ebp - 0x14], 0xa8e37fd2
jmp 0x409760
cmp eax, 0x6df17f5a
jg 0x4098b2
cmp eax, 0x6a3534d4
jg 0x4098d6
cmp eax, 0x4d31f965
jg 0x4098f9
cmp eax, 0x33a3c533
jg 0x409910
cmp eax, 0x209f0a1a
je 0x409927
cmp eax, 0x20d28d97
jne 0x40994a
mov dword [ebp - 0x14], 0x209f0a1a
jmp 0x409760
cmp eax, 0x6df17f5b
jne 0x409760
mov al, byte [ebp - 1]
test al, al
mov eax, 0x4d31f966
jne 0x4098ce
mov eax, 0xd84fe7fb
mov dword [ebp - 0x14], eax
jmp 0x409760
cmp eax, 0x6a3534d5
jne 0x409760
mov eax, 0xbcf28df7
cmp dword [ebp - 8], 0
je 0x4098f1
mov eax, 0x20d28d97
mov dword [ebp - 0x14], eax
jmp 0x409760
cmp eax, 0x4d31f966
jne 0x409760
mov dword [ebp - 0x14], 0x989873ea
jmp 0x409760
cmp eax, 0x33a3c534
jne 0x409760
mov dword [ebp - 0x14], 0x2d7273b
jmp 0x409760
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov dword [ebp - 0x14], 0x16dcdf63
jmp 0x409760
cmp eax, 0x26c66792
jne 0x409760
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov dword [ebp - 0x14], 0x209f0a1a
jmp 0x409760
add esp, 0x2c
pop ebp
ret
Function at 0x40b010
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [0x40be40]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0x2eb88a4a
jmp 0x40b060
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0x4c689aa2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x20]
cmp eax, 0x7be3f055
jg 0x40b0b0
cmp eax, 0x4c689aa1
jg 0x40b0c0
cmp eax, 0x2eb88a49
jg 0x40b0cc
cmp eax, 0xbbd22f41
je 0x40b0eb
cmp eax, 0xc313c441
jne 0x40b143
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x47c11c], eax
call fcn.00412d3b
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x4c689aa2
jmp 0x40b060
cmp eax, 0x7be3f056
jne 0x40b060
jmp 0x40b043
cmp eax, 0x4c689aa2
jne 0x40b060
jmp 0x40b153
cmp eax, 0x2eb88a4a
jne 0x40b060
mov eax, 0x7be3f056
cmp dword [ebp - 0xc], 0
je 0x40b0e3
mov eax, 0xbbd22f41
mov dword [ebp - 0x20], eax
jmp 0x40b060
mov dword [esp], 0
call fcn.0040b160
mov esi, eax
call fcn.00402050
imul eax, esi
mov dword [esp], eax
call fcn.00412d5e
mov eax, dword [ebp - 0x14]
movzx esi, word [eax]
mov dword [esp], eax
call fcn.00403700
mov ecx, dword [ebp - 0x14]
movzx edi, word [ecx + eax*2 - 2]
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add eax, edi
mov dword [ebp - 0x18], eax
mov ecx, 0xc313c441
cmp eax, dword [ebp - 0x1c]
je 0x40b13b
mov ecx, 0x26a1254f
mov dword [ebp - 0x20], ecx
jmp 0x40b060
cmp eax, 0x26a1254f
jne 0x40b060
jmp 0x40b043
mov eax, dword [ebp - 0x10]
add esp, 0x1c
pop esi
pop edi
pop ebp
ret
Function at 0x41ad6a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47c690]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00417bc7
mov dword [ebp - 0x14], eax
cmp dword [0x4c4834], edi
jne 0x41ae5b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41ade8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41af3b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41af3b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41af3b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4c4834], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4c4838], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4c483c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c4844], eax
test eax, eax
je 0x41ae58
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c4840], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41ae80
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41ae73
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41ae95
push 4
pop eax
jmp 0x41af3d
cmp dword [ebp - 0x14], edi
je 0x41ae95
push dword [0x4c4834]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41ae7a
mov eax, dword [0x4c4840]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41aef3
cmp dword [0x4c4844], esi
je 0x41aef3
push eax
call ebx
push dword [0x4c4844]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41aef3
test eax, eax
je 0x41aef3
call ecx
test eax, eax
je 0x41aee8
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 0x41aee8
test byte [ebp - 8], 1
jne 0x41aef3
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41af23
mov eax, dword [0x4c4838]
cmp eax, esi
je 0x41af20
push eax
call ebx
test eax, eax
je 0x41af20
call eax
mov edi, eax
test edi, edi
je 0x41af20
mov eax, dword [0x4c483c]
cmp eax, esi
je 0x41af20
push eax
call ebx
test eax, eax
je 0x41af20
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4c4834]
call ebx
test eax, eax
je 0x41af3b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41af3d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414cd9
leave
ret
Function at 0x447b60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x607418]
xor edx, edx
cmp eax, edx
jne 0x447b86
xor eax, eax
mov byte [eax + 0x607318], al
inc eax
cmp eax, 0x100
jl 0x447b6e
mov dword [0x607418], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x607318
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x447c17
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 0x447bea
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 0x447bb8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x447c90
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 0x447ce3
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 0x447cca
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