joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4631e8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463393
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x463374
mov dl, 1
mov eax, dword [0x412300]
call fcn.0040332c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004040ac
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x463363
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045032c
test al, al
je 0x463356
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4633a4
lea eax, [ebp - 0x254]
call fcn.00408e88
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x463356
xor eax, eax
push ebp
push 0x46334f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4633dc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x463338
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040431c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x463338
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040431c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463356
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x463259
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416740
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46339a
lea eax, [ebp - 0x260]
call fcn.004040ac
ret

Function at 0x463cc8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x484c08]
cmp byte [eax + 0xa5], 0
jne 0x463d39
cmp dword [0x484c20], 0
jne 0x463cfa
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x463c84
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x484c20], eax
cmp dword [0x484c1c], 0
jne 0x463d15
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x484c1c], eax
cmp dword [0x484c24], 0
jne 0x463d39
push esp
push 0
push 0
push 0x463c28
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x484c24], eax
pop edx
ret
Function at 0x463e60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x463e77
add esp, 0xfffffff0
call fcn.00403680
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a6a8
mov eax, dword [0x483ab8]
cmp word [eax + 2], 0
jne 0x463e9f
mov eax, dword [0x483ab8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004655e0
mov eax, dword [0x483b80]
cmp word [eax + 2], 0
jne 0x463eb9
mov eax, dword [0x483b80]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004657d8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411d58]
call fcn.0040332c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411d58]
call fcn.0040332c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41cc0c]
call fcn.00424510
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x464040
mov eax, dword [0x4839b4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004248e0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x465d88
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4839b4]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c744
test eax, eax
je 0x463fae
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408868
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c76c
test eax, eax
je 0x463fc2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040431c
mov eax, dword [0x48387c]
cmp byte [eax], 0
jne 0x463ff6
mov eax, ebx
call fcn.00464168
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00465f64
mov eax, ebx
call fcn.00466928
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x464036
call fcn.004036d8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4643e8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x484c08]
cmp dword [eax + 0x30], 0
je 0x464492
cmp dword [ebx + 0x94], 0
jne 0x46448c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x464378
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46448c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x464452
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46448c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041424c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464461
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x464ff4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x465029
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040419c
jmp 0x465036
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404100
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x466140
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x466181
mov eax, esi
call fcn.0044b9a8
test al, al
je 0x466181
mov eax, dword [ebx + 0x84]
call fcn.0044b6d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x466181
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b6d0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46f9ec
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x484c44
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x46fa0e
shr eax, 1
xor eax, 0xedb88320
jmp 0x46fa10
shr eax, 1
dec edx
jne 0x46f9fc
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x46f9f5
mov byte [0x485044], 1
pop esi
pop ebx
ret

Function at 0x46fa2c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x485044], 0
jne 0x46fa43
call fcn.0046f9ec
mov eax, edi
dec eax
test eax, eax
jl 0x46fa6c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x484c44]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x46fa4d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x472810
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x472841
dec al
je 0x47287d
dec al
je 0x4728c1
dec al
je 0x47292c
jmp 0x4729b6
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4729b6
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x472851
jmp 0x4729b6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4729b6
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x47288d
jmp 0x4729b6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4729b6
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4728ef
xor ebp, ebp
jmp 0x472900
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x472909
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4728d1
jmp 0x4729b6
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4729b6
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x472984
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0046fa74
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x472940
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x476c84
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.KERNEL32.DLL_GetVersionExA
cmp dword [ebp - 0x84], 2
jne 0x476cc7
cmp dword [ebp - 0x90], 5
ja 0x476ccb
cmp dword [ebp - 0x90], 5
jne 0x476cc7
cmp dword [ebp - 0x8c], 1
jae 0x476ccb
xor eax, eax
jmp 0x476ccd
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x47d020
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040455c
xor eax, eax
push ebp
push 0x47d0db
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47d0b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402cfc
lea eax, [ebp - 0x122]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00402cfc
lea eax, [ebp - 0x122]
mov edx, dword [ebp - 4]
call fcn.004088c4
xor eax, eax
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x122]
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
or word [ebp - 0x12], 0x10
or word [ebp - 0x12], 4
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47d0c5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d0e2
lea eax, [ebp - 4]
call fcn.004040ac
ret

Function at 0x47d0ec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040455c
lea esi, [ebp - 0x40]
xor eax, eax
push ebp
push 0x47d1ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor ecx, ecx
mov edx, 0x3c
call fcn.00402cfc
mov dword [esi], 0x3c
mov dword [esi + 4], 0x140
call sub.user32.dll_GetActiveWindow
mov dword [esi + 8], eax
mov eax, 0x47d1c8
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0040456c
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x14], ebx
push esi
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x47d164
mov ebx, dword [esi + 0x38]
jmp 0x47d187
call sub.KERNEL32.DLL_GetLastError
lea edx, [ebp - 0x44]
call fcn.0040b0bc
mov eax, dword [ebp - 0x44]
call fcn.0042b170
jmp 0x47d19c
mov eax, dword [0x483b60]
mov eax, dword [eax]
call fcn.00465334
push 0x32
mov eax, dword [esi + 0x38]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
test eax, eax
jne 0x47d17b
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d1c1
lea eax, [ebp - 0x44]
call fcn.004040ac
lea eax, [ebp - 4]
call fcn.004040ac
ret

Function at 0x47d1d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
xor eax, eax
mov dword [ebp - 0x10c], eax
xor eax, eax
push ebp
push 0x47d257
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.00408a18
mov edx, dword [ebp - 0x10c]
mov eax, 0x4851f4
mov ecx, 0x47d26c
call fcn.004043b8
mov eax, dword [0x4851f4]
call fcn.0040855c
test al, al
jne 0x47d23e
mov eax, dword [0x4851f4]
call fcn.00408810
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d25e
lea eax, [ebp - 0x10c]
call fcn.004040ac
ret
Function at 0x66bf00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.OEM1
lea edi, [esi - 0x1a2000]
push edi
or ebp, 0xffffffff
jmp 0x66bf22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x66bf29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66bf18
mov eax, 1
add ebx, ebx
jne 0x66bf3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x66bf4c
jne 0x66bf6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66bf6b
dec eax
add ebx, ebx
jne 0x66bf58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x66bf30
add ebx, ebx
jne 0x66bf67
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x66bfbd
xor ecx, ecx
sub eax, 3
jb 0x66bf83
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x66bff2
sar eax, 1
mov ebp, eax
jmp 0x66bf8e
add ebx, ebx
jne 0x66bf8e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66bf5c
inc ecx
add ebx, ebx
jne 0x66bf9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66bf5c
add ebx, ebx
jne 0x66bfa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x66bf9e
jne 0x66bfba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x66bf9e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x66bfdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x66bfce
jmp 0x66bf1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x66bfdc
add edi, ecx
jmp 0x66bf1e
pop esi
mov edi, esi
mov ecx, 0x82e3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x66bffa
cmp byte [edi], 0x2f
jne 0x66bffa
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 0x66bfff
lea edi, [esi + 0x267000]
mov eax, dword [edi]
or eax, eax
je 0x66c06e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27ec34]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x27ed4c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x66c02c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x27ed50]
or eax, eax
je 0x66c068
mov dword [ebx], eax
add ebx, 4
jmp 0x66c049
call dword [esi + 0x27ed58]
mov ebp, dword [esi + 0x27ed54]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x66c0a2
sub esp, 0xffffff80
jmp 0x57f610
Function at 0x10024670
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e7990
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101d7380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
mov dword [ebx], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.100bc8f3
mov edi, eax
add esp, 4
test edi, edi
je 0x1002471d
push 1
mov dword [ebp - 4], 0
call fcn.100ba444
add esp, 4
mov dword [edi + 4], eax
jmp 0x1002471f
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.10029000
mov dword [esi + 0xc], ebx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea edx, [esi + 0x18]
mov byte [esi + 0x48], 0
lea edi, [esi + 0x24]
mov byte [esi + 0x3d], 0
lea ebx, [esi + 0x28]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [eax], 0
mov dword [edx], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [ecx], 0
mov dword [edi], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x101da1c8]
mov ecx, dword [0x101da1cc]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a9a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e80cd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x101d7380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.100bc8f3
mov edi, eax
add esp, 4
test edi, edi
je 0x1002aa3d
push 1
mov dword [ebp - 4], 0
call fcn.100ba444
add esp, 4
mov dword [edi + 4], eax
jmp 0x1002aa3f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.10024250
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x1002aa9a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x1002aa9a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x1002aab6
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x1002aad9
cmp byte [ebp + 0xc], 0
je 0x1002aac5
push esi
call fcn.100ba94d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x1002aae5
mov esi, str.ios_base::badbit_set
jmp 0x1002aaf5
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.1002ab20
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10024f30
push 0x101bf5e4
lea eax, [ebp - 0x28]
push eax
call fcn.100bde9d
int3

Function at 0x1002be20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e816d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101d7380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call fcn.100bc8f3
add esp, 4
test eax, eax
je 0x1002be66
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
jmp 0x1002be68
xor eax, eax
mov dword [ebp + 0xc], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push eax
push 0x1002d1c0
push 0
push 0
call fcn.100c7f70
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x1002bea5
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 6
mov dword [edi], 0
call fcn.100bad5f
int3
Function at 0x1004e0b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e8eb0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101d7380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.100bc8f3
mov edi, eax
add esp, 4
test edi, edi
je 0x1004e15b
push 1
mov dword [ebp - 4], 0
call fcn.100ba444
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10068b20
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 0xcc
ja 0x10068b46
lea eax, [edi + 8]
lea ebx, [edi + 4]
mov dword [ecx], eax
mov eax, edi
mov dword [ebx], esi
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, Ordinal_2
cmp esi, eax
cmovl eax, esi
mov esi, eax
cmp esi, 0xccccccc
ja 0x10068b7c
test esi, esi
jle 0x10068b7c
nop
lea eax, [esi + esi*4]
shl eax, 2
push 0x101aea38
push eax
call fcn.100bcdf4
add esp, 8
test eax, eax
jne 0x10068ba1
shr esi, 1
jne 0x10068b60
xor eax, eax
lea ebx, [edi + 4]
push eax
call fcn.100bcdef
mov ecx, edi
lea eax, [edi + 8]
add esp, 4
mov esi, 0xcc
mov dword [ecx], eax
mov eax, edi
pop edi
mov dword [ebx], esi
pop esi
pop ebx
pop ebp
ret 4
lea ebx, [edi + 4]
cmp esi, 0xcc
jbe 0x10068b81
mov ecx, edi
mov dword [ecx], eax
mov eax, edi
pop edi
mov dword [ebx], esi
pop esi
pop ebx
pop ebp
ret 4