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

Disassembly:
sub esp, 0xc8
push ebx
mov ebx, dword [esp + 0xd4]
push ebp
mov ebp, dword [esp + 0xe0]
push esi
mov esi, dword [esp + 0xe8]
push edi
mov edi, dword [esp + 0xe4]
lea eax, [ebx + ebp]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
lea ecx, [edi + esi]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ecx
lea edx, [edi + 5]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x2c], edx
push dword [eax + 0x84]
push 0x613470
push dword [eax + 0x78]
add eax, 0x174
push ebp
push eax
call fcn.005a7a4d
test eax, eax
je 0x621582
push eax
lea eax, [esi - 5]
mov esi, dword [esp + 0xe0]
push eax
push ebp
push dword [esp + 0x40]
mov ecx, esi
push ebx
call fcn.005afef2
push 0xf
push 2
lea eax, [esp + 0x38]
push eax
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_DrawEdge]
call esi
mov ecx, dword [esp + 0x10]
push 0x2007
push 2
mov eax, dword [ecx + 0x38]
mov eax, dword [eax + 0x98]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0xe8]
push dword [eax]
call esi
mov esi, dword [esp + 0x28]
mov ecx, 0x3e8
mov eax, esi
mov dword [esp + 0x1c], ecx
sub eax, dword [esp + 0x20]
xor edx, edx
imul eax, dword [esp + 0x48]
push 0xff5050
div ecx
mov ecx, dword [esp + 0xe0]
add eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
call fcn.005afbc8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 0xfff0f0
push eax
mov dword [esp + 0x30], esi
call fcn.005afbc8
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0x38]
cmp dword [edx + 0x14], ecx
jbe 0x621524
lea eax, [edi + 6]
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], eax
lea eax, [edi + 9]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x10]
add ecx, eax
mov eax, dword [edx + 0xc]
dec eax
mov dword [esp + 0x4c], edx
and ecx, eax
mov eax, dword [edx + 8]
mov esi, dword [eax + ecx*4]
mov edi, dword [esi]
test edi, edi
je 0x6213c7
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov ecx, dword [edx + 0x78]
xor edx, edx
imul eax, dword [esi + 4], 0x3e8
push 0x50ff50
div ecx
xor edx, edx
imul eax, ebp
div dword [esp + 0x20]
xor edx, edx
add eax, ebx
mov dword [esp + 0x5c], eax
imul eax, edi, 0x3e8
mov edi, dword [esp + 0xe0]
div ecx
xor edx, edx
mov ecx, 0x3e8
imul eax, ebp
div ecx
mov ecx, edi
add eax, ebx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
call fcn.005afbc8
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x38]
mov edx, eax
mov dword [esp + 0x4c], eax
jmp 0x6213d2
mov edi, dword [esp + 0xdc]
mov edx, dword [esp + 0x44]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x621428
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x74], eax
imul eax, ecx, 0x3e8
mov ecx, dword [esp + 0x4c]
push 0xe070e0
div dword [ecx + 0x78]
xor edx, edx
mov ecx, 0x3e8
imul eax, ebp
div ecx
mov ecx, edi
add eax, ebx
mov dword [esp + 0x6c], eax
inc eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x6c]
push eax
call fcn.005afbc8
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x38]
cmp dword [esi + 8], 0
je 0x621496
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov ecx, dword [edx + 0x78]
xor edx, edx
imul eax, dword [esi], 0x3e8
push 0x70ffff
div ecx
xor edx, edx
inc eax
imul eax, ebp
div dword [esp + 0x20]
xor edx, edx
add eax, ebx
mov dword [esp + 0x7c], eax
imul eax, dword [esi + 8], 0x3e8
div ecx
xor edx, edx
mov ecx, 0x3e8
imul eax, ebp
div ecx
mov ecx, edi
add eax, ebx
mov dword [esp + 0x84], eax
lea eax, [esp + 0x7c]
push eax
call fcn.005afbc8
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x38]
cmp dword [esi + 0x10], 0
je 0x62150e
mov eax, dword [esp + 0x14]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov ecx, dword [edx + 0x78]
xor edx, edx
imul eax, dword [esi + 8], 0x3e8
push 0x8070ff
div ecx
xor edx, edx
inc eax
imul eax, ebp
div dword [esp + 0x20]
xor edx, edx
add eax, ebx
mov dword [esp + 0x8c], eax
imul eax, dword [esi + 0x10], 0x3e8
div ecx
xor edx, edx
mov ecx, 0x3e8
imul eax, ebp
div ecx
mov ecx, edi
add eax, ebx
mov dword [esp + 0x94], eax
lea eax, [esp + 0x8c]
push eax
call fcn.005afbc8
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x38]
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
cmp ecx, dword [edx + 0x14]
jb 0x62133c
push dword [esp + 0x48]
lea eax, [esp + 0x9c]
push str._:.1d___
push 0x20
push eax
call fcn.00463afb
mov eax, dword [esp + 0x48]
add esp, 0x10
sub dword [esp + 0x34], 2
add eax, 8
mov dword [esp + 0x30], eax
push 0x60
push dword [0x7d36f0]
push 0x30
call dword [sym.imp.KERNEL32.DLL_MulDiv]
add eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
push 0
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.005afb5d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret 0x14