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

Disassembly:
sub esp, 0x58
push ebx
mov ebx, eax
mov eax, dword [ebx + 0xc]
imul eax, eax, 0x84
push ebp
push esi
mov esi, dword [eax + 0x62d920]
mov eax, dword [esp + 0x68]
push edi
xor ebp, ebp
lea edi, [esp + 0x24]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
call fcn.004b2590
test eax, eax
jle 0x49fa2e
cmp eax, 0x14
mov ebp, eax
jge 0x49fc0d
test esi, esi
je 0x49fa58
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x18]
push ecx
push 0
push edx
push eax
push ebx
call esi
add esp, 0x14
cmp eax, ebp
jle 0x49fa4f
mov ebp, eax
cmp ebp, 0x14
jge 0x49fc0d
mov edx, dword [esp + 0x6c]
mov ecx, dword [ebx]
mov edi, dword [ebx + 0xc]
xor eax, eax
push 0x7d0
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x78]
push 0x43b340
lea esi, [esp + 0x34]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], ebx
call fcn.0049f3c0
add esp, 0xc
cmp eax, ebp
jle 0x49fa98
mov ebp, eax
cmp ebp, 0x14
jge 0x49fc09
cmp ebp, 0xd
je 0x49fc09
mov eax, dword [ebx + 0xac]
xor esi, esi
cmp eax, esi
je 0x49fb03
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
push 0x7d2
push eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
push fcn.0049f1b0
lea esi, [esp + 0x34]
mov dword [esp + 0x44], 3
call fcn.0049f3c0
add esp, 0xc
cmp eax, ebp
jle 0x49faef
mov ebp, eax
cmp ebp, 0x14
jge 0x49fc09
cmp ebp, 0xd
je 0x49fc09
xor esi, esi
cmp dword [ebx + 0xb4], esi
je 0x49fb54
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
push 0x7d3
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], esi
push fcn.0049f330
lea esi, [esp + 0x34]
mov dword [esp + 0x48], ebx
call fcn.0049f3c0
add esp, 0xc
cmp eax, ebp
jle 0x49fb40
mov ebp, eax
cmp ebp, 0x14
jge 0x49fc09
cmp ebp, 0xd
je 0x49fc09
xor esi, esi
imul edi, edi, 0x84
cmp dword [edi + 0x62d934], esi
je 0x49fb9d
mov eax, dword [edi + 0x62d8f0]
cmp eax, 0x14
jge 0x49fbff
mov edx, dword [esp + 0x70]
add eax, 0x8fc
push edx
push eax
mov eax, dword [esp + 0x74]
push eax
mov eax, ebx
call fcn.0049f7c0
add esp, 0xc
cmp eax, ebp
jle 0x49fb91
mov ebp, eax
cmp ebp, 0x14
jge 0x49fc09
cmp ebp, 0xd
je 0x49fc09
xor esi, esi
mov ecx, 3
cmp dword [ebx + 0x40], ecx
jl 0x49fbeb
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
push 0x7d5
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], esi
push fcn.0045ad20
lea esi, [esp + 0x34]
mov dword [esp + 0x48], ebx
call fcn.0049f3c0
add esp, 0xc
cmp eax, ebp
jle 0x49fbdc
mov ebp, eax
cmp ebp, 0x14
jge 0x49fc09
cmp ebp, 0xd
je 0x49fc09
xor esi, esi
lea ecx, [esi + 3]
mov eax, dword [edi + 0x62d950]
cmp eax, esi
jne 0x49fc4e
xor eax, eax
cmp dword [ebx + 0x40], ecx
setge al
jmp 0x49fc58
cmp ebp, 0xd
jge 0x49fb99
mov ebp, 0xd
mov esi, dword [esp + 0x14]
test esi, esi
je 0x49fc28
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x18]
push ecx
push 2
push edx
push eax
push ebx
call esi
add esp, 0x14
cmp ebp, 0xd
jne 0x49fc44
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x24]
push ecx
xor edi, edi
call fcn.004b23a0
add esp, 4
cmp eax, ebp
jg 0x49fc46
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
xor edx, edx
cmp eax, 6
setl dl
mov eax, edx
cmp eax, esi
je 0x49fcb3
mov eax, dword [esp + 0x70]
cmp dword [eax + 8], ecx
mov ecx, dword [esp + 0x6c]
jae 0x49fc78
push ecx
mov ecx, dword [esp + 0x78]
call fcn.004361f0
add esp, 4
jmp 0x49fc99
movzx edx, word [esp + 0x74]
lea eax, [esp + 0x1c]
push eax
push 0x7d8
push ecx
mov eax, 2
mov dword [esp + 0x28], edx
call fcn.004b17e0
add esp, 0xc
cmp eax, ebp
jle 0x49fc9f
mov ebp, eax
cmp ebp, 0x14
jge 0x49fc09
cmp ebp, 0xd
je 0x49fc09
xor esi, esi
cmp dword [esp + 0x20], esi
jne 0x49fd0f
mov ecx, dword [edi + 0x62d91c]
cmp ecx, esi
je 0x49fd0f
mov eax, dword [edi + 0x62d8f0]
mov edx, dword [esp + 0x6c]
add eax, 0x898
push eax
mov eax, dword [esp + 0x74]
push edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], esi
push ecx
lea esi, [esp + 0x34]
mov dword [esp + 0x48], ebx
call fcn.0049f3c0
add esp, 0xc
cmp eax, ebp
jle 0x49fcfb
mov ebp, eax
cmp ebp, 0x14
jge 0x49fc09
cmp ebp, 0xd
je 0x49fc09
xor esi, esi
mov edi, dword [esp + 0x70]
cmp dword [edi + 8], 1
jbe 0x49fd47
cmp dword [ebx + 0xd0], esi
jne 0x49fd47
mov eax, dword [esp + 0x6c]
push esi
push 0x232e
push eax
xor eax, eax
call fcn.004b17e0
add esp, 0xc
cmp eax, ebp
jle 0x49fd3c
mov ebp, eax
cmp ebp, 0x14
jge 0x49fc09
xor esi, esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x49fd71
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x18]
push ecx
push 1
push edi
push edx
push ebx
call eax
add esp, 0x14
cmp eax, ebp
jle 0x49fd68
mov ebp, eax
cmp ebp, 0x14
jge 0x49fc28
cmp dword [edi + 8], 1
jbe 0x49fc28
mov eax, dword [esp + 0x6c]
push esi
push 0x7d7
push eax
xor eax, eax
call fcn.004b17e0
add esp, 0xc
cmp eax, ebp
jle 0x49fc28
mov ebp, eax
jmp 0x49fc28