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

Disassembly:
sub esp, 0x30
mov ecx, dword [esp + 0x3c]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
push edi
push ebp
xor esi, esi
call fcn.004b8820
mov eax, dword [ebp + 0x90]
lea edi, [eax - 2]
lea esi, [eax + 2]
mov eax, dword [ebp + 0x94]
lea ebx, [eax + 2]
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], esi
lea ecx, [eax - 2]
mov dword [esp + 0x14], ebx
test edi, edi
jge 0x4b9f6b
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x18]
mov edx, dword [ebp + 0x8c]
mov eax, dword [edx + 0x2c]
cmp esi, eax
jl 0x4b9f7d
dec eax
mov dword [esp + 0x44], eax
test ecx, ecx
jge 0x4b9f83
xor ecx, ecx
mov eax, dword [edx + 0x30]
cmp ebx, eax
jl 0x4b9f91
dec eax
mov dword [esp + 0x14], eax
mov ebx, eax
cmp ecx, ebx
mov esi, ecx
mov dword [esp + 0x1c], ecx
jg 0x4ba199
nop
cmp edi, dword [esp + 0x44]
jg 0x4ba18c
mov eax, dword [esp + 0x44]
mov ebx, edi
imul ebx, ebx, 0x124
sub eax, edi
inc eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x8c]
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + esi*4]
lea eax, [edx + ebx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 0x8c]
mov edx, dword [ecx + 0x34]
mov eax, dword [edx + esi*4]
mov edx, dword [eax + ebx + 0x2c]
lea ecx, [eax + ebx + 0x2c]
mov eax, dword [edx + 0x78]
test eax, eax
je 0x4b9ff8
lea edi, [eax - 0x74]
jmp 0x4b9ffa
xor edi, edi
mov dword [ecx + 4], edi
cmp edi, edx
je 0x4ba158
test edi, edi
je 0x4ba158
lea ecx, [ecx]
mov ecx, dword [ebp + 0xd4]
mov eax, dword [ecx + 0x78]
cmp eax, 2
je 0x4ba02d
mov edx, dword [edi + 0xd4]
cmp dword [edx + 0x78], eax
jne 0x4ba127
cmp dword [edi + 0x70], 0
je 0x4ba0af
cmp dword [edi + 0x6c], 0
jne 0x4ba03d
xor eax, eax
jmp 0x4ba0b5
mov eax, dword [edi + 0x68]
mov esi, dword [edi + 0x6c]
add esi, eax
cmp eax, esi
jbe 0x4ba04e
call fcn.0051b1ad
mov ebx, dword [edi + 0x50]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
test ebx, ebx
jne 0x4ba079
call fcn.0051b1ad
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
dec esi
cmp esi, ecx
ja 0x4ba086
test ebx, ebx
je 0x4ba07f
mov ebx, dword [ebx]
jmp 0x4ba081
mov eax, dword [ebx]
mov ecx, eax
jmp 0x4ba066
xor ebx, ebx
cmp esi, dword [ebx + 0x18]
jae 0x4ba08b
call fcn.0051b1ad
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
call fcn.00425b90
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x4ba0b5
mov eax, dword [edi + 0x1a8]
cmp eax, 2
je 0x4ba127
fld dword [edi + 0x7c]
push ecx
fsub dword [ebp + 0x7c]
fstp dword [esp + 0x30]
fld dword [edi + 0x84]
fsub dword [ebp + 0x84]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.0041b8a0
mov ecx, dword [esp + 0x50]
movzx edx, byte [ecx + 0x57]
mov dword [esp + 0x30], edx
add esp, 4
fild dword [esp + 0x2c]
fcompp
fnstsw ax
test ah, 1
jne 0x4ba127
mov eax, dword [esp + 0x48]
push 0
mov esi, ecx
push eax
mov edx, edi
mov ecx, ebp
call fcn.004ba1b0
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x8c]
mov edx, dword [ecx + 0x34]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax + ebx + 0x30]
mov ecx, dword [ecx + 0x78]
lea eax, [eax + ebx + 0x2c]
test ecx, ecx
je 0x4ba147
lea edi, [ecx - 0x74]
jmp 0x4ba149
xor edi, edi
mov dword [eax + 4], edi
cmp edi, dword [eax]
je 0x4ba158
test edi, edi
jne 0x4ba010
mov edx, dword [ebp + 0x8c]
mov eax, dword [edx + 0x34]
mov ecx, dword [eax + esi*4]
lea edx, [ecx + ebx + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add ebx, 0x124
sub dword [esp + 0x24], 1
mov dword [esp + 0x20], ebx
jne 0x4b9fc1
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
inc esi
cmp esi, ebx
mov dword [esp + 0x1c], esi
jle 0x4b9fa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc