joyce8/EMBER2024-capa huggingface dataset:
Function at 0x513160
Capabilities:
Check if file exists
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
push edi
push 0x206
lea eax, [ebp - 0x7e]
push 0
push eax
mov esi, ecx
mov word [ebp - 0x80], 0
call fcn.00552500
mov edx, dword [esi + 0x3c]
add esp, 0xc
push 0x103
lea ecx, [ebp - 0x80]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi + 0x34], 1
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jne 0x5131e0
lea eax, [ebp - 0x80]
push eax
call edi
test eax, eax
jne 0x5131e0
mov ecx, dword [esi + 4]
push 0x30
push ecx
mov edx, 0x59aadc
mov ecx, 0x59c678
call fcn.00512c60
add esp, 8
xor al, al
jmp 0x51328f
lea edx, [ebp - 0x80]
push str..txt
push edx
call fcn.00556166
add esp, 8
test eax, eax
jne 0x513211
mov eax, dword [esi + 4]
push 0x30
push eax
mov edx, 0x59aadc
mov ecx, 0x59c648
call fcn.00512c60
add esp, 8
xor al, al
jmp 0x51328f
cmp dword [esi + 0x34], 2
jne 0x51323f
lea ecx, [ebp - 0x80]
push ecx
call edi
cmp eax, 1
jne 0x51323f
mov edx, dword [esi + 4]
push 4
push edx
mov edx, 0x597b48
mov ecx, 0x59c628
call fcn.00512c60
add esp, 8
cmp eax, 6
jne 0x5131d9
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x513257
xor eax, eax
jmp 0x513273
lea edi, [eax + eax]
mov eax, edi
call fcn.00553150
mov eax, esp
push 0x3a8
push edi
lea ecx, [ebp - 0x80]
push ecx
push eax
call fcn.00401180
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x513278
sub ecx, edi
push ecx
push eax
lea ecx, [esi + 0x40]
call fcn.0040c1c0
mov al, 1
lea esp, [ebp - 0x88]
pop edi
pop esi
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
call fcn.00552d63
add ebp, 0x18c
mov esp, ebp
pop ebp
ret
Function at 0x515430
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x58f2fb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xe0], 0
jne 0x51549e
push 0x5c
call fcn.0055289e
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x28], 0
je 0x51548e
mov edx, dword [esi + 4]
lea ecx, [esi + 0xb8]
push ecx
push edx
mov ecx, eax
call fcn.00513b40
jmp 0x515490
xor eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esi + 0xe0], eax
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x515564
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x5154ca
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, dword [esi + 0xe0]
call fcn.0050f670
mov eax, dword [esi + 0xe0]
mov edx, dword [eax + 4]
add eax, 4
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, 1
jne 0x5154f0
mov eax, dword [esi + 0xe0]
mov ecx, dword [eax + 4]
push 0
push ecx
jmp 0x51555e
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], 0x58
mov dword [esp + 0x1c], 0x54
call edi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], 0xee
mov dword [esp + 0x24], 0x10d
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0xe0]
push 1
push 0xb5
push 0x96
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 0xe0]
mov edx, dword [ecx + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x5178a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x30], 0
jne 0x5178cd
mov eax, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 4]
push str.uiview_init_dialog
push eax
mov byte [esi + 0x30], 1
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5178cc
push edi
push 0x3e8
call eax
pop edi
mov ecx, dword [esi + 4]
push 0x4bd
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
mov dword [esi + 0x60], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esp + 0x14]
mov dword [edx], 0
mov eax, 1
pop esi
ret 0x10

Function at 0x518370
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58f418
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CDialogUIViewBase_class_CDlgGameList__class_WTL::CMemDlgTemplate__class_ATL::CDialogImpl_class_CDlgGameList__class_ATL::CWindow__.0
mov byte [esi + 0x30], al
mov byte [esi + 0x31], al
call fcn.004a1350
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x5193b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x38]
mov esi, dword [eax]
lea ebx, [edi + 0x34]
mov ebp, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebp
jmp 0x5193d0
test ebp, ebp
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], ecx
je 0x5193df
cmp ebp, ebx
je 0x5193e4
call fcn.005532de
cmp esi, dword [esp + 0x20]
je 0x519475
test ebp, ebp
jne 0x5193f7
call fcn.005532de
cmp esi, dword [ebp + 4]
jne 0x519401
call fcn.005532de
mov edx, dword [edi + 4]
mov ebp, dword [esi + 0xc]
mov dword [esp + 0x10], edx
call fcn.004a1350
test eax, eax
je 0x51942e
push str.uiview_show_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x51942e
mov ecx, dword [esp + 0x10]
push 0
push ebp
push ecx
call eax
mov edx, dword [esp + 0x14]
cmp esi, dword [edx + 4]
jne 0x51943c
call fcn.005532de
mov esi, dword [esi + 0xc]
mov ebp, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x51945f
push str.uiview_destory_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x51945f
push esi
push ebp
call eax
lea ecx, [esp + 0x14]
call fcn.00517c40
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
jmp 0x5193d0
mov eax, dword [ebx + 4]
mov ebp, dword [eax + 4]
cmp byte [ebp + 0x119], 0
mov esi, ebp
jne 0x5194a7
mov ecx, dword [esi + 8]
push ecx
mov ecx, ebx
call fcn.00517f80
mov esi, dword [esi]
push ebp
call fcn.0055215c
add esp, 4
cmp byte [esi + 0x119], 0
mov ebp, esi
je 0x519486
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
xor ecx, ecx
mov dword [ebx + 8], ecx
mov dword [eax], eax
mov ebx, dword [ebx + 4]
mov dword [ebx + 8], ebx
mov dword [edi + 0x64], ecx
mov ebp, dword [edi + 0x48]
cmp dword [edi + 0x44], ebp
jbe 0x5194cd
call fcn.005532de
mov ebx, dword [edi + 0x44]
cmp ebx, dword [edi + 0x48]
jbe 0x5194da
call fcn.005532de
cmp ebx, ebp
je 0x519523
mov esi, dword [edi + 0x48]
mov byte [esp + 0x10], 0
mov edx, dword [esp + 0x10]
push edx
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push ebx
push esi
push ebp
call fcn.0045ff70
sub esi, ebp
mov eax, 0x3e0f83e1
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x108
add esp, 0x18
add eax, ebx
mov dword [edi + 0x48], eax
mov ecx, dword [edi + 0x60]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x51a440
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x58f6eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
push 0x59c8dc
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x68
call fcn.0055289e
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x51a496
mov ecx, eax
call fcn.0051a390
jmp 0x51a498
xor eax, eax
test eax, eax
mov dword [esp + 0x14], 0xffffffff
mov dword [esi + 0x60], eax
je 0x51a536
mov ecx, dword [esi + 4]
push 0
push ecx
mov ecx, eax
call fcn.00518760
mov edx, dword [esi + 0x60]
mov eax, dword [edx + 4]
push 1
push 0xfa
push 0x22c
push 0x8e
push 2
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xc
call fcn.0055289e
add esp, 4
test eax, eax
je 0x51a507
mov dword [eax], 0
mov dword [eax + 4], 0x5166c0
mov dword [eax + 8], esi
jmp 0x51a509
xor eax, eax
push 0
push 0xc8
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
push 0xa
push eax
mov dword [esi + 0x5c], 1
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, esi
call fcn.00519e40
push 1
mov ecx, esi
call fcn.00516f10
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x51bbc0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x44]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x44]
push 0x59648c
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [esi + 0x74]
mov ebx, dword [esi + 0x70]
call fcn.004a1350
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x51bc0d
push str.uiview_set_window_text
push eax
call ebp
test eax, eax
je 0x51bc0d
push 0x59c9e0
push 0xffffffffffffffff
push edi
push ebx
call eax
mov edi, dword [esi + 0x74]
mov ebx, dword [esi + 0x70]
call fcn.004a1350
test eax, eax
je 0x51bc2e
push str.uiview_set_selected
push eax
call ebp
test eax, eax
je 0x51bc2e
push 0
push edi
push ebx
call eax
call dword [sym.imp.USER32.dll_GetFocus]
mov edx, dword [esi + 0x88]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x51bc57
mov eax, dword [esi + 0x88]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esi + 4]
push 0x3e8
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x520350
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58f7d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CDialogUIViewBase_class_PlatformGameOrSomeGame__class_WTL::CMemDlgTemplate__class_ATL::CDialogImpl_class_PlatformGameOrSomeGame__class_ATL::CWindow__.0
mov byte [esi + 0x30], al
mov byte [esi + 0x31], al
call fcn.004a1350
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x524700
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x58fbe8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
lea esi, [ebp + ebp + 2]
cmp esi, ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], ebp
jge 0x5247bd
mov eax, esi
shl eax, 5
mov ecx, dword [eax + edi - 8]
add eax, edi
cmp dword [eax - 4], 0x10
mov dword [esp + 0x14], ecx
jb 0x524761
mov edx, dword [eax - 0x18]
jmp 0x524764
lea edx, [eax - 0x18]
cmp dword [eax + 0x1c], 0x10
mov ecx, dword [eax + 0x18]
jb 0x524772
mov eax, dword [eax + 8]
jmp 0x524775
add eax, 8
push dword [esp + 0x14]
push edx
push ecx
push eax
push 0
push 0x804
call dword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, 1
jne 0x524790
sub esi, eax
mov eax, esi
shl eax, 5
mov edx, dword [eax + edi]
add eax, edi
mov ecx, ebp
shl ecx, 5
push 0xffffffffffffffff
add ecx, edi
push 0
add eax, 4
mov dword [ecx], edx
push eax
add ecx, 4
call fcn.0040a080
mov ebp, esi
lea esi, [esi + esi + 2]
cmp esi, ebx
jl 0x524747
jne 0x5247e8
mov eax, ebx
shl eax, 5
mov edx, dword [eax + edi - 0x20]
lea ecx, [eax + edi - 0x20]
push 0xffffffffffffffff
mov eax, ebp
shl eax, 5
add ecx, 4
add eax, edi
push 0
push ecx
lea ecx, [eax + 4]
mov dword [eax], edx
call fcn.0040a080
lea ebp, [ebx - 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
push eax
sub esp, 0x20
mov eax, esp
mov dword [esp + 0x38], esp
mov dword [eax], ecx
push 0xffffffffffffffff
lea ecx, [eax + 4]
push 0
lea edx, [esp + 0x68]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.0040a080
mov eax, dword [esp + 0x3c]
push eax
push ebp
push edi
call fcn.005233d0
add esp, 0x30
cmp dword [esp + 0x54], 0x10
jb 0x524842
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0055215c
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x52a5c0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp dword [esi + 0x38], eax
je 0x52a5d1
mov dword [esi + 0x38], eax
jmp 0x52a5dc
cmp dword [esp + 0xc], 0
je 0x52a6ea
push ebx
push ebp
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0xffffffff
mov ebx, dword [esi + 0x48]
push edi
mov edi, dword [esi + 0x4c]
call fcn.004a1350
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x52a614
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x52a614
push 0
push edi
push ebx
call eax
mov edi, dword [esi + 0x54]
mov ebx, dword [esi + 0x50]
call fcn.004a1350
test eax, eax
je 0x52a635
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x52a635
push 0
push edi
push ebx
call eax
mov edi, dword [esi + 0x5c]
mov ebx, dword [esi + 0x58]
call fcn.004a1350
test eax, eax
je 0x52a656
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x52a656
push 0
push edi
push ebx
call eax
mov edi, dword [esi + 0x64]
mov ebx, dword [esi + 0x60]
call fcn.004a1350
test eax, eax
je 0x52a677
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x52a677
push 0
push edi
push ebx
call eax
mov edi, dword [esi + 0x6c]
mov ebx, dword [esi + 0x68]
call fcn.004a1350
test eax, eax
je 0x52a698
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x52a698
push 0
push edi
push ebx
call eax
mov edi, dword [esi + 0x7c]
mov ebx, dword [esi + 0x78]
call fcn.004a1350
test eax, eax
je 0x52a6b9
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x52a6b9
push 0
push edi
push ebx
call eax
mov edi, dword [esi + 0x84]
mov ebx, dword [esi + 0x80]
call fcn.004a1350
test eax, eax
je 0x52a6e0
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x52a6e0
push 0
push edi
push ebx
call eax
mov ecx, esi
call fcn.0052a050
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x52ba90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp - 4], eax
test ebx, ebx
push esi
push edi
je 0x52bae5
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jg 0x52bae5
lea eax, [edi + edi]
call fcn.00553150
mov esi, esp
test esi, esi
je 0x52bae5
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0x3a8
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x52bae7
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00552d63
mov esp, ebp
pop ebp
ret
Function at 0x5300f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x590438
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
lea esi, [edi + edi + 2]
cmp esi, ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], edi
jge 0x53018e
jmp 0x530140
lea eax, [esi + esi*8]
lea eax, [ebp + eax*4]
lea ecx, [eax - 0x24]
push ecx
push eax
lea ecx, [esp + 0x64]
call fcn.0052cab0
test al, al
je 0x53015c
sub esi, 1
lea edx, [esi + esi*8]
lea eax, [ebp + edx*4]
mov edx, dword [eax]
lea ecx, [edi + edi*8]
lea ecx, [ebp + ecx*4]
mov dword [ecx], edx
mov edx, dword [eax + 4]
push 0xffffffffffffffff
push 0
add eax, 8
mov dword [ecx + 4], edx
push eax
add ecx, 8
call fcn.0040a080
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, ebx
jl 0x530140
jne 0x5301bd
lea eax, [ebx + ebx*8]
mov edx, dword [ebp + eax*4 - 0x24]
lea eax, [ebp + eax*4 - 0x24]
lea ecx, [edi + edi*8]
lea ecx, [ebp + ecx*4]
mov dword [ecx], edx
mov edx, dword [eax + 4]
push 0xffffffffffffffff
push 0
add eax, 8
mov dword [ecx + 4], edx
push eax
add ecx, 8
call fcn.0040a080
lea edi, [ebx - 1]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
push eax
sub esp, 0x24
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x40], esp
mov dword [eax + 4], edx
lea ecx, [eax + 8]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x70]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.0040a080
mov ecx, dword [esp + 0x3c]
push ecx
push edi
push ebp
call fcn.0052f5d0
add esp, 0x34
cmp dword [esp + 0x58], 0x10
jb 0x53021e
mov edx, dword [esp + 0x44]
push edx
call fcn.0055215c
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x530260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590468
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi + 4]
push 0xffffffffffffffff
push 0
lea ecx, [esi + 8]
push ecx
lea ecx, [eax + 8]
mov dword [esp + 0x20], 0
mov dword [eax + 4], edx
call fcn.0040a080
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
push edx
sub esp, 0x24
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x30], esp
mov dword [eax + 4], edx
lea ecx, [eax + 8]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x60]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.0040a080
mov ecx, dword [esp + 0x48]
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push 0
push esi
call fcn.005300f0
add esp, 0x34
cmp dword [esp + 0x48], 0x10
jb 0x530321
mov edx, dword [esp + 0x34]
push edx
call fcn.0055215c
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x5323f0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x590692
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp + 4]
xor ebx, ebx
cmp eax, ebx
je 0x5324c6
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
je 0x5324c6
push 0x5ceca6
push 0x14
call fcn.00555c18
add esp, 8
cmp eax, ebx
je 0x532454
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov esi, eax
jmp 0x532456
xor esi, esi
cmp esi, ebx
mov dword [esp + 0x20], 0xffffffff
je 0x5324c6
mov edx, dword [esp + 0x28]
lea edi, [esi + 4]
push ebp
mov ecx, edi
mov dword [esi], edx
call fcn.005303b0
push ebx
push ebx
push esi
push 0x532280
push ebx
push ebx
call fcn.00555225
add esp, 0x18
cmp eax, ebx
je 0x5324a4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x5324b4
push eax
call fcn.0055215c
add esp, 4
push esi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.0055215c
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x533ed0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp edi, 5
mov esi, ecx
jne 0x533f07
push 7
push 0
mov dword [esi + 0x78], 1
call fcn.005324e0
mov eax, dword [esi + 0x7c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 4]
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4
mov ecx, dword [esi + 4]
push edi
push ecx
mov dword [esi + 0x78], 0
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4
Function at 0x536d80
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov esi, ecx
mov eax, dword [esi + 0x23c]
test eax, eax
push edi
je 0x536da9
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x536e2c
push 4
call fcn.0055289e
add esp, 4
test eax, eax
je 0x536dbf
mov dword [eax], 0
jmp 0x536dc1
xor eax, eax
test eax, eax
mov dword [esi + 0x23c], eax
je 0x536e2c
cmp byte [esi + 0x474], 0
push ebp
je 0x536de1
mov ebp, 0x8c
mov edi, 0x188
jmp 0x536deb
mov ebp, 0x69
mov edi, 0x18b
mov ecx, dword [esi + 4]
push 0x4c0
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esi + 0x23c]
push 1
sub edi, ebp
push edi
push 8
mov dword [edx], eax
mov eax, dword [esi + 0x23c]
mov ecx, dword [eax]
push ebp
push 0x246
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esi + 0x23c]
mov eax, dword [edx]
push 0
push eax
call ebx
pop ebp
mov eax, dword [esi + 0x23c]
xor edi, edi
cmp eax, edi
je 0x536eea
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp eax, 1
jne 0x536eea
cmp byte [esi + 0x474], 0
lea ecx, [edi + 7]
jne 0x536e5f
mov ecx, 9
mov edx, dword [esi + 0x238]
cmp edx, ecx
jl 0x536ede
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x18], edx
push 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x23c]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 0x1c
mov dword [esp + 0x18], 7
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ecx
mov ecx, dword [eax]
push 2
push ecx
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov edx, dword [esi + 0x23c]
mov eax, dword [edx]
push 5
push eax
call ebx
mov ecx, dword [esi + 0x23c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
mov eax, dword [esi + 0x23c]
mov ecx, dword [eax]
push edi
push ecx
call ebx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret