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

Disassembly:
mov eax, dword [0xcfa660]
sub esp, 0x90
test eax, eax
push ebx
mov ebx, dword [0xcf9ce8]
push ebp
mov ebp, dword [0xcf9ce0]
push esi
mov esi, dword [0xcf9ce4]
push edi
mov edi, dword [0xcf9cdc]
je 0x5545e2
call fcn.00557430
mov eax, dword [0xcfa668]
dec eax
cmp eax, 6
ja case.0x554563.4
jmp dword [eax*4 + 0x554834]
call fcn.0054d5c0
call fcn.0056bb00
call fcn.00537e30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
call fcn.00537e30
call fcn.0056fd70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
call fcn.00572bf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
call fcn.0057b800
call fcn.00537e30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
call fcn.0057b800
call fcn.0056fd70
call fcn.00537e30
call fcn.0054d5c0
call fcn.0056bb00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ecx, dword [0xcf9ccc]
mov eax, dword [0xcf9cd4]
mov edx, dword [0xcf9cd0]
mov dword [esp + 0x50], ecx
mov ecx, dword [0xcf9cd8]
cmp esi, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x5c], ecx
je 0x55481e
push 0xffffffffffffffff
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], ebx
call fcn.00402f40
push 0xffffffffffffffff
lea ecx, [esp + 0x94]
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], ebx
call fcn.00402f40
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebx
call fcn.00402f40
mov edx, dword [0xcf95d4]
mov ecx, dword [esp + 0x28]
mov eax, dword [0xcf95d0]
push edx
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x554785
mov eax, dword [0xcfa660]
test eax, eax
jne 0x554785
push 0xffffffffffffffff
lea ecx, [esp + 0x64]
mov dword [0xcfa660], 1
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebx
call fcn.00402f40
mov eax, dword [esp + 0x68]
cmp dword [eax + 4], 1
je 0x5547c6
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebx
call fcn.00402f40
mov ecx, dword [esp + 0x48]
cmp dword [ecx + 4], 2
je 0x5547d7
push 0xffffffffffffffff
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ebx
call fcn.00402f40
mov edx, dword [esp + 0x78]
cmp dword [edx + 4], 3
je 0x5547ed
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
call fcn.00402f40
mov eax, dword [esp + 0x18]
cmp dword [eax + 4], 5
je 0x5547fe
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebx
call fcn.00402f40
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 4], 7
je 0x55480f
cmp esi, edi
jne 0x554797
mov edi, dword [ebx - 4]
sub ebx, 4
lea ebp, [edi + 0x1000]
mov esi, ebp
mov eax, dword [0xcf9cd0]
mov edx, dword [0xcf9ccc]
mov ecx, dword [0xcf9cd8]
mov dword [esp + 0x54], eax
mov eax, dword [0xcf9cd4]
sub esi, 8
cmp esi, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x5c], ecx
jne 0x55460d
jmp 0x55481e
call fcn.00537e30
mov dword [0xcfa668], 1
jmp 0x55481e
call fcn.0054d5c0
call fcn.0056bb00
mov dword [0xcfa668], 2
jmp 0x55481e
call fcn.0056fd70
mov dword [0xcfa668], 3
jmp 0x55481e
call fcn.00572bf0
mov dword [0xcfa668], 5
jmp 0x55481e
call fcn.0057b800
mov dword [0xcfa668], 7
mov ecx, 0xcf4800
call fcn.00537760
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret