Function at 0x42240f
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
mov eax, dword [0x514d34]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetPropA]
push esi
mov eax, dword [ebx + 0x2b1]
mov esi, str.TXP_TIN_T
push edi
mov edi, 0x2000
test eax, eax
jne 0x4224ab
lea eax, [ebx + 0x2bf]
push eax
call fcn.00439df1
mov eax, dword [0x510504]
pop ecx
push ebx
push esi
push dword [eax]
call fcn.0042c80a
pop ecx
push eax
call ebp
mov eax, dword [0x510504]
mov eax, dword [eax]
test word [eax + 0x10], di
je 0x42247d
mov eax, dword [0x50d248]
push ebx
push esi
push dword [eax]
call fcn.00412d78
pop ecx
push eax
call ebp
cmp dword [ebx + 0x2db], 0
je 0x4224b7
call fcn.00465e13
test ax, ax
je 0x4224b7
mov eax, dword [0x519580]
cmp byte [eax + 0x198], 0x13
jb 0x4224b7
mov ecx, dword [ebx + 0x2db]
call fcn.0042608b
jmp 0x4224b7
mov eax, dword [eax + 0x2bf]
mov dword [ebx + 0x2bf], eax
push ebx
call fcn.00428482
movzx ebp, ax
mov dword [esp + 0x14], ebp
pop ecx
test bp, bp
je 0x422545
mov ecx, dword [ebx + 0x2c3]
test ecx, ecx
je 0x422504
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x422504
mov eax, dword [eax + 0x16]
mov dword [ebx + 0x2cb], eax
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + 0x1a]
mov dword [ebx + 0x2cf], eax
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + 0x2e]
mov dword [ebx + 0x2d3], eax
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + 0x32]
jmp 0x42253f
lea eax, [esp + 0x5c]
xorps xmm0, xmm0
push eax
mov eax, dword [0x510504]
movups xmmword [esp + 0x60], xmm0
push dword [eax]
call fcn.0042c80a
pop ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x2cb], eax
mov dword [ebx + 0x2d3], eax
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x2cf], eax
mov dword [ebx + 0x2d7], eax
xor eax, eax
xor edi, edi
cmp ax, word [ebx + 0x20]
jae 0x4225d3
mov ebp, 0x2000
movzx eax, di
imul esi, eax, 0x4a
add esi, dword [ebx + 0x2a3]
test dword [esi + 0x22], 0x2000000
jne 0x4225c8
cmp dword [esi + 0x26], 0
je 0x42258a
xor eax, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x28], ebx
call dword [esi + 0x26]
pop ecx
push esi
push ebx
call fcn.00427260
push 0x31
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00443240
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], esi
push eax
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x50], 0
call fcn.0042720a
push esi
push ebx
call fcn.004271b7
add esp, 0x20
test ax, ax
jne 0x4225c8
or dword [esi + 0x22], ebp
inc edi
cmp di, word [ebx + 0x20]
jb 0x422558
mov ebp, dword [esp + 0x10]
xor edi, edi
mov eax, 0x400
or word [ebx + 6], ax
inc edi
test bp, bp
je 0x422804
mov ecx, dword [ebx + 0x2db]
xor ebp, ebp
mov dword [esp + 0x10], ebp
call fcn.00425eb7
mov eax, dword [ebx + 0x2c3]
test eax, eax
je 0x422608
cmp dword [eax + 0x18], ebp
jne 0x422679
push edi
call fcn.00429dbc
and dword [esp + 0x18], ebp
lea eax, [esp + 0x14]
and dword [esp + 0x1c], ebp
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push dword [ebx + 0x2df]
call fcn.0042201d
add esp, 0x14
test ax, ax
je 0x422662
mov eax, dword [ebx + 0x2d3]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x2d7]
mov dword [ebx + 0x2d3], ecx
mov ecx, dword [esp + 0x18]
cmp eax, ecx
cmova ecx, eax
mov dword [ebx + 0x2d7], ecx
push dword [ebx + 0x2d7]
push dword [ebx + 0x2d3]
call fcn.00422161
mov ebp, dword [esp + 0x18]
pop ecx
pop ecx
lea eax, [esp + 0x6c]
xorps xmm0, xmm0
push eax
mov eax, dword [0x510504]
movups xmmword [esp + 0x70], xmm0
push dword [eax]
call fcn.0042c80a
pop ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebx + 0x2d3]
cmp ecx, dword [esp + 0x74]
jne 0x4226b6
mov eax, dword [ebx + 0x2d7]
cmp eax, dword [esp + 0x78]
je 0x422756
mov eax, dword [ebx + 0x2d7]
and dword [esp + 0x5c], 0
and dword [esp + 0x60], 0
mov dword [esp + 0x68], eax
mov eax, dword [0x510504]
mov dword [esp + 0x64], ecx
push 0xfffffffffffffff0
push dword [eax]
call fcn.0042c80a
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
pop ecx
push eax
call esi
mov ecx, dword [0x510504]
mov edi, eax
push 0xffffffffffffffec
push dword [ecx]
call fcn.0042c80a
pop ecx
push eax
call esi
push eax
push 0
push edi
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
push 6
push eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
push eax
xor eax, eax
push eax
push eax
push eax
mov eax, dword [0x510504]
push dword [eax]
call fcn.0042c80a
pop ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x510504]
mov ecx, 0x2000
mov eax, dword [eax]
test word [eax + 0x10], cx
je 0x422753
add eax, 0x1e
push eax
call fcn.00412776
pop ecx
xor edi, edi
inc edi
mov eax, dword [0x510504]
push ebx
push str.TXP_TIN_T
push dword [eax]
call fcn.0042c80a
mov esi, dword [sym.imp.USER32.dll_SetPropA]
pop ecx
push eax
call esi
mov eax, dword [0x510504]
mov ecx, 0x2000
mov eax, dword [eax]
test word [eax + 0x10], cx
je 0x42279a
mov eax, dword [0x50d248]
push ebx
push str.TXP_TIN_T
push dword [eax]
call fcn.00412d78
pop ecx
push eax
call esi
push 0x4280c7
call fcn.004108fd
movzx eax, word [ebx + 0x2d3]
pop ecx
movzx ecx, word [ebx + 0x2d7]
shl ecx, 0x10
or ecx, eax
mov eax, dword [0x510504]
push ecx
push 0
push 5
push dword [eax]
call fcn.0042c80a
pop ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebx + 0x2c3]
test ecx, ecx
je 0x4227f1
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x4227f1
mov eax, dword [ecx + 6]
test al, 8
je 0x4227f1
and eax, 0xfffffff7
mov ebp, edi
mov dword [ecx + 6], eax
test bp, bp
je 0x422804
push 3
call fcn.0042859c
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 0x800
test word [ebx + 6], ax
je 0x422819
push 0
push ebx
call fcn.0042710e
pop ecx
pop ecx
mov ecx, dword [esp + 0x7c]
mov ax, di
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00441a5e
add esp, 0x70
ret