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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54d7c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x1c0], esi
jne 0x45e65f
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x8c], esi
je 0x45e6b4
mov eax, dword [edi + 0x8c]
cmp eax, esi
je 0x45e6b4
push eax
mov dword [edi + 0x8c], esi
mov dword [edi + 0x90], esi
mov dword [edi + 0x94], esi
mov dword [edi + 0x98], esi
mov dword [edi + 0xa0], esi
mov dword [edi + 0x9c], esi
mov dword [edi + 0xa8], 0xffffffff
mov byte [edi + 0xa5], 0
mov byte [edi + 0xa4], 0
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.00506c00
mov eax, dword [eax + 8]
push esi
push 0x121
lea ebx, [edi + 0x88]
push ebx
call fcn.004616a0
lea eax, [edi + 0xbcc]
mov ebp, 0x5b6b50
mov dword [esp + 0x18], eax
lea esi, [edi + 0x250]
jmp 0x45e6f0
push 0x566c94
lea ecx, [esp + 0x18]
call fcn.00405ee0
push 1
push 0xc
push 0xfffffffffffffff4
lea ecx, [esi - 0x8c]
mov dword [esp + 0x34], 0
call fcn.0050ad2e
xor eax, eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov eax, 2
mov dword [esi + 0x40], eax
xor eax, eax
mov dword [esi + 0x54], eax
mov eax, 1
mov dword [esi + 0x58], eax
xor eax, eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov eax, 1
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
call fcn.00506c00
mov eax, dword [eax + 8]
push 1
push 0x1fd
lea ecx, [esi - 0x34]
push ecx
call fcn.004616a0
call fcn.00506c00
mov eax, dword [eax + 8]
push 1
push 0x1fe
push esi
call fcn.004616a0
mov edx, dword [esi - 0x6c]
push 0x105
push 0
push 0
push edx
mov dword [esi - 0x38], ebx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [esi - 0x6c]
push 0
push 1
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp]
cmp ecx, 0x3e8
jge 0x45e7bb
push ecx
push 0x56632c
jmp 0x45e7d2
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push 0x5754a0
lea ecx, [esp + 0x1c]
push ecx
call fcn.00402620
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push edx
call fcn.0050537a
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e815
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x18], 0x64
add ebp, 4
add esi, 0xf0
cmp ebp, 0x5b6b78
jl 0x45e6f0
mov ecx, dword [edi + 0x84]
mov dword [edi + 0xc0], edi
mov esi, dword [ecx + 0x14]
test esi, esi
je 0x45e866
mov eax, esi
lea ecx, [edi + 0xc4]
lea ebx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x45e850
sub eax, ebx
sar eax, 1
push eax
push esi
call fcn.004062a0
mov edx, dword [edi + 0x84]
test dword [edx + 0x138], 0x40000000
je 0x45e8d2
lea esi, [edi + 0xdc]
push 0x568768
mov ecx, esi
call fcn.00506e4a
push 0x56877c
mov ecx, esi
call fcn.00506e4a
push 0x568790
mov ecx, esi
call fcn.00506e4a
push 0x568c40
mov ecx, esi
call fcn.00506e4a
push 0x568c54
mov ecx, esi
call fcn.00506e4a
push edi
mov ecx, 0x568c40
call fcn.004c4090
push edi
mov ecx, 0x568c54
call fcn.004c4090
jmp 0x45e8ef
lea eax, [edi + 0xfb4]
call fcn.00424d60
lea esi, [edi + 0xdc]
push 0x568754
mov ecx, esi
call fcn.00506e4a
push 0x569ca8
mov ecx, esi
call fcn.00506e4a
push 0x568704
mov ecx, esi
call fcn.00506e4a
mov eax, dword [edi + 0x78]
mov ecx, dword [eax]
add edi, 0x78
push 0
push edi
call ecx
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret