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

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov edx, 0x5d32f0
call fcn.0040e690
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00552320
push ebp
push 0x414b60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x34]
mov edx, 0
call fcn.00408a30
mov eax, dword [ebp - 0xc]
mov edx, fcn.004ddb70
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [edx + 0x24], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [edx + 0x28], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
mov dx, 0
call fcn.00409380
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x30]
call fcn.00408a30
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [edx + 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [edx + 0x18], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.00550210
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005529c0
mov eax, dword [ebp - 4]
test dword [eax + 0x28], 0x10
je 0x552435
jmp 0x552454
mov eax, dword [ebp - 4]
call fcn.004fffa0
test al, al
je 0x552443
jmp 0x552454
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
or eax, 0x8000000
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x24], eax
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00552320
mov esp, ebp
pop ebp
ret
Function at 0x56a890
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
mov byte [ebp - 4], al
cmp al, 7
jb 0x56a8f0
sub al, 7
je 0x56a950
sub al, 1
je 0x56a8d0
sub al, 2
je 0x56a8b4
sub al, 3
je 0x56a8c0
jmp 0x56a8f0
add dword [0x62daf0], 1
jmp 0x56a950
mov eax, dword [0x62da10]
mov dword [0x62dae0], eax
jmp 0x56a950
mov eax, dword [0x62dae0]
cmp eax, dword [0x62da10]
jbe 0x56a950
sub dword [0x62dae0], 1
jmp 0x56a950
mov eax, dword [0x62dae0]
sub eax, 1
mov word [ebp - 8], ax
mov eax, dword [0x62daf0]
sub eax, 1
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 1
lea eax, [ebp - 4]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteConsoleOutputCharacterA
movzx ax, byte [0x587d00]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 1
lea eax, [ebp - 0x10]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteConsoleOutputAttribute
add dword [0x62dae0], 1
nop
mov eax, dword [0x62dae0]
cmp eax, dword [0x62da20]
jbe 0x56a989
mov eax, dword [0x62da10]
mov dword [0x62dae0], eax
add dword [0x62daf0], 1
mov esi, esi
jmp 0x56a989
mov eax, 1
call fcn.0056a7f0
sub dword [0x62daf0], 1
mov eax, dword [0x62daf0]
cmp eax, dword [0x62da40]
ja 0x56a978
mov esp, ebp
pop ebp
ret

Function at 0x56a9a0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x62dae0]
sub eax, 2
mov word [ebp - 4], ax
mov eax, dword [0x62daf0]
sub eax, 1
mov word [ebp - 2], ax
movzx ax, byte [0x587d00]
mov word [ebp - 0xc], ax
movzx ax, byte [edi]
mov si, ax
cmp si, 1
jl 0x56aa94
xor bx, bx
lea esi, [esi]
add bx, 1
add word [ebp - 4], 1
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 1
movzx eax, bl
add eax, edi
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteConsoleOutputCharacterA
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 1
lea eax, [ebp - 0xc]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteConsoleOutputAttribute
add dword [0x62dae0], 1
mov eax, dword [0x62dae0]
cmp eax, dword [0x62da20]
jbe 0x56aa88
mov eax, dword [0x62da10]
mov dword [0x62dae0], eax
add dword [0x62daf0], 1
jmp 0x56aa61
mov eax, 1
call fcn.0056a7f0
sub dword [0x62daf0], 1
mov eax, dword [0x62daf0]
cmp eax, dword [0x62da40]
ja 0x56aa50
mov eax, dword [0x62dae0]
sub eax, 2
mov word [ebp - 4], ax
mov eax, dword [0x62daf0]
sub eax, 1
mov word [ebp - 2], ax
mov esi, esi
cmp si, bx
jg 0x56a9e8
lea esi, [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d2c
nop
sub eax, 0x403cd2
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x623c70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x123000]
push edi
jmp 0x623c8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x623c91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x623c80
mov eax, 1
add ebx, ebx
jne 0x623ca3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x623cb4
jne 0x623cd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x623cd3
dec eax
add ebx, ebx
jne 0x623cc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x623c98
add ebx, ebx
jne 0x623ccf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x623d25
xor ecx, ecx
sub eax, 3
jb 0x623ceb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x623d5a
sar eax, 1
mov ebp, eax
jmp 0x623cf6
add ebx, ebx
jne 0x623cf6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x623cc4
inc ecx
add ebx, ebx
jne 0x623d04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x623cc4
add ebx, ebx
jne 0x623d11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x623d06
jne 0x623d22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x623d06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x623d44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x623d36
jmp 0x623c86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x623d44
add edi, ecx
jmp 0x623c86
pop esi
mov edi, esi
mov ecx, 0x47c7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x623d62
cmp byte [edi], 0x22
jne 0x623d62
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 0x623d67
lea edi, [esi + 0x220000]
mov eax, dword [edi]
or eax, eax
je 0x623ddf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2251d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x225310]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x623d94
mov ecx, edi
jns 0x623dc3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x225318]
or eax, eax
je 0x623dd9
mov dword [ebx], eax
add ebx, 4
jmp 0x623db1
call dword [esi + 0x225314]
mov ebp, dword [esi + 0x22531c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x623e13
sub esp, 0xffffff80
jmp 0x4aa0b1
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x43227f87
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
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, 0x11d95dd7
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x100010d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100237a0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1002e410]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x14], vtable.CBufferT_class_ElxInterface__.0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esp + 0x14], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], vtable.CBufferT_class_ElxInterface__.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x3c], vtable.CBufferT_class_CDelegateElxT_char___.0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x50], vtable.CBufferT_class_CListElxT_0___.0
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x64], vtable.CBufferT_class_CBackrefElxT_char___.0
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x78], vtable.CBufferT_class_CConditionElxT_char___.0
mov dword [esi + 0x88], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x8c], vtable.CBufferRefT_char_.0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov byte [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov byte [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov byte [esp + 0x14], 6
mov byte [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
call fcn.100049b0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x10001908
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x100019dd
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x100019dd
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x100019dd
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x10001963
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x100019dd
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100019a8
test dl, dl
je 0x100019a4
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100019a8
add ecx, 2
add eax, 2
test dl, dl
jne 0x10001988
xor eax, eax
jmp 0x100019ad
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100019bf
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x100019ca
inc esi
cmp esi, ebp
jae 0x100019dd
mov edx, dword [esp + 0x10]
jmp 0x1000197e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x10001c41
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x10001c4c
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x10001c60
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x10001c64
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x10001c9d
cmp dword [edi + ecx], 0x4550
jne 0x10001c9d
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x10001c9d
test byte [edi + ecx + 0x16], 2
je 0x10001c9d
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x10001ca2
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x10001cde
xor eax, eax
jmp 0x10001cc1
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x10001ce7
inc edx
movzx eax, dx
cmp eax, edi
jl 0x10001cc1
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x10001ced
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x10001d25
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x10001d33
add edx, 0x20
cmp eax, edx
jne 0x10001d44
test bx, bx
je 0x10001d79
add esi, 2
add edi, 2
jmp 0x10001d15
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x10001d52
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x10001d60
add edx, 0x20
sub ecx, edx
je 0x10001d79
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x10001d0e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x100027f2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x100028b3
test ecx, ecx
je 0x100028b3
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x100028b3
test ebx, ebx
je 0x100028b3
mov ebx, eax
add ebx, edx
je 0x100028b3
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x100028b3
cmp dword [edx + eax + 0x14], 0
je 0x100028b3
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x100028b3
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x100028a3
test dl, dl
je 0x1000289f
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x100028a3
add edi, 2
add esi, 2
test dl, dl
jne 0x10002883
xor eax, eax
jmp 0x100028a8
sbb eax, eax
or eax, 1
test eax, eax
je 0x100028bf
inc ebp
cmp ebp, dword [esp + 4]
jb 0x10002870
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x1000f83b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000f87e
push 0x19
push 0x401442f
push 6
call fcn.10019746
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000f895
mov eax, 0x1006899e
jmp 0x1000f944
inc dword [ebp - 4]
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x10068996]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.1000452b
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.1001a2c0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000f8e3
push ebx
call fcn.1001975e
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.10004757
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000f925
push 0x136
push 0x401442f
push 6
call fcn.10019746
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000f93f
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10019758
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000f944
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000f955
push ebx
call fcn.1001975e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10019c70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x10019cb1.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x10019cb1.2
jmp dword [eax*4 + 0x10019d3c]
mov word [esp + 0x48], di
jmp 0x10019cea
mov word [esp + 0x48], 2
jmp 0x10019cea
mov word [esp + 0x48], 3
jmp 0x10019cea
mov word [esp + 0x48], 4
jmp 0x10019cea
mov word [esp + 0x48], 7
jmp 0x10019cea
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x10019d34
cmp dword [esp + 0x70], edi
je 0x10019d20
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret
Function at 0x1001d320
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x1001d3b2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x1001d3a4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x1001d39c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x1001d365
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x1001d3c0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret

Function at 0x1001edf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
xor esi, esi
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x9c
call edi
test eax, eax
jne 0x1001ee3c
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call edi
test eax, eax
jne 0x1001ee3c
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0x18], 2
jne 0x1001ee4f
cmp dword [esp + 0xc], 5
jb 0x1001ee4f
mov esi, 1
mov eax, esi
pop edi
pop esi
add esp, 0x9c
ret