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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x228], ebx
mov edi, dword [ebx + 0x24]
add edi, 0x1b54
mov dword [ebp - 0x220], edi
lea esi, [edi + 0x30]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
neg eax
sbb eax, eax
inc eax
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 0x20]
lea eax, [edi + 0x10]
mov dword [ebx + 0x3c], eax
lea edi, [ebx + 0x28]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x234], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x220]
mov eax, dword [edi + 0x40]
mov dword [ebx + 0x38], eax
mov edx, dword [edi + 0x2c4]
test edx, edx
je 0x5a5e0c
push ecx
lea ecx, [ebx + 0x108]
call fcn.005a1b90
pop ecx
push 0x14
push dword [edi + 0x2c4]
lea ecx, [ebx + 0x10c]
push 0
call fcn.00403895
push 0
push dword [edi + 0x12c]
lea esi, [ebx + 0x5f8]
push 0x30
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x128]
lea ecx, [ebx + 0x5f4]
push dword [edi + 0x124]
call fcn.00407efa
push 0x14
lea eax, [edi + 0x114]
mov ecx, esi
push eax
push 0
call fcn.00403895
push dword [ebp - 0x234]
lea esi, [edi + 0xb4]
lea ecx, [ebx + 0xa4]
mov edx, esi
call fcn.005a1af4
pop ecx
push 0x14
push esi
xor esi, esi
lea ecx, [ebx + 0xa8]
push esi
call fcn.00403895
push 0x14
lea eax, [edi + 0x134]
push eax
lea ecx, [ebx + 0x2e8]
push esi
call fcn.00403895
xor eax, eax
lea ecx, [edi + 0x144]
inc eax
test ecx, ecx
je 0x5a5ea5
cmp dword [ecx], esi
jne 0x5a5ea3
cmp dword [ecx + 0x1c], esi
je 0x5a5ea5
mov eax, esi
lea esi, [ebx + 0x2e4]
test al, al
je 0x5a5ece
push ecx
mov ecx, ebx
call fcn.005a1667
push ecx
push ecx
push dword [ebx + 0x418]
mov ecx, esi
call fcn.00475d20
mov dword [ebp - 0x21c], eax
jmp 0x5a5f0d
push dword [ebp - 0x234]
lea eax, [edi + 0x194]
push eax
push ecx
mov ecx, esi
call fcn.00475e91
push dword [edi + 0x18c]
mov ecx, esi
mov dword [ebp - 0x21c], eax
push dword [edi + 0x188]
push dword [edi + 0x184]
call fcn.00475fd0
lea ecx, [ebx + 0x418]
call fcn.00414ba5
mov esi, dword [ebx + 0x328]
xor eax, eax
push eax
push eax
push 0x418
push dword [ebx + 0x2e8]
mov dword [ebp - 0x224], eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x5a6062
mov eax, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x224]
movzx eax, ax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x20
push eax
push edi
push 0x43f
push dword [ebx + 0x2e8]
mov dword [ebp - 0x250], 8
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x21c]
or dword [ebp - 0x250], 0x43
and byte [ebp - 0x243], 0xef
mov word [ebp - 0x242], ax
lea eax, [ebp - 0x254]
push eax
push edi
push 0x440
push dword [ebx + 0x2e8]
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x23c], 0x6349bc
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x200
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.004e0bc0
add esp, 0xc
lea eax, [ebp - 0x208]
push 0x400
push 0x100
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_GetMenuStringW]
lea eax, [ebp - 0x218]
push eax
push edi
push 0x41d
push dword [ebx + 0x2e8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [edi + 1]
push eax
push dword [ebx + 0x2e8]
lea ecx, [ebx + 0xa0]
mov edi, eax
call fcn.00449d6c
push edi
lea eax, [ebp - 0x218]
push eax
push ecx
mov eax, esp
lea ecx, [ebp - 0x208]
mov dword [eax], ecx
lea ecx, [ebx + 0xa0]
push dword [ebx + 0x2e8]
call fcn.00418ec0
push 0
push 0
push 0x418
push dword [ebx + 0x2e8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, eax
jl 0x5a5f4b
mov edi, dword [ebp - 0x220]
call fcn.005ca213
test eax, eax
je 0x5a61ed
lea ecx, [edi + 0x1b4]
call fcn.00422905
test eax, eax
je 0x5a6185
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x1b4]
call fcn.00414a3c
mov eax, dword [ebp - 0x230]
cdq
push 3
pop ecx
idiv ecx
mov ebx, dword [ebp - 0x220]
mov edi, eax
mov eax, dword [ebp - 0x22c]
cdq
sub eax, edx
mov dword [ebp - 0x21c], edi
mov esi, eax
lea ecx, [ebx + 0x1d4]
lea eax, [ebp - 0x230]
sar esi, 1
push eax
mov dword [ebp - 0x224], esi
call fcn.00414a3c
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebx + 0x1f4]
call fcn.00414a3c
mov eax, dword [ebp - 0x220]
xor ebx, ebx
push edi
mov edi, dword [sym.imp.wspcomm.dll_Ordinal_205]
push esi
mov esi, dword [ebp - 0x228]
cmp dword [eax + 0x214], ebx
push 1
setne bl
push dword [esi + 0x548]
call edi
push ebx
push dword [ebp - 0x22c]
push 1
push dword [esi + 0x548]
mov esi, dword [sym.imp.wspcomm.dll_Ordinal_204]
call esi
push dword [ebp - 0x21c]
mov eax, dword [ebp - 0x228]
push dword [ebp - 0x224]
push 1
push dword [eax + 0x56c]
call edi
mov eax, dword [ebp - 0x228]
push ebx
push dword [ebp - 0x22c]
push 1
push dword [eax + 0x56c]
call esi
push dword [ebp - 0x21c]
mov eax, dword [ebp - 0x228]
push dword [ebp - 0x224]
push 1
push dword [eax + 0x5a8]
call edi
push ebx
push dword [ebp - 0x22c]
mov ebx, dword [ebp - 0x228]
push 1
jmp 0x5a61df
mov edi, dword [sym.imp.wspcomm.dll_Ordinal_205]
xor esi, esi
push 0xd
push 0xd
inc esi
push esi
push dword [ebx + 0x548]
call edi
push esi
push 0xd
push esi
push dword [ebx + 0x548]
mov esi, dword [sym.imp.wspcomm.dll_Ordinal_204]
call esi
push 0xd
push 0xd
push 1
push dword [ebx + 0x56c]
call edi
xor eax, eax
inc eax
push eax
push 0xd
push eax
push dword [ebx + 0x56c]
call esi
push 0xd
push 0xd
push 1
push dword [ebx + 0x5a8]
call edi
xor eax, eax
inc eax
push eax
push 0xd
push eax
push dword [ebx + 0x5a8]
call esi
mov edi, dword [ebp - 0x220]
lea esi, [edi + 0x27c]
test esi, esi
je 0x5a6209
cmp dword [esi], 0
jne 0x5a6202
cmp dword [esi + 0x1c], 0
je 0x5a6209
xor eax, eax
xor ecx, ecx
inc eax
jmp 0x5a620e
xor eax, eax
inc eax
mov ecx, eax
test cl, cl
jne 0x5a624f
lea ecx, [edi + 0x29c]
test ecx, ecx
je 0x5a6229
cmp dword [ecx], 0
jne 0x5a6227
cmp dword [ecx + 0x1c], 0
je 0x5a6229
xor eax, eax
test al, al
jne 0x5a624f
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.00414a3c
mov eax, dword [ebp - 0x230]
mov dword [ebx + 0x4fc], eax
lea eax, [edi + 0x29c]
jmp 0x5a625d
xor eax, eax
mov dword [ebx + 0x4fc], 5
xor esi, esi
mov edx, 0x534
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x224], ebx
mov ecx, ebx
push 0x14
lea edi, [edx + 4]
mov dword [ebx + edi], esi
lea ebx, [edx + 8]
mov esi, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x220]
mov dword [esi + ebx], eax
mov eax, dword [ebp - 0x234]
mov ebx, dword [ebp - 0x228]
mov dword [ecx + edx], eax
lea eax, [edi + 0x44]
push eax
push 0
lea ecx, [ebx + 0x4bc]
call fcn.00403895
lea eax, [ebx + 0x5a4]
push eax
call fcn.005a1208
cmp dword [0x673628], 0
je 0x5a636f
mov esi, dword [edi + 0x2c0]
test esi, esi
je 0x5a636f
push 0x17
pop ecx
add esi, 0xc
mov edi, 0x673c14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x220]
push 0x7d14
push 0x40
push 0x7f0
mov eax, dword [ecx + 0x2c0]
mov eax, dword [eax + 0x68]
mov dword [0x673c70], eax
mov eax, dword [ecx + 0x2c0]
mov eax, dword [eax + 0x70]
mov dword [0x673c78], eax
mov eax, dword [ecx + 0x2c0]
mov eax, dword [eax + 0x7c]
mov dword [0x673c88], eax
mov eax, dword [ecx + 0x2c0]
mov eax, dword [eax + 0x74]
mov dword [0x673c7c], eax
mov eax, dword [ecx + 0x2c0]
mov eax, dword [eax + 0x78]
mov dword [0x673c80], eax
mov eax, dword [ecx + 0x2c0]
mov eax, dword [eax + 0x80]
mov dword [0x673c84], eax
mov eax, dword [ecx + 0x2c0]
mov eax, dword [eax + 0x84]
mov dword [0x673c8c], eax
mov eax, dword [ecx + 0x2c0]
mov eax, dword [eax + 0x6c]
mov dword [0x673c74], eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004da623
leave
ret