Function at 0x437562
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43d68c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [0x444020]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0xa9
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.00405370
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x444024]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4375b6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4375b6
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0043a372
add esp, 4
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x80
call fcn.00402400
call fcn.00405ec0
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 4
xor ebp, ebp
push eax
push ebp
push 0x80
push ecx
call ebx
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0x40000000
mov dword [esp + 0x18], eax
je 0x437607
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
jmp 0x437613
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [esp + 0x18], ebp
jne 0x43768a
cmp edi, ebp
je 0x437647
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x437645
test eax, 0x20000000
je 0x437647
xor edi, edi
lea ecx, [esp + 0x64]
push ebp
push ecx
push ebp
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp edi, ebp
jne 0x43767c
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
jmp 0x4376c3
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4376c3
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
lea edx, [esp + 0x64]
mov dword [esp + 0x18], eax
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x54]
push 2
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
sub edi, eax
mov eax, dword [esp + 0x38]
sub eax, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
add eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x58]
add eax, edx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
mov eax, dword [esp + 0x64]
cmp ecx, eax
jl 0x43772f
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
add edx, ecx
cmp edx, eax
jle 0x437731
sub eax, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x68]
cmp edi, eax
jl 0x43774c
mov eax, dword [esp + 0x10]
lea edx, [edi + eax]
mov eax, dword [esp + 0x70]
cmp edx, eax
jle 0x43774e
sub eax, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esi + 4]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ecx
push ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 4]
push 0x42f
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x20
push ebp
push 0x1036
push eax
mov dword [esp + 0x24], eax
call ebx
mov edx, dword [esp + 0x14]
push 0x445218
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x34]
push ebp
push 0x1011
push edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], 0x445218
call ebx
add eax, 0xf
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
push eax
push ebp
mov dword [esp + 0x48], ebp
call fcn.00407b40
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x30]
push 0x445210
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
push ebp
push 0x1011
push ecx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], 0x445210
call ebx
lea edx, [esp + 0x2c]
add eax, 0xf
push edx
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], 1
call fcn.00407b40
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x30]
push 0x445208
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
push ebp
push 0x1011
push eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], 0x445208
call ebx
lea ecx, [esp + 0x2c]
add eax, 0xf
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], 2
push 2
lea ecx, [esp + 0x1c]
call fcn.00407b40
mov edx, dword [esp + 0x14]
push 0x78
push ebp
push 0x101e
push edx
call ebx
mov eax, dword [esp + 0x14]
push 0x8c
push 1
push 0x101e
push eax
call ebx
mov ecx, dword [esp + 0x14]
push 0xc8
push 2
push 0x101e
push ecx
call ebx
mov eax, dword [esi + 0x130]
mov dword [esp + 0x10], ebp
cmp eax, ebp
mov dword [esp + 0x18], eax
jle 0x437a9b
jmp 0x4378bf
xor ebp, ebp
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x138]
lea edi, [edx*4]
mov eax, edi
add eax, ecx
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebp
jl 0x4378eb
mov dword [esp + 0x20], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x437901
mov ecx, dword [0x444020]
mov dword [esp + 0x20], ecx
mov edx, dword [eax]
push edx
lea ecx, [esp + 0x24]
call fcn.004052a0
mov eax, dword [esi + 0x120]
mov ecx, 9
mov dword [esp + 0xa4], ebp
mov edx, dword [edi + eax]
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x14]
push ecx
push ebp
push 0x1007
push edx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebp
call ebx
mov ecx, dword [esi + 0x12c]
lea eax, [edi*4]
lea edi, [esp + 0x78]
mov edx, dword [eax + ecx]
mov ecx, 9
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x88], edx
mov eax, 1
lea edx, [esp + 0x74]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
push edx
push ebp
push 0x1006
push eax
mov dword [esp + 0x88], ecx
call ebx
lea ecx, [esp + 0x20]
call fcn.00432320
mov edi, dword [esp + 0x20]
mov ebp, dword [sym.imp.MSVCRT.dll__ismbcspace]
mov cl, byte [edi]
mov byte [esp + 0x1c], cl
mov edx, dword [esp + 0x1c]
and edx, 0xff
push edx
call ebp
add esp, 4
test eax, eax
je 0x4379e6
push edi
call dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
mov al, byte [edi]
mov byte [esp + 0x1c], al
mov ecx, dword [esp + 0x1c]
and ecx, 0xff
push ecx
call ebp
add esp, 4
test eax, eax
jne 0x4379c3
mov eax, dword [esp + 0x20]
mov ebp, dword [eax - 8]
mov ecx, dword [eax - 4]
sub ebp, edi
add ebp, eax
inc ecx
lea edx, [ebp + 1]
push edx
push edi
push ecx
push eax
call fcn.004322c0
mov edx, dword [esp + 0x30]
add esp, 0x10
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
mov dword [edx - 8], ebp
mov eax, dword [esp + 0x24]
push 0
push 0
push 0
push eax
push 1
push 2
push edi
call fcn.00407ad0
mov eax, dword [esp + 0x20]
mov edx, dword [0x444024]
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x437a64
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x437a64
mov edx, dword [esp + 0x20]
lea eax, [edx - 0xc]
push eax
call fcn.0043a372
add esp, 4
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edi
jl 0x4378bd
test eax, eax
jle 0x437a99
push 3
push 3
push 0
lea ecx, [esp + 0x20]
call fcn.00438500
test eax, eax
je 0x437a99
push 0
push 0
lea ecx, [esp + 0x1c]
call fcn.00438550
xor ebp, ebp
mov dword [esp + 0x1c], ebp
push 1
push 1
push 0x18
push 0x18
push 0x50
mov dword [esp + 0xb8], 1
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push ecx
mov edi, eax
mov eax, esp
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], esp
mov dword [eax], 0xf6
call fcn.00402330
mov eax, dword [esp + 0x1c]
push ebp
push eax
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00402310
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x41c
push ecx
call ebx
lea edi, [esi + 0x144]
push eax
mov ecx, edi
call fcn.00402a20
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
call fcn.00402c00
push 4
push 1
push 2
push ebp
mov ecx, edi
call fcn.00402d20
push ebp
push 1
mov ecx, edi
call fcn.004137d0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebp
push 1
push 1
push 0x18
push 0x18
push 0x50
lea ecx, [esp + 0x3c]
mov dword [esp + 0xb8], 2
call fcn.004048c0
push ecx
lea ecx, [esp + 0x20]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], 0xf6
call fcn.00402330
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
push ebp
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00402310
mov edx, dword [esi + 4]
push 0x41d
push edx
call ebx
lea edi, [esi + 0x188]
push eax
mov ecx, edi
call fcn.00402a20
mov eax, dword [esp + 0x28]
mov ecx, edi
push eax
call fcn.00402c00
push 4
push 1
push 2
push ebp
mov ecx, edi
call fcn.00402d20
push ebp
push 1
mov ecx, edi
call fcn.004137d0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], ebp
push 1
push 1
push 0x18
push 0x18
push 0x64
lea ecx, [esp + 0x38]
mov dword [esp + 0xb8], 3
call fcn.004048c0
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x20], esp
mov dword [eax], 0xf7
call fcn.00402330
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push ebp
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
lea ecx, [esp + 0x18]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00402310
mov eax, dword [esi + 4]
push 1
push eax
call ebx
add esi, 0x1cc
push eax
mov ecx, esi
call fcn.00402a20
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00402c00
push 4
push 1
push 2
push ebp
mov ecx, esi
call fcn.00402d20
push ebp
push 1
mov ecx, esi
call fcn.004137d0
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
mov dword [edx], ebp
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret 0x10