joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a5fa0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push edi
lea edi, [ebp - 0x234]
mov ecx, 0x8d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101ca9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.100028e2
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x18], 0
je 0x100a6126
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
push ecx
push str.VarFileInfoTranslation
mov edx, dword [ebp - 0x18]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x100a6111
cmp dword [ebp - 0x30], 0
je 0x100a6111
mov byte [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x4f], eax
mov dword [ebp - 0x4b], eax
mov byte [ebp - 0x158], 0
push 0xff
push 0
lea eax, [ebp - 0x157]
push eax
call fcn.1000272f
add esp, 0xc
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + ecx]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
and ecx, 0xffff
movzx edx, cx
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + ecx]
and ecx, 0xffff
movzx eax, cx
and eax, 0xffff
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
mov dword [ebp - 0x164], edx
mov eax, dword [ebp - 0x164]
push eax
push str.StringFileInfo_08lxLegalCopyright
push 0x100
lea ecx, [ebp - 0x158]
push ecx
call fcn.10005975
add esp, 0x10
mov dword [ebp - 0x170], 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x100a6108
cmp dword [ebp - 0x170], 0
je 0x100a6108
jmp 0x100a610f
mov dword [ebp - 0x24], 1
jmp 0x100a6118
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x18]
push eax
call fcn.100053ad
add esp, 4
jmp 0x100a612d
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x24]
push edx
mov ecx, ebp
push eax
lea edx, [0x100a6164]
call fcn.10004b97
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004d22
add esp, 0x234
cmp ebp, esp
call fcn.1000318e
mov esp, ebp
pop ebp
ret 4
Function at 0x100a6270
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
push esi
push edi
lea edi, [ebp - 0xe8]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101ca9c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp esi, esp
call fcn.1000318e
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x100a62bb
mov eax, dword [ebp - 0xc]
jmp 0x100a632a
push 0x10
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.1000272f
add esp, 0xc
mov eax, 2
mov word [ebp - 0x24], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov esi, esp
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_htons]
cmp esi, esp
call fcn.1000318e
mov word [ebp - 0x22], ax
mov esi, esp
push 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp esi, esp
call fcn.1000318e
test eax, eax
je 0x100a6327
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, esp
call fcn.1000318e
or eax, 0xffffffff
jmp 0x100a632a
mov eax, dword [ebp - 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x100a635c]
call fcn.10004b97
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004d22
add esp, 0xe8
cmp ebp, esp
call fcn.1000318e
mov esp, ebp
pop ebp
ret 8
Function at 0x100c3bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x10], 0xc
jge 0x100c3bd2
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10237534]
inc eax
mov dword [0x10237534], eax
cmp eax, 1
jne 0x100c3bf7
push 0
call fcn.1000168b
xor eax, 0xbb40e64e
push eax
call fcn.10003396
add esp, 8
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
push esi
push edi
push dword [ebp + 8]
call fcn.100c3de0
add esp, 0xc
mov dword [ebp + 0x10], 0
call fcn.10004d31
sar eax, 7
movzx edx, al
push esi
push edi
mov dword [ebp - 4], edx
call fcn.100c3d50
push edx
push esi
push edi
mov ebx, eax
call fcn.100c3e60
mov ecx, dword [ebp + 0x10]
add esp, 0x14
mov eax, dword [ebp - 4]
xor al, bl
mov byte [ebp + ecx - 0x10], al
inc ecx
mov dword [ebp + 0x10], ecx
cmp ecx, 0xa
jl 0x100c3c14
push esi
push edi
push dword [ebp + 8]
call fcn.100c3de0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
add esp, 0xc
xor edi, edi
sub eax, ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
push esi
push edx
call fcn.100c3d50
movzx ecx, byte [ebp + edi - 0x10]
mov ebx, eax
push ecx
push esi
push edx
call fcn.100c3e60
mov eax, dword [ebp - 4]
add esp, 0x14
mov cl, byte [ebp + edi - 0x10]
add eax, edi
xor cl, bl
inc edi
mov byte [ebp + eax - 0x10], cl
cmp edi, 0xa
jl 0x100c3c65
mov edx, dword [ebp + 0x14]
push esi
push edx
call fcn.100c3d50
mov esi, dword [ebp + 0x1c]
mov ebx, esi
shr ebx, 0x10
movzx ecx, bl
push ecx
push dword [ebp + 0x18]
mov dword [ebp + 0x10], eax
push edx
call fcn.100c3e60
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
xor bl, byte [ebp + 0x10]
push edx
push dword [ebp + 0x14]
mov byte [edi + eax], bl
call fcn.100c3d50
shr esi, 0x18
mov ebx, eax
push esi
push edx
push dword [ebp + 0x14]
call fcn.100c3e60
mov ecx, dword [ebp + 0xc]
add esp, 0x28
mov eax, esi
xor al, bl
mov byte [edi + ecx + 1], al
lea eax, [edi + 2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100c3e60
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebx]
mov eax, ecx
xor eax, dword [ebp + 0x10]
mov edx, dword [ebx + 8]
movzx eax, al
shr ecx, 8
mov eax, dword [esi + eax*4]
xor eax, ecx
mov dword [ebx], eax
movzx eax, al
add eax, dword [ebx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [ebx + 4], eax
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx ecx, al
mov eax, dword [ebp + 0x10]
xor edx, dword [esi + ecx*4]
pop esi
mov dword [ebx + 8], edx
pop ebx
pop ebp
ret
Function at 0x100c3ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x100ac], ebx
je 0x100c3f28
cmp dword [edi + 0x7c], ebx
jbe 0x100c3f28
mov ecx, 0xffffff5c
lea eax, [edi + 0x100d0]
sub ecx, edi
lea esi, [edi + 0xa4]
mov dword [ebp + 8], ecx
nop
mov edx, dword [edi + 0x100dc]
push edx
push eax
call fcn.100c3d50
movzx ecx, byte [esi]
mov ebx, eax
push ecx
push edx
lea eax, [edi + 0x100d0]
push eax
call fcn.100c3e60
xor byte [esi], bl
add esp, 0x14
mov eax, dword [ebp + 8]
inc esi
add eax, esi
cmp eax, dword [edi + 0x7c]
lea eax, [edi + 0x100d0]
jb 0x100c3ef0
xor ebx, ebx
mov esi, dword [edi + 0x7c]
lea eax, [edi + 0xa4]
push esi
push eax
push dword [edi + 0x2c]
mov eax, dword [edi + 8]
push dword [edi + 0x1c]
call eax
add esp, 0x10
mov dword [edi + 0x7c], 0
or ecx, 0xffffffff
cmp eax, esi
cmovne ebx, ecx
add dword [edi + 0x100c0], esi
mov ecx, dword [edi + 0x48]
mov eax, ebx
adc dword [edi + 0x100c4], 0
add dword [edi + 0x100c8], ecx
mov dword [edi + 0x48], 0
adc dword [edi + 0x100cc], 0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1015a5d0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.1000170d
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1015a60e
cmp dword [ebp + 8], 0
je 0x1015a5fc
lea eax, [ebp + 8]
push eax
call fcn.10005790
add esp, 4
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x1015a60e
mov eax, 4
jmp 0x1015a73e
call fcn.10002ef0
movzx edx, al
test edx, edx
jne 0x1015a63c
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1015a62d
mov dword [ebp - 0xc], 4
jmp 0x1015a634
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
jmp 0x1015a73e
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1015a6e5
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x1015aa90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea ecx, [ebp - 8]
call fcn.1000472d
lea ecx, [ebp - 8]
call fcn.10001b1d
movzx edx, al
test edx, edx
jne 0x1015a6a7
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
call fcn.1000302b
mov eax, dword [ebp - 0x10]
jmp 0x1015a73e
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.1000524a
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x1015a6d2
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 8]
call fcn.1000302b
mov eax, dword [ebp - 0x14]
jmp 0x1015a73e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
call fcn.1000302b
mov eax, dword [ebp - 0x18]
jmp 0x1015a73e
call fcn.1000169a
movzx ecx, al
test ecx, ecx
jne 0x1015a71e
mov edx, dword [ebp + 0x10]
or edx, 0x200000
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.10002f4f
add esp, 0x10
jmp 0x1015a73e
call fcn.100059ed
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.10005bf5
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x1015a7a0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.1000170d
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1015a7de
cmp dword [ebp + 8], 0
je 0x1015a7cc
lea eax, [ebp + 8]
push eax
call fcn.100040ac
add esp, 4
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x1015a7de
mov eax, 4
jmp 0x1015a90e
call fcn.10002ef0
movzx edx, al
test edx, edx
jne 0x1015a80c
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1015a7fd
mov dword [ebp - 0xc], 4
jmp 0x1015a804
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
jmp 0x1015a90e
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1015a8b5
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x1015aaf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea ecx, [ebp - 8]
call fcn.1000472d
lea ecx, [ebp - 8]
call fcn.10001b1d
movzx edx, al
test edx, edx
jne 0x1015a877
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
call fcn.1000302b
mov eax, dword [ebp - 0x10]
jmp 0x1015a90e
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.1000524a
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x1015a8a2
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 8]
call fcn.1000302b
mov eax, dword [ebp - 0x14]
jmp 0x1015a90e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
call fcn.1000302b
mov eax, dword [ebp - 0x18]
jmp 0x1015a90e
call fcn.1000169a
movzx ecx, al
test ecx, ecx
jne 0x1015a8ee
mov edx, dword [ebp + 0x10]
or edx, 0x200000
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1000322e
add esp, 0x10
jmp 0x1015a90e
call fcn.100059ed
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.1000366b
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x100329b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x100329bf
pop dword [ebp - 0x24]
mov eax, 0xf7ee9926
sub eax, 0xe7eb6f67
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x42a6d3fc
add dword [ebp - 0x34], 0xbab714f
mov dword [ebp - 0x30], 0x7c245647
sub dword [ebp - 0x30], 0x49f10a02
mov dword [ebp - 0x2c], 0x311d7e7e
sub dword [ebp - 0x2c], 0xe4d13a50
mov dword [ebp - 0x28], 0xc3696c6d
sub dword [ebp - 0x28], 0xc3696c6d
lea eax, [ebp - 0x34]
push eax
mov eax, 0x23b89a48
sub eax, 0x13b54930
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x354f162e
sub dword [ebp - 0x34], 0xc0dcacd8
mov dword [ebp - 0x30], 0x9bec98f7
add dword [ebp - 0x30], 0xa57fc87e
mov dword [ebp - 0x2c], 0x3732a7cd
sub dword [ebp - 0x2c], 0xd3c33b61
mov dword [ebp - 0x28], 0x498b5795
add dword [ebp - 0x28], 0xb674a86b
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x38d16
push 0
call eax
mov ecx, 0xb188e3d4
sub ecx, 0xb188a4dd
xor ebx, ebx
add ebx, eax
mov esi, 0x5bd567cd
add esi, 0xb4331c33
add esi, dword [ebp - 0x24]
mov edi, 0xd347e5c9
sub edi, 0xae02d547
xor dword [ebp - 8], 0x43fd19a6
mov edx, dword [esi]
mov dword [ebp - 0x18], 0xaed0a83e
sub edx, edi
xor dword [ebp - 0xc], edi
mov dword [ebx], edx
add ebx, 0x6e707220
add ebx, 0x918f8de4
add esi, 4
loop 0x10032ade
add eax, 0x90166090
sub eax, 0x901571e1
mov ebx, eax
add eax, 0x3fc2cd60
add eax, 0xc03d32a5
mov ecx, 0xed33a2bf
add ecx, 0x22cc5d41
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x1003384b
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi + 0x50]
cmp eax, dword [esi + 0x54]
jae 0x10033862
mov bl, byte [eax]
inc eax
mov dword [esi + 0x50], eax
jmp 0x100338ce
cmp dword [esi + 0x4c], 0
jl 0x100338cc
mov edi, dword [esi + 0x58]
push 0xfa0
push edi
push dword [esi + 0x4c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x1003389a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
je 0x1003386b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0xb
je 0x1003386b
cmp ebx, 1
jge 0x100338a7
or dword [esi + 0x4c], 0xffffffff
xor bl, bl
jmp 0x100338ec
lea eax, [edi + 1]
mov dword [esi + 0x50], eax
lea eax, [ebx + edi]
mov dword [esi + 0x54], eax
mov bl, byte [edi]
test bl, bl
jne 0x100338ce
push esi
call fcn.100348ff
mov eax, dword [esi + 0x50]
or dword [esi + 0x4c], 0xffffffff
pop ecx
mov dword [esi + 0x54], eax
jmp 0x100338ce
xor bl, bl
cmp bl, 0xa
jne 0x100338e2
mov eax, dword [esp + 0x18]
and dword [eax], 0
mov eax, dword [esp + 0x14]
inc dword [eax]
jmp 0x100338ec
test bl, bl
je 0x100338ec
mov ecx, dword [esp + 0x18]
inc dword [ecx]
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x4cf744a7
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x2e2d74f2
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x416dbb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42535c]
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.004088e5
mov dword [ebp - 0x14], eax
cmp dword [0x8250d8], esi
jne 0x416eae
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x416e3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x416f8e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x416f8e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416f8e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x8250d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x8250dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x8250e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8250e8], eax
test eax, eax
je 0x416eab
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8250e4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416ed3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416ec6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x416ee8
push 4
pop eax
jmp 0x416f90
cmp dword [ebp - 0x14], esi
je 0x416ee8
push dword [0x8250d8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x416ecd
mov eax, dword [0x8250e4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x416f46
cmp dword [0x8250e8], edi
je 0x416f46
push eax
call ebx
push dword [0x8250e8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x416f46
test eax, eax
je 0x416f46
call ecx
test eax, eax
je 0x416f3b
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 0x416f3b
test byte [ebp - 8], 1
jne 0x416f46
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x416f76
mov eax, dword [0x8250dc]
cmp eax, edi
je 0x416f73
push eax
call ebx
test eax, eax
je 0x416f73
call eax
mov esi, eax
test esi, esi
je 0x416f73
mov eax, dword [0x8250e0]
cmp eax, edi
je 0x416f73
push eax
call ebx
test eax, eax
je 0x416f73
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x8250d8]
call ebx
test eax, eax
je 0x416f8e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x416f90
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004065fc
mov esp, ebp
pop ebp
ret
Function at 0x10026ef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5683
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100c0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x45c
call fcn.100a3e12
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea edi, [eax + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x100b06c0
mov eax, dword [esi]
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x3b4], 0
mov dword [edi + 0x3b8], 0
mov dword [edi + 0x3bc], 0
mov byte [edi + 0x3c0], 0
mov dword [edi + 0x3c4], 0
mov byte [edi + 0x3cc], 0
mov dword [edi + 0x3d0], 0
mov dword [edi + 0x3d4], 0
mov dword [edi + 0x3d8], 0
mov dword [edi + 0x3dc], 0
mov dword [edi + 0x3e0], 0
mov dword [edi + 0x3e4], 0
movups xmmword [edi + 0x3f0], xmm0
mov dword [edi + 0x400], 0
mov dword [edi + 0x404], 0xf
mov byte [edi + 0x3f0], 0
movups xmmword [edi + 0x408], xmm0
mov dword [edi + 0x418], 0
mov dword [edi + 0x41c], 0xf
mov byte [edi + 0x408], 0
mov byte [ebp - 4], 2
mov ecx, edi
mov word [edi + 0x421], 0
mov byte [edi + 0x423], 0
push eax
mov dword [edi + 0x420], 0
mov word [edi + 0x428], 0
call fcn.10020680
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movq qword [ecx], xmm0
mov dword [ecx + 4], 0
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002e550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1002e60c
cmp byte [esi + 0x3d], 0
je 0x1002e60c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1002e5fa
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1002e5c1
sub eax, 1
je 0x1002e5c5
sub eax, 2
jne 0x1002e5fa
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a3df6
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1002e5e3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1002e5fa
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a3df6
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a3df6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100a3df6
mov esp, ebp
pop ebp
ret