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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov ebx, ecx
call fcn.0049c2d0
test eax, eax
je 0x45a643
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x20]
push esi
sub eax, edx
push eax
push ecx
mov ecx, ebx
call fcn.00459f60
push esi
mov ecx, ebx
call fcn.0049c390
mov edx, dword [ebx + 0x24]
mov edi, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 4]
push 0
push esi
sub edx, edi
push edx
push eax
add ecx, 0x84
call fcn.00404eb0
mov dword [esp + 0x18], 0
xor eax, eax
lea ecx, [ebx + 0x1ad8]
lea ecx, [ecx]
mov edi, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], ecx
movzx ecx, byte [ebx + 0x74]
add ecx, edi
imul ecx, ecx, 0x4f
cmp word [ecx + ebx + 0xec], 0
je 0x45a5f7
lea esi, [ebx + 0x78]
mov ecx, esi
call fcn.0041b660
test ax, ax
je 0x45a396
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.0041b730
mov eax, dword [eax]
cmp eax, dword [esp + 0x18]
jne 0x45a396
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.0041b730
mov edx, dword [eax + 4]
cmp edx, dword [esp + 0x10]
je 0x45a5f7
mov eax, dword [esp + 0x18]
cmp dword [ebx + 0x1c9c], eax
jne 0x45a444
mov ecx, dword [esp + 0x10]
cmp dword [ebx + 0x1ca0], ecx
jne 0x45a444
movzx eax, byte [ebx + 0x74]
mov edx, dword [ebp + 8]
add eax, edi
imul eax, eax, 0x4f
push 0xe
push edx
sub esp, 0x50
mov edi, esp
lea esi, [eax + ebx + 0xec]
mov eax, dword [esp + 0x64]
mov edx, dword [eax]
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x24]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x3c]
mov esi, dword [eax + 4]
sub ecx, edi
mov edi, dword [ebx + 0x20]
add ecx, esi
push ecx
add edx, edi
push edx
mov ecx, 0xe5a570
call fcn.00455360
mov eax, dword [ebp + 8]
movzx ecx, byte [ebx + 0x74]
push 0
push eax
add ecx, dword [esp + 0x1c]
imul ecx, ecx, 0x4f
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0x24]
sub esp, 0x50
lea esi, [ecx + ebx + 0xec]
mov edi, esp
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
sub edx, dword [ebx + 0x3c]
lea edx, [edx + ecx - 1]
mov ecx, dword [ebx + 0x20]
push edx
lea edx, [eax + ecx - 1]
push edx
jmp 0x45a481
movzx ecx, byte [ebx + 0x74]
mov eax, dword [ebp + 8]
add ecx, edi
imul ecx, ecx, 0x4f
mov edx, dword [ebx + 0x24]
push 0
push eax
mov eax, dword [ebx + 0x3c]
sub esp, 0x50
lea esi, [ecx + ebx + 0xec]
mov edi, esp
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
sub edx, eax
mov eax, dword [esp + 0x64]
movsb byte es:[edi], byte [esi]
mov edi, dword [eax + 4]
mov eax, dword [eax]
add edx, edi
push edx
add eax, dword [ebx + 0x20]
push eax
mov ecx, 0xe5a570
call fcn.00455360
lea esi, [ebx + 0x78]
mov ecx, esi
call fcn.0041b660
test ax, ax
je 0x45a5f7
mov ecx, esi
call fcn.0041b660
movzx edx, byte [ebx + 0x74]
add edx, dword [esp + 0x14]
imul edx, edx, 0x4f
movzx eax, ax
mov ecx, dword [eax*4 + 0xe5a580]
mov al, byte [ecx + 0xe4]
cmp al, 0x29
lea esi, [edx + ebx + 0xec]
mov ecx, 0x13
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
movzx ecx, word [esp + 0x48]
mov esi, dword [ecx*4 + 0xe5a580]
mov dl, byte [esi + 0xe4]
mov byte [esp + 0x1c], dl
jne 0x45a500
mov eax, dword [esp + 0x1c]
push eax
mov ecx, 0xe5a570
call fcn.00455280
jmp 0x45a569
cmp al, 0x2d
jne 0x45a511
cmp byte [esp + 0x59], 1
jne 0x45a5f7
jmp 0x45a571
cmp al, 0x2e
jne 0x45a533
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, 0xe5a570
call fcn.004552f0
test eax, eax
je 0x45a5f7
cmp byte [esp + 0x59], 1
jmp 0x45a56b
cmp al, 0x31
jne 0x45a55b
mov edx, dword [esp + 0x1c]
push edx
mov ecx, 0xe5a570
call fcn.004552c0
test eax, eax
je 0x45a5f7
cmp byte [esp + 0x59], 2
jne 0x45a5f7
jmp 0x45a571
cmp al, 0x32
jne 0x45a5f7
mov eax, dword [esi + 0x108]
test eax, eax
je 0x45a5f7
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x24]
mov esi, dword [esp + 0xc]
mov edx, dword [esi]
sub eax, ecx
mov ecx, dword [esi + 4]
add eax, ecx
mov ecx, dword [ebx + 0x20]
add ecx, edx
lea edx, [eax + 0x20]
push edx
lea edx, [ecx + 0x20]
push edx
push eax
push ecx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [ebx + 0x78]
call fcn.0041b710
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add eax, 0x10
push eax
add ecx, 0x10
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
mov edx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, dword [ebx + 0x24]
test eax, eax
mov eax, dword [ebp + 8]
push 0
push eax
mov eax, dword [ebx + 0x3c]
je 0x45a5df
push 0x2712
jmp 0x45a5e4
push 0x2713
sub ecx, eax
add ecx, edi
push ecx
add edx, dword [ebx + 0x20]
mov ecx, 0xe5a570
push edx
call fcn.00454e70
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
inc eax
add edi, 3
add edx, 0x10
cmp eax, 7
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edx
jl 0x45a342
mov esi, dword [esp + 0x18]
inc esi
cmp edi, 0x54
mov dword [esp + 0x18], esi
mov eax, edi
mov ecx, edx
jl 0x45a330
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4