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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
test ebx, ebx
jne 0x574860
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x38], eax
sub eax, edx
sar eax, 2
mov dword [ebp - 0x2c], edx
imul eax, eax, 0x1a1f58d1
sub eax, 1
cmp eax, ebx
jb 0x574b20
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov edx, dword [eax + 0x1c]
mov esi, dword [eax + 0x24]
mov eax, edi
sub eax, edx
mov dword [ebp - 0x34], edx
sar eax, 2
mov dword [ebp - 0x30], esi
imul eax, eax, 0x1a1f58d1
add eax, ebx
mov edx, eax
js 0x574b10
sar edx, 1
cmp eax, 1
jle 0x574b48
mov edi, dword [ebp - 0x30]
lea edi, [edi + edx*4]
add edx, edx
sub eax, edx
mov esi, dword [edi]
mov dword [ebp - 0x3c], edi
imul eax, eax, 0xc4
lea edi, [esi + 0x188]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x40], edi
add eax, esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
lea esi, cs:[esi]
mov eax, dword [ebp - 0x20]
cmp ebx, eax
je 0x574aee
mov dword [ebx], vtable.gFrame.0
lea esi, [ebx + 4]
mov dword [ebx + 4], 0
mov ecx, esi
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [esp], 0
call fcn.0054e900
sub esp, 4
mov dword [ebx + 0x2c], 0
lea edi, [ebx + 0x34]
mov dword [ebx + 0x30], vtable.gFrame.0
mov ecx, edi
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [esp], 0
call fcn.0054e900
sub esp, 4
movzx eax, word [0x5eb72e]
mov dword [ebx + 0x5c], 0
lea ecx, [ebx + 0x98]
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov word [ebx + 0x7c], ax
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov byte [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0xffffffff
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], vtable.gFrame.0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0
mov dword [esp], 0
call fcn.0054e900
mov dword [ebx + 0xc0], 0
sub esp, 4
add ebx, 0xc4
cmp dword [ebp - 0x1c], ebx
jne 0x5748f0
add dword [ebp - 0x24], 4
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
lea eax, [ebx + 0x188]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
cmp ebx, eax
jne 0x5748fb
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x18], ebx
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x24], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
shr edx, 1
add edx, 0x80000000
jmp 0x5748b6
mov edx, ebx
mov edi, ecx
sub edx, eax
mov dword [esp], edx
call fcn.005754a0
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x20]
sub esp, 4
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x38], eax
jmp 0x574882
imul ebx, ebx, 0xc4
mov dword [ebp - 0x3c], esi
lea eax, [edi + ebx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
jmp 0x5748dc