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

Disassembly:
push 0xffffffffffffffff
push 0x4ad598
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CBkWindow.0
call fcn.0041d5f0
push 0x4e02e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0041d5f0
add dword [eax + 0x60], 1
mov ebx, dword [eax + 0x60]
add eax, 0x60
push ebx
call fcn.0041d5f0
mov ecx, eax
call fcn.004108c0
push 0x4e02e0
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
lea ebx, [esi + 0x14]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [esi + 0x24], edi
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
call edx
add eax, 0x10
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
call edx
add eax, 0x10
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
call edx
add eax, 0x10
mov dword [esi + 0x48], eax
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
call edx
add eax, 0x10
mov dword [esi + 0x4c], eax
or eax, 0xffffffff
push ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], 1
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x459b30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4af3a9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov dword [esp + 0x18], 0
call edx
mov edi, dword [esp + 0x20]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
push str.nTotalScroll_d__nScolled_d__bAdd_d__nChange_d
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 1
call fcn.00405e90
add esp, 0x18
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x459ed0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4ad568
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x28]
call fcn.004079b0
lea ecx, [esp + 4]
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x12]
movzx eax, word [esp + 0x10]
movzx ecx, word [esp + 0xe]
push edx
movzx edx, word [esp + 0x10]
push eax
push ecx
push edx
lea eax, [esp + 0x34]
push str.__02d__02d__02d__03d__n
push eax
call fcn.00405eb0
mov ecx, dword [esp + 0x3c]
add esp, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x459f71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret 4
Function at 0x45b270
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
jne 0x45b2de
test byte [esi + 0x14], 2
je 0x45b2de
push edi
mov edi, dword [esp + 0x1c]
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
sub ecx, eax
je 0x45b2cd
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
sub edx, ecx
je 0x45b2cd
mov edx, dword [esi + 0x10]
push 0x11
push 0
push 0
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub ecx, edx
push ecx
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
add esp, 0x10
ret 0xc
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
pop edi
pop esi
add esp, 0x10
ret 0xc

Function at 0x45b2f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
test byte [esi + 0x14], 1
je 0x45b310
cmp dword [esp + 0xc], 0
jne 0x45b310
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xf9
pop esi
ret 0xc

Function at 0x45b320
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov byte [esi + 0xd], 0
mov byte [esi + 0xc], 0
pop esi
ret 0xc

Function at 0x45bf40
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
cmp dword [esp + 0x18], 1
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov esi, ecx
jne 0x45bf6f
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
pop edi
mov dword [esi + 0x18], ebp
pop esi
pop ebp
add esp, 0x10
ret 0xc
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x10]
je 0x45bfe8
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
je 0x45bfe8
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x45bfdc
or byte [esi + 0x14], 4
mov al, byte [esi + 0x14]
test al, 2
jne 0x45bfd3
or al, 2
push edi
mov ecx, esi
mov byte [esi + 0x14], al
call fcn.0045bdc0
mov ecx, dword [esi + 8]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov dword [esi + 0x18], ebp
pop esi
pop ebp
add esp, 0x10
ret 0xc
cmp dword [esi + 0x18], ebp
je 0x45bfdc
mov byte [esi + 0x1c], 1
pop edi
mov dword [esi + 0x18], ebp
pop esi
pop ebp
add esp, 0x10
ret 0xc
mov edx, dword [esi + 8]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
pop edi
pop esi
pop ebp
add esp, 0x10
ret 0xc
Function at 0x45c010
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
je 0x45c072
and byte [esi + 0x14], 1
push edi
mov edi, dword [esp + 0xc]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x45c046
or byte [esi + 0x14], 4
test eax, 0x20000000
mov cl, byte [esi + 0x14]
jne 0x45c046
or cl, 2
mov byte [esi + 0x14], cl
test byte [esi + 0x14], 2
je 0x45c065
push edi
mov ecx, esi
call fcn.0045bdc0
mov eax, dword [esi + 8]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4
Function at 0x463750
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
cmp ebx, 0xf
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
jne 0x46378c
mov eax, 1
mov dword [esi + 0xac], eax
mov dword [edi], 0
cmp dword [esi + 0xac], 0
je 0x463837
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
cmp ebx, 2
jne 0x4637de
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
mov dword [esi + 0xac], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x4637c3
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4637c3
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi], 0
cmp dword [esi + 0xac], 0
je 0x46382a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x14
cmp ebx, 0x47
jne 0x46380e
push ebp
mov dword [esi + 0xac], 1
call fcn.0044de40
mov dword [edi], 0
cmp dword [esi + 0xac], 0
je 0x463837
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x14
cmp ebx, 0x18
jne 0x46382e
mov edx, dword [esp + 0x1c]
push ebp
push edx
mov dword [esi + 0xac], 1
call fcn.0044df50
jmp 0x4637f3
mov ebx, dword [esp + 0x18]
cmp dword [esi + 0xac], 0
jne 0x4637d2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push edi
push ebp
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00460390
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
Function at 0x46d250
Capabilities:
Find taskbar

Disassembly:
mov eax, dword [0x5007a8]
test eax, eax
je 0x46d264
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x46d2a9
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
mov dword [0x5007a8], eax
je 0x46d2a8
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.ReBarWindow32
push 0
push eax
call esi
test eax, eax
mov dword [0x5007a8], eax
je 0x46d2a7
push 0
push 0x4bd26c
push 0
push eax
call esi
mov dword [0x5007a8], eax
pop esi
ret
mov eax, dword [0x5007a8]
ret

Function at 0x46d740
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x30
push ebp
push esi
mov ebp, ecx
call fcn.0046d250
xor esi, esi
cmp eax, esi
je 0x46d8b0
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call edi
test eax, eax
je 0x46d8a4
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsRectEmpty]
lea edx, [esp + 0x20]
push edx
call ebx
test eax, eax
jne 0x46d897
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, esi
je 0x46d897
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call edi
test eax, eax
je 0x46d897
lea edx, [esp + 0x10]
push edx
call ebx
test eax, eax
jne 0x46d897
mov ecx, dword [ebp + 4]
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea esi, [ebp + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi]
lea edx, [esp + 0x30]
push edx
push eax
call edi
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
add eax, dword [esp + 0x10]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
sub edi, 1
cmp dword [ebp + 0x3b4], 2
jne 0x46d841
cmp dword [ebp + 0x3f8], 0
jbe 0x46d88a
lea ecx, [ebp + 0x3cc]
call fcn.0043e700
test eax, eax
jne 0x46d88a
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
mov eax, dword [esp + 0x14]
je 0x46d871
lea ebp, [edx + edi]
cmp dword [esp + 0x30], ebp
jne 0x46d871
mov ebp, eax
sub ebp, ecx
lea ebp, [ebx + ebp - 2]
cmp dword [esp + 0x34], ebp
je 0x46d88a
push 0x51
push 0
sub eax, ecx
push 0
lea eax, [eax + ebx - 2]
push eax
add edx, edi
push edx
push 0
mov ecx, esi
call fcn.00432310
mov ecx, dword [esi]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x30
ret
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x30
ret
pop esi
mov eax, 1
pop ebp
add esp, 0x30
ret
Function at 0x46da30
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x4dffd0]
xor eax, esp
mov dword [esp + 0x2b4], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c8]
xor ebx, ebx
push 0x2b0
lea eax, [esp + 0x14]
push ebx
push eax
mov esi, ecx
mov dword [esp + 0x18], ebx
call sub.MSVCR80.dll_memset
mov eax, dword [esi + 0xb4]
add esp, 0xc
cmp dword [eax - 0xc], ebx
je 0x46da9c
push 0x4101
push 0x2b4
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x46da9a
mov edx, dword [esp + 0xc]
mov dword [edi], edx
lea eax, [ebx + 1]
jmp 0x46da9e
mov dword [edi], ebx
mov eax, ebx
mov ecx, dword [esp + 0x2c0]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048e5b2
add esp, 0x2b8
ret 4
Function at 0x471080
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
push esi
xor esi, esi
test edx, edx
push edi
mov dword [esp + 0xc], esi
je 0x47116f
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4710a0
sub eax, edi
sar eax, 1
je 0x47116f
push ebp
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x471164
lea eax, [esp + 0xc]
push eax
push ebp
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [esp + 0xc], esi
mov edi, eax
jne 0x47115d
cmp edi, 0x200000
ja 0x47115d
lea ecx, [edi + 2]
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
push 0
lea edx, [esp + 0x1c]
push edx
push edi
mov esi, eax
push esi
push ebp
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x471159
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x471159
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov byte [eax + esi], 0
mov eax, dword [esp + 0x18]
mov byte [eax + esi + 1], 0
mov dword [ecx], esi
push ebp
mov dword [edx], edi
mov esi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
mov eax, esi
pop esi
add esp, 8
ret 0xc
mov esi, dword [esp + 0x10]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
mov eax, esi
pop esi
add esp, 8
ret 0xc
pop edi
xor eax, eax
pop esi
add esp, 8
ret 0xc

Function at 0x471240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af061
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov dword [esp + 0x1c], ebx
call edx
mov esi, dword [esp + 0x24]
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x10]
push ebx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 1
call fcn.0043a320
mov ecx, dword [eax]
push ecx
push str._sdata
push esi
mov dword [esp + 0x30], 1
call fcn.00405e90
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x1c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4712db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4bd7a8
push 0x4b9744
push esi
call fcn.00405eb0
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 4
Function at 0x471de0
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
je 0x471e2a
mov eax, dword [esi + 0x34]
test eax, eax
je 0x471e23
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x471e16
mov eax, dword [esi + 0x34]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x34]
push ecx
call ebx
mov dword [esi + 0x34], 0
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x471e3b
push eax
call ebx
mov dword [esi + 0x38], 0
pop esi
pop ebx
ret

Function at 0x472150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af061
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov dword [esp + 0x1c], ebx
call edx
mov esi, dword [esp + 0x24]
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x10]
push ebx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 1
call fcn.0043a320
mov ecx, dword [eax]
push ecx
push str._sdata
push esi
mov dword [esp + 0x30], 1
call fcn.00405e90
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x1c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4721eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
push eax
call fcn.0043a3b0
push 0x4bd7a8
push 0x4b9744
push esi
call fcn.00405eb0
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 4

Function at 0x472220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af061
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov dword [esp + 0x1c], ebx
call edx
mov esi, dword [esp + 0x24]
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x10]
push ebx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 1
call fcn.0043a320
mov ecx, dword [eax]
push ecx
push str._sksearchjs
push esi
mov dword [esp + 0x30], 1
call fcn.00405e90
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x1c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4722bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
push eax
call fcn.0043a3b0
push 0x4bd8a4
push 0x4b9744
push esi
call fcn.00405eb0
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 4
Function at 0x4722f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af061
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov dword [esp + 0x1c], ebx
call edx
mov esi, dword [esp + 0x24]
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x10]
push ebx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 1
call fcn.0043a320
mov ecx, dword [eax]
push ecx
push str._sextendpack
push esi
mov dword [esp + 0x30], 1
call fcn.00405e90
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x1c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47238b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
push eax
call fcn.0043a3b0
push str.ksechcache.dat
push 0x4b9744
push esi
call fcn.00405eb0
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 4

Function at 0x472660
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
xor ebx, ebx
cmp esi, ebx
mov edi, ecx
mov dword [esp + 0x14], edi
je 0x472749
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x472680
sub eax, edx
sar eax, 1
je 0x472749
push ebp
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x472728
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [esp + 0x14], ebx
mov edi, eax
jne 0x47271d
cmp edi, 0x200000
ja 0x47271d
lea ecx, [edi + 2]
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
push ebx
lea edx, [esp + 0x14]
push edx
push edi
mov esi, eax
push esi
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x472719
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x472719
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov byte [eax + esi], bl
mov eax, dword [esp + 0x10]
mov byte [eax + esi + 1], bl
mov dword [ecx], esi
mov dword [edx], edi
mov ebx, 1
mov esi, dword [esp + 0x20]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x18]
push esi
push ebx
push str.KSimpleWebSpider::LoadCacheFileToBuffer_ret__d_path:_s
push 1
add edi, 4
push edi
call fcn.00472450
add esp, 0x14
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0xc
ret 0xc
push ebx
push str.KSimpleWebSpider::LoadCacheFileToBuffer_ret__d_path:Error
push 1
add edi, 4
push edi
call fcn.00472450
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret 0xc
Function at 0x472a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af18b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
xor ebx, ebx
mov dword [edi], ebx
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
call edx
add eax, 0x10
mov dword [edi + 4], eax
lea eax, [edi + 0xc]
push eax
mov dword [edi + 8], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push str.GlobalF67CBC4E_4AD1_47aa_B232_471E64BFED40
push ebx
push 0x1f0001
mov dword [esp + 0x28], ebx
mov dword [esi], vtable.KSimpleWebSpider.0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp eax, ebx
mov dword [esi + 0x38], eax
jne 0x472adf
push str.GlobalF67CBC4E_4AD1_47aa_B232_471E64BFED40
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
mov dword [esi + 0x38], eax
je 0x472adf
push 6
push eax
mov ecx, esi
call fcn.00471ee0
push str.KSimpleWebSpider
mov ecx, edi
call fcn.00472910
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret