Function at 0x5235d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x124
mov eax, dword [esp + 0x128]
push ebx
push ebp
mov ebp, dword [esp + 0x138]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], 0
push ecx
mov dword [esp + 0x24], edi
mov dword [edi + 0x28], ebp
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov esi, esp
jl 0x523618
mov dword [esi], eax
mov eax, dword [esp + 0x13c]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x52363d
mov ecx, dword [0x547570]
mov dword [esi], ecx
mov eax, dword [esp + 0x13c]
test eax, eax
mov ebx, eax
je 0x523634
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
mov ecx, esi
call fcn.00405870
mov ecx, edi
call fcn.00523d60
mov eax, dword [esp + 0x144]
mov dword [edi + 0x24], 1
test eax, eax
jne 0x523658
mov eax, ebp
mov ecx, dword [edi + 4]
lea ebp, [edi + 4]
test ecx, ecx
mov dword [edi + 0x2c], eax
jne 0x5236b1
push 0
push 0
push 0x6e
push eax
push 0x64
push 0x64
push 0
push 0
push 0x56000100
push 0
push 0x5483a0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [edi]
push edi
mov ecx, edi
mov ebx, eax
lea esi, [edi + 8]
call dword [edx + 4]
push eax
mov ecx, esi
call fcn.00411250
push esi
push 0xfffffffffffffffc
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x5236b1
mov dword [edi + 0x1c], eax
mov dword [ebp], ebx
push 1
push 1
push 0x21
push 0
push 0
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [ebp]
push 0
push 0x430
push eax
call ebx
mov ecx, dword [ebp]
push 0
push 0
push 0x418
push ecx
call ebx
dec eax
mov dword [esp + 0x14], eax
js 0x523704
mov edx, dword [ebp]
push 0
push eax
push 0x416
push edx
call ebx
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jns 0x5236eb
mov eax, dword [edi + 0x58]
add edi, 0x54
push eax
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.00524430
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, edi
call fcn.00524440
mov eax, dword [esp + 0x13c]
push 0
push 0
push 0x1200
mov ecx, dword [eax]
push ecx
call ebx
mov esi, eax
mov dword [esp + 0x2c], esi
lea eax, [esi*4 + 4]
push eax
call fcn.00532695
mov dword [esp + 0x28], eax
lea eax, [esi*4 + 4]
push eax
call fcn.00532695
mov edx, dword [esp + 0x2c]
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x13c]
push edx
push esi
mov ecx, dword [eax]
push 0x1211
push ecx
call ebx
mov edx, dword [0x547570]
xor eax, eax
test esi, esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x14], eax
jle 0x523c13
jmp 0x52379d
mov edx, dword [0x547570]
mov ecx, dword [esp + 0x24]
lea edi, [esp + 0x94]
lea esi, [edx - 0xc]
mov ebp, dword [ecx + eax*4]
mov ecx, 0xa
xor eax, eax
mov dword [esp + 0x10], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x90], 2
mov ecx, dword [esi]
mov eax, 0x100
cmp ecx, 1
mov dword [esp + 0x30], esi
jg 0x5237df
cmp dword [edx - 4], eax
jge 0x523847
mov edi, dword [edx - 8]
cmp edi, eax
mov dword [esp + 0x1c], edi
jle 0x5237ec
mov eax, edi
push eax
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
jne 0x5237fe
xor edx, edx
jmp 0x523847
lea ecx, [edi + edi + 2]
mov edi, dword [esp + 0x10]
mov edx, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov dword [eax - 8], ecx
mov eax, dword [0x547574]
cmp esi, eax
je 0x523843
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x523843
push esi
call fcn.00532222
add esp, 4
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x13c]
mov dword [esp + 0x98], edx
lea edx, [esp + 0x90]
mov dword [esp + 0xa0], 0x100
mov eax, dword [esi]
push edx
push ebp
push 0x120b
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.004055c0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x10]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x5238ea
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x5238b8
mov edx, dword [0x547574]
add eax, 0xfffffff4
cmp eax, edx
jne 0x5238bf
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x5238cf
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00405870
jmp 0x5238ea
lea ecx, [esp + 0x18]
call fcn.004124c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x90]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
lea eax, [esp + 0x90]
push eax
push ebp
push 0x120b
push ecx
mov dword [esp + 0xa0], 0x81
call ebx
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x10c]
lea edx, [esp + 0x108]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
push edx
push ebp
push 0x120b
push eax
mov dword [esp + 0x118], 8
call ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov dword [eax + ecx*4], 0
mov ecx, dword [esp + 0x120]
cmp ecx, 1
jne 0x52396c
mov edx, dword [esp + 0x14]
mov dword [eax + edx*4], 1
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x40], eax
xor ecx, ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x44], ecx
push edx
push 1
mov dword [esp + 0x50], ecx
add ebp, 0x3e8
push 0x444
push eax
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x54], 4
mov byte [esp + 0x55], cl
mov dword [esp + 0x50], ebp
call ebx
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], 0x20
mov dword [esp + 0x68], 2
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x5239fa
mov edx, dword [eax - 4]
test edx, edx
jge 0x523a47
mov edi, dword [eax - 8]
test edi, edi
mov dword [esp + 0x30], edi
jle 0x523a07
mov ecx, edi
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x523a47
lea ecx, [edi + edi + 2]
mov edi, dword [esp + 0x10]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov dword [eax - 8], ecx
call fcn.00405590
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x64]
lea ebp, [esi + 4]
push edx
push eax
push 0x440
push ecx
call ebx
mov dx, word [esp + 0x94]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x64]
mov word [esp + 0x76], dx
mov edx, dword [ebp]
push eax
push ecx
push 0x440
push edx
mov dword [esp + 0x78], 0x40
call ebx
lea ecx, [esp + 0xbc]
call fcn.00523550
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xe8]
call fcn.005244f0
lea ecx, [esp + 0x88]
push eax
lea edi, [esi + 0x54]
push ecx
mov ecx, edi
call fcn.00524340
mov esi, dword [eax]
lea ecx, [esp + 0xe4]
mov dword [esp + 0x1c], esi
call fcn.00523570
lea ecx, [esp + 0xd4]
call fcn.00405700
lea ecx, [esp + 0xd0]
call fcn.00405700
mov ecx, dword [esi + 0x24]
mov eax, dword [esp + 0x10]
add esi, 0x24
cmp ecx, eax
je 0x523b3e
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x523b0a
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x523b11
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x523b1f
mov edx, dword [eax - 8]
push eax
push edx
mov ecx, esi
call fcn.00405870
jmp 0x523b3a
mov ecx, esi
call fcn.004124c0
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x28]
lea esi, [edx + 0x28]
cmp ecx, eax
je 0x523b90
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x523b60
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x523b67
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x523b75
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, esi
call fcn.00405870
jmp 0x523b90
mov ecx, esi
call fcn.004124c0
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x94]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x523bcd
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x523bcd
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x523bfc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x523bfc
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x523797
mov esi, ecx
dec esi
test esi, esi
mov dword [esp + 0x14], esi
jl 0x523cfa
lea ecx, [esp + 0xbc]
call fcn.00523550
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xe8]
call fcn.005244f0
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, edi
call fcn.00524340
mov esi, dword [eax]
lea ecx, [esp + 0xe4]
call fcn.00523570
lea ecx, [esp + 0xbc]
call fcn.00523570
lea ecx, [esp + 0x64]
mov dword [esi + 0x2c], 1
call fcn.00523550
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.005244f0
push eax
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.00524340
mov esi, dword [eax]
lea ecx, [esp + 0x40]
call fcn.00523570
lea ecx, [esp + 0x64]
call fcn.00523570
mov ecx, dword [esp + 0x14]
add esi, 0x10
push esi
push ecx
mov ecx, ebp
call fcn.004305e0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp dword [edx + eax*4], 1
jne 0x523ceb
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00524110
mov dword [eax + 0x1c], 0
mov edx, dword [esp + 0x14]
mov eax, dword [ebp]
push 0
push edx
push 0x416
push eax
call ebx
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jns 0x523c20
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x13c]
push 0
push 0x468
mov dword [edx + 0x20], ecx
push 0
mov ecx, ebp
call fcn.004469d0
mov eax, dword [esp + 0x24]
push eax
call fcn.00532222
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00532222
add esp, 8
lea ecx, [esp + 0x38]
call fcn.00405700
lea ecx, [esp + 0x138]
call fcn.00405700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 0x10