joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4502f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.0040a008
xor eax, eax
push ebp
push 0x45042e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.00449634
xor eax, eax
push ebp
push 0x4503fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
movzx ebx, word [eax + 0x30]
dec ebx
test ebx, ebx
jl 0x4503e3
inc ebx
xor esi, esi
lea eax, [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00449634
mov eax, dword [ebp - 0x1c]
and eax, 2
cmp eax, 2
jne 0x4503db
mov eax, dword [ebp - 0x1c]
and eax, 1
dec eax
jne 0x4503db
lea eax, [ebp - 0x18]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00449634
lea eax, [ebp - 8]
call fcn.00409f94
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00449634
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00449634
lea eax, [edi + 4]
mov edx, dword [ebp - 8]
call fcn.00409fac
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0045025c
inc esi
dec ebx
jne 0x450356
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450405
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
ret
Function at 0x40df01
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
cmp eax, 0xc
push ebx
push esi
push edi
mov edi, 0x9e3779b9
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, edi
mov dword [ebp - 0xc], esi
jb 0x40e00b
push 0xc
pop esi
xor edx, edx
div esi
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], eax
movzx eax, byte [ecx + 7]
movzx edx, byte [ecx + 6]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 5]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 4]
add edx, edi
shl eax, 8
lea edi, [edx + eax]
movzx eax, byte [ecx + 0xb]
movzx edx, byte [ecx + 0xa]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 9]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 8]
add edx, esi
shl eax, 8
lea esi, [edx + eax]
movzx edx, byte [ecx + 3]
movzx eax, byte [ecx + 2]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 1]
shl edx, 8
add edx, eax
movzx eax, byte [ecx]
shl edx, 8
add edx, eax
sub edx, esi
sub edx, edi
sub edi, esi
mov eax, esi
shr eax, 0xd
add edx, ebx
xor edx, eax
sub edi, edx
mov eax, edx
shl eax, 8
xor edi, eax
sub esi, edi
sub esi, edx
mov eax, edi
shr eax, 0xd
xor esi, eax
sub edx, esi
sub edx, edi
mov eax, esi
shr eax, 0xc
xor edx, eax
sub edi, esi
sub edi, edx
mov eax, edx
shl eax, 0x10
xor edi, eax
sub esi, edi
sub esi, edx
mov eax, edi
shr eax, 5
xor esi, eax
sub edx, esi
mov eax, esi
shr eax, 3
sub edx, edi
xor edx, eax
sub edi, esi
mov ebx, edx
mov eax, ebx
shl eax, 0xa
sub edi, ebx
xor edi, eax
sub esi, edi
mov eax, edi
sub esi, ebx
shr eax, 0xf
xor esi, eax
add ecx, 0xc
sub dword [ebp - 4], 0xc
dec dword [ebp - 8]
jne 0x40df32
add esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0xa
ja 0x40e07a
jmp dword [eax*4 + 0x40d4e5]
sub ebx, esi
sub ebx, edi
sub edi, esi
mov eax, esi
shr eax, 0xd
xor ebx, eax
sub edi, ebx
mov eax, ebx
shl eax, 8
xor edi, eax
sub esi, edi
sub esi, ebx
mov eax, edi
shr eax, 0xd
xor esi, eax
sub ebx, esi
sub ebx, edi
sub edi, esi
mov eax, esi
shr eax, 0xc
xor ebx, eax
sub edi, ebx
mov eax, ebx
shl eax, 0x10
xor edi, eax
sub esi, edi
mov eax, edi
sub esi, ebx
shr eax, 5
xor esi, eax
mov eax, esi
sub ebx, eax
sub ebx, edi
mov ecx, eax
shr ecx, 3
xor ebx, ecx
sub edi, eax
sub edi, ebx
mov ecx, ebx
shl ecx, 0xa
xor edi, ecx
sub eax, edi
sub eax, ebx
shr edi, 0xf
xor eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40e477
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [edi + 0xc]
call fcn.004110bb
mov esi, eax
test esi, esi
je 0x40e4f4
push esi
push edi
call fcn.0040e4f9
test al, al
je 0x40e4f4
mov eax, dword [esi + 0x3c]
and dword [ebp - 4], 0
add eax, esi
movzx ecx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
movzx eax, word [eax + 6]
mov ecx, dword [edi + 0xc]
sub ecx, esi
test eax, eax
mov dword [ebp - 8], eax
jbe 0x40e4f0
lea eax, [edx + 0x10]
push ebx
mov esi, dword [eax]
mov ebx, dword [eax - 8]
cmp esi, ebx
mov edx, dword [eax - 4]
ja 0x40e4c9
mov esi, ebx
cmp ecx, edx
jb 0x40e4d3
add esi, edx
cmp ecx, esi
jbe 0x40e4e3
inc dword [ebp - 4]
mov edx, dword [ebp - 4]
add eax, 0x28
cmp edx, dword [ebp - 8]
jb 0x40e4bb
jmp 0x40e4ef
mov eax, dword [ebp - 4]
inc eax
sub ecx, edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
pop ebx
mov al, 1
jmp 0x40e4f6
xor al, al
pop esi
leave
ret

Function at 0x410326
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x426dd8
call fcn.00424bbc
mov edi, dword [ebp + 8]
xor ebx, ebx
or esi, 0xffffffff
mov dword [edi], 0x40f500
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x20], esi
sete al
test al, al
jne 0x410365
push 0x80004005
push 0x2e68367a
call fcn.00406f9b
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x40f2f3
push ebx
push ebx
mov dword [ebp - 0x1c], 0x40f7e4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0x42eb30
call fcn.00418422
add esp, 0x18
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x41039a
mov eax, esi
mov dword [ebp - 0x20], eax
cmp eax, esi
mov edi, dword [0x429110]
mov ebx, dword [0x429200]
je 0x4103b6
push esi
push eax
call edi
push dword [ebp - 0x20]
call ebx
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp + 8]
add ecx, 4
cmp dword [ecx], 0
jge 0x4103c6
call fcn.00409381
mov dword [ebp - 4], esi
cmp dword [ebp - 0x20], esi
je 0x4103dc
push esi
push dword [ebp - 0x20]
call edi
push dword [ebp - 0x20]
call ebx
mov dword [ebp - 0x20], esi
call fcn.00424c94
ret 4
Function at 0x412eb4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x427ff5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x4362ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x50], ebx
push 0x42efc0
lea ecx, [esp + 0x10]
call fcn.00408720
call fcn.00412689
push eax
lea edi, [esp + 0x1c]
call fcn.00408228
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov byte [esp + 0x50], 1
push dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push 0x42d240
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push 0x42efe0
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push 1
lea edi, [esp + 0x1c]
call fcn.00408228
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov byte [esp + 0x50], 2
push dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push 0x42eff0
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push 0x42eff8
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
push 0x42effc
lea eax, [esp + 0x10]
push eax
call fcn.004086d4
mov dword [esp + 0x1c], str.InstallDataRoot
mov dword [esp + 0x30], ebx
mov byte [esp + 0x50], 3
mov dword [esp + 0x34], ebx
mov byte [esp + 0x50], 4
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x30], bl
mov dword [esp + 0x2c], ebx
call fcn.00412ac6
mov byte [esp + 0x50], 5
push dword [esp + 0xc]
lea ecx, [esp + 0x20]
call fcn.00412396
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x1c]
call fcn.00412354
mov byte [esp + 0x50], 1
cmp dword [esp + 0x10], ebx
je 0x412ffb
lea ecx, [esp + 0x10]
call fcn.004088a7
mov byte [esp + 0x50], bl
cmp dword [esp + 0x14], ebx
je 0x41300e
lea ecx, [esp + 0x14]
call fcn.004088a7
or dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0xc], ebx
je 0x413022
lea ecx, [esp + 0xc]
call fcn.004088a7
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4043e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bf60
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x43b010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x70]
test eax, eax
je 0x40456b
cmp word [eax], 0
je 0x40456b
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.shell32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x30], 1
jl 0x40456b
push dword [eax]
lea ecx, [ebp - 0x2c]
call fcn.00402db0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x40455a
mov edx, 0x437504
lea ecx, [ebp - 0x2c]
call fcn.00405690
test al, al
jne 0x404474
mov edx, 0x43750c
lea ecx, [ebp - 0x2c]
call fcn.00405690
test al, al
je 0x404478
mov byte [edi + 0x7c], 1
mov edx, 0x437514
lea ecx, [ebp - 0x2c]
xor esi, esi
call fcn.00405690
test al, al
je 0x404495
mov esi, 0x50c8
jmp 0x404539
mov edx, str.zhTW
lea ecx, [ebp - 0x2c]
call fcn.00405690
test al, al
je 0x4044b0
mov esi, 0x2828
jmp 0x404539
mov edx, str.zhCN
lea ecx, [ebp - 0x2c]
call fcn.00405690
test al, al
je 0x4044c8
mov esi, 0x5028
jmp 0x404539
mov edx, 0x437534
lea ecx, [ebp - 0x2c]
call fcn.00405690
test al, al
je 0x4044e0
mov esi, 0x5104
jmp 0x404539
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.oleaut32.dll_SysReAllocStringLen]
sub esp, 0xc
lea ecx, [ebp - 0x14]
mov ebx, eax
call fcn.004051b0
test eax, eax
jne 0x404521
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
push ebx
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x38]
test eax, eax
cmove esi, dword [ebp - 0x34]
push ebx
call dword [sym.imp.oleaut32.dll_SysStringLen]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x404539
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0xcccccccd
mul esi
mov eax, esi
shr edx, 3
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
mov eax, 0
cmovne esi, eax
mov dword [edi + 0x8c], esi
cmp dword [ebp - 0x18], 8
jb 0x40456b
push dword [ebp - 0x2c]
call fcn.0040bdcf
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040bdd4
mov esp, ebp
pop ebp
ret
Function at 0x4068d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
mov ecx, 0x43c6bc
call fcn.0040b783
mov edi, eax
mov dword [ebp - 4], 1
test edi, edi
je 0x406961
push 0
push 7
push 6
push edi
call dword [sym.imp.kernel32.dll_FindResourceExW]
mov ebx, eax
test ebx, ebx
je 0x406949
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x406949
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406949
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, 0xa
lea edx, [esi + eax]
lea esp, [esp]
cmp esi, edx
jae 0x406949
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x406930
cmp esi, edx
jae 0x406949
cmp word [esi], cx
jne 0x40696a
mov ebx, dword [ebp - 4]
mov ecx, 0x43c6bc
push ebx
call fcn.0040b783
mov edi, eax
inc ebx
mov dword [ebp - 4], ebx
test edi, edi
jne 0x4068f0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
jne 0x4069a5
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4069e5
push edi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, 0xa
lea edx, [esi + eax]
cmp esi, edx
jae 0x4069e5
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x4069c3
cmp esi, edx
jae 0x4069e5
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret
pop esi
pop edi
xor eax, eax
pop ebx
ret
Function at 0x407890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x43b010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4078b8
mov eax, dword [esi]
jmp 0x4078ba
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [edi + 0x14], 8
jb 0x4078c9
mov eax, dword [edi]
jmp 0x4078cb
mov eax, edi
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4078f3
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x4078f3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040bdd4
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], 8
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x14], 0xaac56b
mov dword [ebp - 0x10], 0x11d0cd44
mov dword [ebp - 0xc], 0xc000c28c
mov dword [ebp - 8], 0xee95c24f
mov dword [ebp - 0x54], 0x10
jb 0x407926
mov edi, dword [edi]
push 0x30
lea eax, [ebp - 0x44]
mov dword [ebp - 0x50], edi
push 0
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.0040dcd0
xor eax, eax
mov dword [ebp - 0x44], 0x30
add esp, 0xc
mov dword [ebp - 0x40], 0
cmp byte [ebp + 0xc], al
mov dword [ebp - 0x3c], 0
setne al
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
lea eax, [eax*2 + 2]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0x12
call fcn.00409ce0
cmp eax, 8
mov eax, dword [ebp - 0x1c]
jle 0x4079b3
or eax, 0x1000
mov dword [ebp - 0x1c], eax
cmp byte [ebp + 0x14], 0
je 0x4079c1
or eax, 0x200
mov dword [ebp - 0x1c], eax
mov edi, dword [sym.imp.wintrust.dll_WinVerifyTrust]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push eax
push 0xffffffffffffffff
call edi
mov ebx, eax
test ebx, ebx
jne 0x407a31
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x70]
call fcn.00407780
mov dword [ebp - 0x58], eax
cmp esi, eax
je 0x407a20
cmp dword [esi + 0x14], 8
jb 0x407a05
push dword [esi]
call fcn.0040bdcf
mov eax, dword [ebp - 0x58]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.00408590
cmp dword [ebp - 0x5c], 8
jb 0x407a31
push dword [ebp - 0x70]
call fcn.0040bdcf
add esp, 4
lea eax, [ebp - 0x44]
mov dword [ebp - 0x28], 2
push eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bdd4
mov esp, ebp
pop ebp
ret
Function at 0x408920
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c086
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x43b010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 0x24c], 0
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x408997
xor ecx, ecx
jmp 0x4089af
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4089a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402c30
push ecx
lea edx, [ebp - 0x230]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00408ac0
push edi
mov edx, eax
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00408b70
add esp, 8
cmp dword [ebp - 0x234], 8
jb 0x408a03
push dword [ebp - 0x248]
call fcn.0040bdcf
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x408a37
push dword [ebp - 0x230]
call fcn.0040bdcf
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040bdd4
mov esp, ebp
pop ebp
ret
Function at 0x408f60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c0f8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x43b010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
xor eax, eax
mov dword [ebp - 0x10], 7
push str.n6i9aayfvtsht
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.00402c30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
push 0x800
cmovae eax, dword [ebp - 0x24]
push 0
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x409014
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x3c]
call fcn.00408920
cmp dword [eax + 0x14], 8
jb 0x408fe2
mov eax, dword [eax]
push 0
push 0
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
cmp dword [ebp - 0x28], 8
mov esi, eax
jb 0x409000
push dword [ebp - 0x3c]
call fcn.0040bdcf
add esp, 4
xor eax, eax
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
cmp dword [ebp - 0x10], 8
mov dword [0x43d7d8], esi
jb 0x409031
push dword [ebp - 0x24]
call fcn.0040bdcf
mov esi, dword [0x43d7d8]
add esp, 4
xor eax, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
test esi, esi
je 0x409138
push str.IsWow64Process
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call esi
push str.QueryFullProcessImageNameW
push dword [0x43d7d8]
mov dword [0x43d7d4], eax
call esi
push str.Wow64DisableWow64FsRedirection
push dword [0x43d7d8]
mov dword [0x43d7d0], eax
call esi
push str.Wow64RevertWow64FsRedirection
push dword [0x43d7d8]
mov dword [0x43d7cc], eax
call esi
push str.cnunhjf7qynq1ly548avxu8tqwtzclgex
push dword [0x43d7d8]
mov dword [0x43d7c8], eax
call esi
push str.j71xhlp1nyht6taqnmdx69iucp451pwjl
push dword [0x43d7d8]
mov dword [0x43d7c4], eax
call esi
push str.SetDefaultDllDirectories
push dword [0x43d7d8]
mov dword [0x43d7c0], eax
call esi
push str.SetSearchPathMode
push dword [0x43d7d8]
mov dword [0x43d7bc], eax
call esi
push str.GetLogicalProcessorInformation
push dword [0x43d7d8]
mov dword [0x43d7b8], eax
call esi
push str.SetProcessDEPPolicy
push dword [0x43d7d8]
mov dword [0x43d7b4], eax
call esi
push str.GetDynamicTimeZoneInformation
push dword [0x43d7d8]
mov dword [0x43d7b0], eax
call esi
push str.SetProcessMitigationPolicy
push dword [0x43d7d8]
mov dword [0x43d7ac], eax
call esi
push str.GetProcessMitigationPolicy
push dword [0x43d7d8]
mov dword [0x43d7a8], eax
call esi
mov dword [0x43d7a4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ba8e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43b010]
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.004115d6
mov dword [ebp - 0x14], eax
cmp dword [0x43d5e4], esi
jne 0x41bb81
push 0x800
push esi
push str.1zs7p21n72e
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41bb0e
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x57
jne 0x41bc61
push esi
push esi
push str.1zs7p21n72e
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41bc61
push 0x435bbc
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x41bc61
push eax
call ebx
push 0x435bc8
push edi
mov dword [0x43d5e4], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43d5e8], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43d5ec], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43d5f4], eax
test eax, eax
je 0x41bb7e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43d5f0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
test eax, eax
je 0x41bba6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41bb99
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41bbbb
push 4
pop eax
jmp 0x41bc63
cmp dword [ebp - 0x14], esi
je 0x41bbbb
push dword [0x43d5e4]
call dword [sym.imp.kernel32.dll_DecodePointer]
push 3
jmp 0x41bba0
mov eax, dword [0x43d5f0]
mov ebx, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, edi
je 0x41bc19
cmp dword [0x43d5f4], edi
je 0x41bc19
push eax
call ebx
push dword [0x43d5f4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41bc19
test eax, eax
je 0x41bc19
call ecx
test eax, eax
je 0x41bc0e
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 0x41bc0e
test byte [ebp - 8], 1
jne 0x41bc19
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41bc49
mov eax, dword [0x43d5e8]
cmp eax, edi
je 0x41bc46
push eax
call ebx
test eax, eax
je 0x41bc46
call eax
mov esi, eax
test esi, esi
je 0x41bc46
mov eax, dword [0x43d5ec]
cmp eax, edi
je 0x41bc46
push eax
call ebx
test eax, eax
je 0x41bc46
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43d5e4]
call ebx
test eax, eax
je 0x41bc61
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x41bc63
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bdd4
mov esp, ebp
pop ebp
ret