Function at 0x100272c0
Capabilities:
Create thread
Get file attributes
Get graphical window text

Disassembly:
sub esp, 0x634
mov eax, dword [0x10082594]
xor eax, esp
mov dword [esp + 0x630], eax
push ebx
mov ebx, dword [esp + 0x640]
push ebp
mov ebp, dword [esp + 0x640]
push esi
push edi
push ebp
mov ecx, 0x100873c8
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
call fcn.1002b260
test byte [0x10087440], 2
mov esi, 2
je 0x1002730c
call fcn.10026c20
push 0x1005e604
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x104
lea eax, [esp + 0x13c]
push eax
push str.dxwnd
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x138]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10027340
sub eax, edx
mov byte [esp + eax + 0x12f], cl
lea ecx, [esp + 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryA]
mov eax, dword [0x1008743c]
test eax, 0x40000
je 0x10027384
or dword [0x1008742c], esi
or dword [0x10087430], 0x40000000
and eax, 0xfffffb7f
mov dword [0x1008743c], eax
test eax, 0x800000
je 0x10027391
or dword [0x1008742c], esi
test eax, 0x2000000
je 0x100273a2
or eax, 0x10000000
mov dword [0x1008743c], eax
mov esi, dword [sym.imp.USER32.dll_GetParent]
test ebx, ebx
je 0x100273ee
push ebx
call esi
test dword [0x1008742c], 0x2000000
mov dword [0x10087448], eax
mov dword [0x1008744c], ebx
je 0x100273cb
push ebx
call esi
jmp 0x100273cd
mov eax, ebx
push eax
mov ecx, 0x100873c8
call fcn.100285c0
test dword [0x10087438], 0x8000000
je 0x100273ee
mov ecx, 0x100873c8
call fcn.1002b100
test dword [0x10087440], 0x1000000
je 0x10027445
movsx eax, word [ebp + 0x188]
movsx edx, word [ebp + 0x18c]
movsx ecx, word [ebp + 0x18e]
add edx, eax
mov dword [esp + 0x40], eax
movsx eax, word [ebp + 0x18a]
add ecx, eax
cmp dword [0x10087218], 0
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
jne 0x10027445
lea edx, [esp + 0x40]
push edx
call fcn.10026c90
add esp, 4
mov dword [0x10087218], eax
test dword [0x10087444], 0x1000
mov edi, dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
je 0x10027524
mov al, byte [0x1005e5e7]
mov byte [esp + 0x240], al
test ebx, ebx
je 0x100274a5
call esi
push eax
call edi
push eax
call esi
mov ecx, dword [0x10087448]
push eax
push ecx
call edi
mov edx, dword [0x10087448]
push eax
push edx
push ebx
call edi
push eax
push ebx
lea eax, [esp + 0x258]
push str._hWnd_x_hdc_x__dxw.hParentWnd_x_hdc_x__desktop_x_hdc_x_
push eax
call fcn.10047c21
add esp, 0x20
movsx edx, word [ebp + 0x18e]
movsx eax, word [ebp + 0x18c]
lea ecx, [esp + 0x240]
push ecx
movsx ecx, word [ebp + 0x18a]
push edx
movsx edx, word [ebp + 0x188]
push eax
mov eax, dword [0x10087424]
push ecx
mov ecx, dword [eax*4 + 0x100806b8]
push edx
push ecx
lea edx, [ebp + 0x105]
push edx
push ebp
push str.HookInit:_path__s__module__s__dxversion_s_pos__d__d__size__d__d__s_n
call fcn.10025250
add esp, 0x24
test dword [0x10087438], 0x1000
je 0x10027524
mov ax, word [0x10087884]
cmp ax, 6
jge 0x10027511
cwde
mov eax, dword [eax*4 + 0x10080698]
jmp 0x10027516
mov eax, str.unknown
push eax
push str.HookInit:_max_resolution_s_n
call fcn.10025250
add esp, 8
lea ecx, [esp + 0x18]
push ecx
push 0x28
push 1
call esi
push eax
call edi
push eax
call dword [sym.imp.GDI32.dll_DescribePixelFormat]
mov ebp, dword [sym.imp.USER32.dll_GetClassNameA]
test ebx, ebx
je 0x10027689
test dword [0x10087444], 0x100
je 0x10027689
mov edx, dword [0x1008789c]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push edx
call esi
mov edi, eax
mov eax, dword [0x1008789c]
push 0xffffffffffffffec
push eax
call esi
mov edx, dword [0x1008789c]
push 0x51
lea ecx, [esp + 0x54]
push ecx
push edx
mov ebx, eax
call ebp
mov ecx, dword [0x1008789c]
push 0x51
lea eax, [esp + 0xa8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebx
call fcn.1001ef70
add esp, 4
push eax
push ebx
push edi
call fcn.1001eaf0
mov ecx, dword [0x1008744c]
add esp, 4
push eax
push edi
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x64]
push eax
push ecx
push str.HookInit:_dxw.hChildWnd_x_class__s__text__s__style_x__s__exstyle_x__s__n
call fcn.10025250
mov edx, dword [0x10087448]
add esp, 0x20
push 0xfffffffffffffff0
push edx
call esi
mov edi, eax
mov eax, dword [0x10087448]
push 0xffffffffffffffec
push eax
call esi
mov edx, dword [0x10087448]
push 0x51
lea ecx, [esp + 0x54]
push ecx
push edx
mov esi, eax
call ebp
mov ecx, dword [0x10087448]
push 0x51
lea eax, [esp + 0xa8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
call fcn.1001ef70
add esp, 4
push eax
push esi
push edi
call fcn.1001eaf0
mov ecx, dword [0x10087448]
add esp, 4
push eax
push edi
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x64]
push eax
push ecx
push str.HookInit:_dxw.hParentWnd_x_class__s__text__s__style_x__s__exstyle_x__s__n
call fcn.10025250
movsx edx, word [0x1008746e]
movsx eax, word [0x1008746c]
movsx ecx, word [0x1008746a]
push edx
movsx edx, word [0x10087468]
push eax
push ecx
push edx
push str.HookInit:_target_window_pos__d__d__size__d__d__n
call fcn.10025250
add esp, 0x34
mov ecx, 0x100873c8
call fcn.10027cb0
mov ebx, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_GetDC]
push 9
lea eax, [esp + 0x44]
push eax
push ebx
call ebp
mov ecx, 0x1006e00c
lea eax, [esp + 0x40]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100276c0
test dl, dl
je 0x100276bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100276c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100276a0
xor eax, eax
jmp 0x100276c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1002774d
mov esi, dword [sym.imp.USER32.dll_GetParent]
push ebx
call esi
push eax
mov dword [0x1008744c], eax
call esi
mov esi, 0x2000000
mov dword [0x10087448], eax
test dword [0x10087430], esi
je 0x100276f7
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x10087448]
test dword [0x1008742c], esi
jne 0x10027709
mov eax, dword [0x1008744c]
push eax
mov ecx, 0x100873c8
call fcn.100285c0
mov ebx, dword [0x1008789c]
test ebx, ebx
je 0x1002774d
test dword [0x10087444], 0x1000
je 0x1002774d
mov ecx, dword [0x10087448]
push ecx
call edi
mov edx, dword [0x10087448]
push eax
push edx
push ebx
call edi
push eax
push ebx
push str.HookInit:_skipped_IME_window._current_hWnd_x_hdc_x__dxw.hParentWnd_x_hdc_x__n
call fcn.10025250
add esp, 0x14
test dword [0x10087440], 0x1000000
je 0x100277a0
mov eax, dword [0x10087218]
test eax, eax
je 0x100277a0
test dword [0x10087444], 0x1000
je 0x10027788
mov ecx, dword [0x1008744c]
push ecx
push eax
push str.HookInit:_set_new_parent_x_to_main_win_x_n
call fcn.10025250
mov eax, dword [0x10087218]
add esp, 0xc
mov edx, dword [0x1008744c]
push eax
push edx
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [0x10087218]
mov dword [0x10087448], eax
call fcn.10025e40
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test dword [0x10087434], 0x200
mov esi, eax
je 0x100277c0
call fcn.10026550
mov edi, 0x800
test dword [0x10087438], edi
je 0x100277da
push 0x100262a0
push 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
test byte [0x1008742c], 0x40
je 0x100277e8
call fcn.10026360
test byte [0x10087444], 0x80
je 0x100277fa
push esi
call fcn.10025490
add esp, 4
test dword [0x10087430], 0x2000000
je 0x1002780b
call fcn.100264d0
test dword [0x10087438], edi
je 0x10027818
call fcn.10026640
test dword [0x1008743c], edi
je 0x10027825
call fcn.10026940
test byte [0x10087444], 0x20
je 0x10027843
mov ecx, dword [0x10087424]
push ecx
push esi
call fcn.10008810
add esp, 8
jmp 0x10027ae8
cmp dword [0x100873dc], 0
mov ebp, dword [esp + 0x10]
je 0x100278b2
movsx edx, word [ebp + 0x186]
movsx eax, word [ebp + 0x184]
movsx ecx, word [ebp + 0x182]
push edx
movsx edx, word [ebp + 0x180]
push eax
movsx eax, word [ebp + 0x17e]
push ecx
movsx ecx, word [ebp + 0x17c]
push edx
push eax
push ecx
call fcn.100151f0
movsx edx, word [ebp + 0x18e]
movsx eax, word [ebp + 0x18c]
movsx ecx, word [ebp + 0x18a]
add esp, 0x18
push edx
movsx edx, word [ebp + 0x188]
push eax
push ecx
push edx
mov ecx, 0x100873c8
call fcn.10027ec0
test dword [0x10087444], 0x100
je 0x100278cc
push esi
push str.HookInit:_base_hmodule_x_n
call fcn.10025250
add esp, 8
mov eax, dword [0x10087424]
push eax
push esi
call fcn.100263f0
add esp, 8
test byte [0x10087434], 4
je 0x100278ed
push esi
call fcn.100270e0
add esp, 4
mov ecx, dword [0x10087460]
push 0x3c
push ecx
lea edx, [esp + 0x100]
push edx
call fcn.100482c0
lea eax, [esp + 0x104]
push 0x1006df6c
push eax
call fcn.100483e4
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10027996
mov edi, edi
push esi
call dword [0x10087088]
mov edi, eax
test edi, edi
jne 0x10027944
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.HookInit:_LoadLibrary_ERROR_module_s_err_d_n
call fcn.10025250
add esp, 0xc
jmp 0x10027981
test dword [0x10087444], 0x1000
je 0x1002795f
push edi
push esi
push str.HookInit:_hooking_additional_module_s_base_x_n
call fcn.10025250
add esp, 0xc
test byte [0x10087444], 0x80
je 0x10027971
push edi
call fcn.10025490
add esp, 4
mov ecx, dword [0x10087424]
push ecx
push edi
call fcn.100263f0
add esp, 8
push 0x1006df6c
push 0
call fcn.100483e4
mov esi, eax
add esp, 8
test esi, esi
jne 0x10027920
call fcn.10025e70
test byte [0x10087430], 1
je 0x100279a9
call fcn.10025ec0
test byte [0x10087434], 0x40
je 0x100279b7
call fcn.10025f70
test dword [0x1008742c], 0x80000000
je 0x100279fb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x10087cc8]
push eax
push edx
push 0x1003a9f0
push 3
call dword [0x10088c68]
mov dword [0x10087cbc], eax
test eax, eax
jne 0x100279fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetWindowsHookEx_WH_GETMESSAGE_failed:_error_d_n
call fcn.10025250
add esp, 8
call fcn.10009690
test ebx, ebx
je 0x10027a0d
push ebx
call fcn.10025c10
add esp, 4
cmp dword [0x100873dc], 0
jne 0x10027a2e
test ebx, ebx
je 0x10027ac7
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.10025c10
add esp, 4
test ebx, ebx
je 0x10027ac7
cmp dword [0x100873dc], 0
je 0x10027ac7
mov ecx, 0x100873c8
call fcn.10027b70
test eax, eax
je 0x10027ac7
test dword [0x1008742c], 0x2000
je 0x10027ac7
mov eax, dword [0x1008744c]
push eax
mov ecx, 0x100873c8
call fcn.1002a320
movsx ecx, word [ebp + 0x18e]
movsx edx, word [ebp + 0x18c]
mov eax, dword [0x1008744c]
push ecx
push edx
push eax
call fcn.10025b00
add esp, 0xc
test dword [0x1008742c], 0x2000000
je 0x10027ac7
mov ecx, dword [0x10087448]
push ecx
mov ecx, 0x100873c8
call fcn.1002a320
movsx edx, word [ebp + 0x18e]
movsx eax, word [ebp + 0x18c]
mov ecx, dword [0x10087448]
push edx
push eax
push ecx
call fcn.10025b00
add esp, 0xc
test dword [0x1008742c], 0x1000
je 0x10027ae8
push 0
push 0
push 0
push 0x10026bf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x640]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10047cbc
add esp, 0x634
ret