joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58e6f5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62c490]
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.0058178e
mov dword [ebp - 0x14], eax
cmp dword [0x639828], esi
jne 0x58e7e8
push 0x800
push esi
push 0x5f70a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x58e775
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x58e8c8
push esi
push esi
push 0x5f70a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x58e8c8
push 0x5f70b8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x58e8c8
push eax
call ebx
push 0x5f70c4
push edi
mov dword [0x639828], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f70d4
push edi
mov dword [0x63982c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x639830], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x639838], eax
test eax, eax
je 0x58e7e5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x639834], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x58e80d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x58e800
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x58e822
push 4
pop eax
jmp 0x58e8ca
cmp dword [ebp - 0x14], esi
je 0x58e822
push dword [0x639828]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x58e807
mov eax, dword [0x639834]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x58e880
cmp dword [0x639838], edi
je 0x58e880
push eax
call ebx
push dword [0x639838]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x58e880
test eax, eax
je 0x58e880
call ecx
test eax, eax
je 0x58e875
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 0x58e875
test byte [ebp - 8], 1
jne 0x58e880
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x58e8b0
mov eax, dword [0x63982c]
cmp eax, edi
je 0x58e8ad
push eax
call ebx
test eax, eax
je 0x58e8ad
call eax
mov esi, eax
test esi, esi
je 0x58e8ad
mov eax, dword [0x639830]
cmp eax, edi
je 0x58e8ad
push eax
call ebx
test eax, eax
je 0x58e8ad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x639828]
call ebx
test eax, eax
je 0x58e8c8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x58e8ca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00577115
mov esp, ebp
pop ebp
ret
Function at 0x59dcea
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4173d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov byte [ebp - 1], cl
sub edx, 0
inc edx
mov dword [ebp - 8], edx
mov esi, dword [ebp - 8]
dec esi
test esi, esi
jl 0x417411
inc esi
xor ecx, ecx
movzx edx, byte [eax]
movzx ebx, byte [ebp - 1]
mov byte [ebp - 9], bl
xor dl, byte [ebp - 9]
mov ebx, dword [ebp + 8]
add ebx, ecx
mov edi, ebx
mov byte [edi], dl
inc ecx
inc eax
dec esi
jne 0x4173f6
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov byte [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000ddcc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1000dddb
pop dword [ebp - 0x40]
mov eax, 0x1000dddb
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x76b17b88
add dword [ebp - 0x50], 0xd7a0c9c3
mov dword [ebp - 0x4c], 0x553f1fb4
add dword [ebp - 0x4c], 0xdcf42c91
mov dword [ebp - 0x48], 0xf4b0a9dc
add dword [ebp - 0x48], 0x579b9a52
mov dword [ebp - 0x44], 0x1e2bfe5a
add dword [ebp - 0x44], 0xe1d401a6
lea eax, [ebp - 0x50]
push eax
mov eax, 0x72ee359a
sub eax, 0x62ec455a
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xcb65dbd4
sub dword [ebp - 0x50], 0x56f3727e
mov dword [ebp - 0x4c], 0x6dcfee45
sub dword [ebp - 0x4c], 0x2c638cd0
mov dword [ebp - 0x48], 0x5718eb15
add dword [ebp - 0x48], 0xc568157
mov dword [ebp - 0x44], 0x36c32712
add dword [ebp - 0x44], 0xc93cd8ee
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3c980
push 0
call eax
mov ecx, 0x2ceced39
add ecx, 0xd313690e
mov ebx, eax
mov edx, 0x4528476a
sub edx, 0x3525556a
add edx, dword [ebp - 0x40]
mov edi, 0x50dc2ffe
sub edi, 0x6ec1a137
mov dword [ebp - 0x34], 0x6768c817
mov esi, dword [edx]
xor esi, edi
mov dword [ebp - 0x2c], 0xd6fd9b74
mov dword [ebx], esi
xor dword [ebp - 0x30], edx
add ebx, 4
add edx, 0xd889500c
sub edx, 0xd8895008
loop 0x1000def3
add eax, 0x185726ff
add eax, 0xe7aa24f0
xor ebx, ebx
add ebx, eax
add eax, 0xe16be686
add eax, 0x1e94197f
mov ecx, 0x1661eacd
sub ecx, 0x661eacd
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x1001c020
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
sub eax, dword [esi + 0x289c]
push 1
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x292c], eax
call edi
sub eax, dword [esi + 0x28a0]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x2930], eax
mov eax, dword [esi + 0x2d50]
test eax, eax
je 0x1001c08f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x28a0]
push dword [esi + 0x289c]
push dword [esi + 0x2930]
push dword [esi + 0x292c]
push dword [esi + 0x2d50]
call dword [sym.imp.USER32.dll_MoveWindow]
push esi
call fcn.1000ddcc
pop ecx
pop edi
pop esi
ret

Function at 0x1001e4ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10029008]
jne 0x1001e4f4
repz ret
jmp fcn.1001ea43
Function at 0x40225d
Capabilities:
Terminate process

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x4cefc8], eax
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
push 8
push esp
call dword [sym.imp.COMCTL32.DLL_InitCommonControlsEx]
add esp, 8
mov eax, 0x515be8
mov dword [0x4cef9c], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4cef78], eax
call fcn.00401fb9
cmp eax, 0
mov cl, 0
jl 0x4c4ad4
call fcn.00402083
cmp eax, 0
mov cl, 1
jl 0x4c4ad4
call fcn.00402091
cmp eax, 0
mov cl, 2
jl 0x4c4ad4
call fcn.0049ffc4
call fcn.0049fef4
call fcn.0049fdda
push 0x4d0d52
call fcn.0049f0ee
cmp eax, 0
mov cl, 3
jl 0x4c4ad4
push 0x4d0b42
mov eax, 0x4cb664
pop dword [eax]
push 0x4d0a3b
mov eax, 0x4cefa8
pop dword [eax]
push str.Vism_TB
mov eax, 0x4cef38
pop dword [eax]
push 0x4cefe8
mov eax, 0x4cc104
pop dword [eax]
push 0x4d09d1
mov eax, 0x4cef64
pop dword [eax]
mov eax, 0x4c5248
push 0x4cdc90
push eax
call fcn.004020da
call fcn.0049ff56
call fcn.0049fe85
call fcn.0049fd3f
call dword [sym.imp.ole32.dll_OleUninitialize]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, eax
call fcn.004c4a4f
mov esp, eax
call fcn.004c3cd0
jmp eax
movzx ecx, cl
jmp 0x4c4ac4
Function at 0x4925f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, ecx
or ecx, 0xffffffff
push edi
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 3]
shl edx, 8
or edx, eax
movzx edi, byte [edx + esi + 8]
lea ebx, [edx + 4]
movzx eax, byte [edx + esi + 9]
shl edi, 8
or edi, eax
movzx eax, byte [edx + esi + 0xa]
shl edi, 8
or edi, eax
movzx eax, byte [edx + esi + 0xb]
shl edi, 8
xor edx, edx
or edi, eax
test ebx, ebx
je 0x492662
movzx eax, byte [esi + edx + 4]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x51c244]
cmp edx, ebx
jb 0x492649
not ecx
xor eax, eax
cmp edi, ecx
pop edi
pop esi
setne al
pop ebx
ret

Function at 0x492b81
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [esp + 4], 0x20
push esi
mov esi, ecx
je 0x492b92
mov eax, 0x61
pop esi
ret
mov dword [esi + 0x90], 1
movzx ecx, byte [edx]
shl ecx, 8
movzx eax, byte [edx + 1]
add ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x94], ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
movzx eax, byte [edx + 5]
add ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x98], ecx
movzx ecx, byte [edx + 8]
movzx eax, byte [edx + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x9c], ecx
movzx ecx, byte [edx + 0xc]
movzx eax, byte [edx + 0xd]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
add ecx, eax
mov dword [esi + 0xa0], ecx
movzx ecx, byte [edx + 0x10]
movzx eax, byte [edx + 0x11]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x12]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x13]
shl ecx, 8
add ecx, eax
mov dword [esi + 0xa4], ecx
movzx ecx, byte [edx + 0x14]
movzx eax, byte [edx + 0x15]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x16]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x17]
shl ecx, 8
add ecx, eax
mov dword [esi + 0xa8], ecx
movzx ecx, byte [edx + 0x18]
movzx eax, byte [edx + 0x19]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x1a]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x1b]
shl ecx, 8
add ecx, eax
mov dword [esi + 0xac], ecx
movzx ecx, byte [edx + 0x1c]
movzx eax, byte [edx + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x1e]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x1f]
shl ecx, 8
add ecx, eax
xor eax, eax
mov dword [esi + 0xb0], ecx
pop esi
ret
Function at 0x4b9551
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push 0x40
push 0x3000
push 0x16
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0xb0], eax
lea ecx, [esi + 0xac]
mov byte [eax], 0x8b
mov eax, dword [esi + 0xb0]
mov byte [eax + 1], 0x44
mov eax, dword [esi + 0xb0]
mov byte [eax + 2], 0x24
mov eax, dword [esi + 0xb0]
mov byte [eax + 3], 4
mov eax, dword [esi + 0xb0]
mov byte [eax + 4], 0xa3
mov eax, dword [esi + 0xb0]
mov dword [eax + 5], ecx
mov eax, dword [esi + 0xb0]
mov byte [eax + 9], 0xc7
mov eax, dword [esi + 0xb0]
mov byte [eax + 0xa], 0x44
mov eax, dword [esi + 0xb0]
mov byte [eax + 0xb], 0x24
mov eax, dword [esi + 0xb0]
mov byte [eax + 0xc], 4
mov eax, dword [esi + 0xb0]
mov dword [eax + 0xd], esi
mov eax, dword [esi + 0xb0]
mov byte [eax + 0x11], 0xe9
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_IsWindowUnicode]
mov ecx, dword [esi + 0xb0]
test eax, eax
je 0x4b9619
mov eax, 0x4b942b
sub eax, ecx
sub eax, 0x16
mov dword [ecx + 0x12], eax
push dword [esi + 0xb0]
push 0xfffffffffffffffc
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [esi + 0xa8], eax
pop esi
ret
mov eax, 0x4b57f1
mov byte [esi + 0x58], 1
sub eax, ecx
sub eax, 0x16
mov dword [ecx + 0x12], eax
push dword [esi + 0xb0]
push 0xfffffffffffffffc
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [esi + 0xa8], eax
pop esi
ret
Function at 0x4ba9bd
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
call fcn.004c50b1
mov edi, eax
mov esi, dword [edi + 0x100]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push dword [edi + 0xec]
call dword [sym.imp.USER32.dll_GetDC]
push dword [edi + 0x104]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
push ebx
call ebp
mov dword [esp + 0x14], eax
test esi, esi
je 0x4baa10
mov eax, dword [esi - 4]
cdq
sub eax, edx
sar eax, 1
jmp 0x4baa12
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
push eax
push esi
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
push dword [esp + 0x14]
push ebx
call ebp
push ebx
push dword [edi + 0xec]
call dword [sym.imp.USER32.dll_ReleaseDC]
add dword [esp + 0x1c], 6
add dword [esp + 0x20], 6
push esi
push dword [edi + 0xec]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push dword [edi + 0xec]
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push dword [edi + 0xfc]
push dword [edi + 0xf8]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
xor ecx, ecx
mov dword [esp + 0x50], 0x28
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ecx, dword [esp + 0x1c]
mov eax, ecx
mov ebx, dword [edi + 0xf8]
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
sar eax, 1
sub ebx, eax
lea eax, [ebx + ecx]
cmp eax, edx
jle 0x4baac9
mov ebx, edx
sub ebx, ecx
mov eax, dword [esp + 0x54]
cmp ebx, eax
jge 0x4baad3
mov ebx, eax
call dword [sym.imp.USER32.dll_GetCursor]
xor ebp, ebp
mov dword [esp + 0x14], 0
test eax, eax
je 0x4bab74
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4bab74
cmp dword [esp + 0x34], ebp
sete byte [esp + 0x13]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push eax
push 0x18
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4bab62
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x4bab57
neg eax
mov dword [esp + 0x40], eax
movzx ecx, byte [esp + 0x13]
inc ecx
cdq
idiv ecx
mov ebp, eax
push dword [esp + 0x34]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x30]
call esi
add ebp, dword [edi + 0xfc]
push 0x54
push dword [esp + 0x24]
push dword [esp + 0x24]
push ebp
push ebx
push 0
push dword [edi + 0xec]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 0xec]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0x64
push 1
push dword [edi + 0xec]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
Function at 0x4babba
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
call fcn.004c50b1
mov esi, eax
mov eax, dword [esi + 0x100]
test eax, eax
je 0x4babe0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebx + 0x24]
mov edx, str.ToolTipText
call fcn.004c0e6d
mov dword [esi + 0x100], eax
test eax, eax
je 0x4bac0e
cmp word [eax], 0
jne 0x4bac51
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi + 0x100], 0
call fcn.004c50b1
mov esi, eax
mov eax, dword [esi + 0xec]
test eax, eax
je 0x4bac4a
push 1
push eax
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 0xec]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x80]
mov dword [esi + 0xf4], eax
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x3c]
mov dword [esi + 0xf0], eax
test edi, edi
je 0x4bac7e
mov eax, dword [edi]
mov dword [esi + 0xf8], eax
mov eax, dword [edi + 4]
mov dword [esi + 0xfc], eax
cmp byte [ebp + 8], 0
je 0x4bac90
call fcn.004ba9bd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x2bc
push 1
push dword [esi + 0xec]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6527840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x6527872
jl 0x6527865
test ecx, ecx
jne 0x6527872
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x6527932
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.0652a260
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x65278de
jg 0x652789d
test esi, esi
je 0x65278de
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x65278b5
mov eax, dword [esp + 0x10]
jl 0x65278af
cmp eax, esi
jae 0x65278b5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.06559c30
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x65278ff
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x652791b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x6527884
jl 0x652791b
test ecx, ecx
jne 0x6527884
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x6527976
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x6527976
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.06559c30
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x65279e7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x652799c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x65279d2
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0655eaed
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x65279e7
cmp edi, eax
ja 0x65279b0
test edi, edi
je 0x65279e7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0655eaed
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6528ea0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x657d58c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6590080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], 0
lea ecx, [ebx + 0x60]
mov dword [ebx], 0x65889f0
call fcn.0652a2e0
mov dword [ebp - 4], 0
mov eax, dword [ebx]
mov dword [ebp - 0x14], 1
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov esi, dword [eax + 4]
add esi, ebx
mov ecx, esi
call fcn.06522660
mov eax, dword [esi + 0x30]
lea edi, [ebx + 0x10]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], 0
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
call fcn.0652c2e0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx ecx, ax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x6528f7d
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x6528f7d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov eax, dword [ebp - 0x18]
mov word [esi + 0x40], ax
jne 0x6528f9a
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.065225e0
mov dword [ebp - 4], 3
mov eax, dword [ebx]
push 8
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], edi
lea eax, [ecx - 0x60]
mov dword [ecx + ebx - 4], eax
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 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
call fcn.065585d3
mov esi, eax
xorps xmm0, xmm0
add esp, 4
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 4
call fcn.0653f57e
add esp, 4
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.0652a920
mov eax, dword [ebp + 8]
mov ecx, eax
mov byte [ebp - 4], 5
mov dword [edi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
cmp dword [eax + 0x14], 7
jbe 0x652905b
mov ecx, dword [eax]
push 2
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.0652aa80
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc