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

Disassembly:
sub esp, 0x160
push ebp
mov ebp, dword [esp + 0x168]
imul ebp, ebp, 0x1c
push esi
mov esi, ecx
mov ecx, dword [esi + 0x50]
mov al, byte [ebp + ecx + 4]
add ebp, ecx
test al, al
je 0x4bc2c7
movsx eax, word [ebp + 6]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x20], eax
jl 0x4bc2c6
mov al, byte [ebp + 8]
cmp al, 0xff
mov byte [esp + 0x18], al
je 0x4bc2c6
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00490740
test eax, eax
je 0x4bc2c6
push edi
mov edi, dword [esi + 0x28]
cmp edi, ebx
je 0x4bbce9
fld dword [edi + 0x12c]
fcomp dword [0x5bb7cc]
fnstsw ax
test ah, 1
jne 0x4bbbb9
mov dword [esp + 0x10], 0xff
jmp 0x4bbbed
fld dword [edi + 0x12c]
fcomp dword [0x5bb7ec]
fnstsw ax
test ah, 0x41
jp 0x4bbbd2
mov dword [esp + 0x10], ebx
jmp 0x4bbbed
fld dword [edi + 0x12c]
fmul dword [0x5bba60]
fadd dword [0x5bba5c]
call fcn.0057b228
mov dword [esp + 0x10], eax
fld dword [edi + 0x130]
fcomp dword [0x5bb7cc]
fnstsw ax
test ah, 1
jne 0x4bbc0a
mov dword [esp + 0x18], 0xff
jmp 0x4bbc3e
fld dword [edi + 0x130]
fcomp dword [0x5bb7ec]
fnstsw ax
test ah, 0x41
jp 0x4bbc23
mov dword [esp + 0x18], ebx
jmp 0x4bbc3e
fld dword [edi + 0x130]
fmul dword [0x5bba60]
fadd dword [0x5bba5c]
call fcn.0057b228
mov dword [esp + 0x18], eax
fld dword [edi + 0x134]
fcomp dword [0x5bb7cc]
fnstsw ax
test ah, 1
jne 0x4bbc58
mov ebx, 0xff
jmp 0x4bbc84
fld dword [edi + 0x134]
fcomp dword [0x5bb7ec]
fnstsw ax
test ah, 0x41
jnp 0x4bbc84
fld dword [edi + 0x134]
fmul dword [0x5bba60]
fadd dword [0x5bba5c]
call fcn.0057b228
mov ebx, eax
fld dword [edi + 0x138]
fcomp dword [0x5bb7cc]
fnstsw ax
test ah, 1
jne 0x4bbc9e
mov eax, 0xff
jmp 0x4bbccc
fld dword [edi + 0x138]
fcomp dword [0x5bb7ec]
fnstsw ax
test ah, 0x41
jp 0x4bbcb5
xor eax, eax
jmp 0x4bbccc
fld dword [edi + 0x138]
fmul dword [0x5bba60]
fadd dword [0x5bba5c]
call fcn.0057b228
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
shl eax, 8
or eax, edx
shl eax, 8
or eax, edi
shl eax, 8
or eax, ebx
mov dword [esp + 0x18], eax
jmp 0x4bbcf1
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x1c]
movzx edx, word [eax + 0x6a570]
mov cx, word [eax + 0x6a572]
imul edx, edx, 0xffff9c00
lea ebx, [eax + 0x3913c]
movzx eax, cx
imul eax, eax, 0x6400
mov dword [esp + 0x10], edx
lea ecx, [esi + 0x6e8]
fild dword [esp + 0x10]
push ecx
mov dword [esp + 0x14], eax
lea edi, [esi + 0x728]
fstp dword [esi + 0x718]
push edi
fild dword [esp + 0x18]
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x34], ebx
fstp dword [esi + 0x71c]
call fcn.00543d30
lea eax, [esi + 0x768]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0xb8]
push edx
call fcn.00543d30
mov ecx, dword [0x621dc8]
lea eax, [esp + 0xb0]
push eax
push 0x11
call fcn.004ca060
push 0
push 0xbacccccd
push 0x3acccccd
lea ecx, [esp + 0x3c]
push ecx
call fcn.005445fd
lea edx, [esp + 0x30]
push edx
push edi
lea eax, [esp + 0xf8]
push eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
call fcn.00543d30
lea ecx, [esp + 0xf0]
push ecx
mov ecx, dword [0x621dc8]
push 0x10
call fcn.004ca060
mov ecx, ebp
call fcn.004ac5e0
test eax, eax
je 0x4bc2c5
mov edx, dword [esi + 0x96c]
mov eax, dword [eax + 4]
mov ecx, dword [0x621dc8]
push edx
push eax
push 0
call fcn.004c9900
mov ecx, dword [0x621dc8]
push 0
push 0x89
call fcn.004c9790
mov ecx, dword [esi + 0x948]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x6609e4]
mov byte [esp + 0x17], 1
mov ebp, 1
call fcn.004f83e0
cmp eax, ebp
jbe 0x4bbf8e
add ebx, 0x10414
mov eax, dword [ebx - 8]
test eax, eax
je 0x4bbf77
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
inc edx
shl edx, 8
add edx, ebp
cmp dword [eax + edx*4], 0
je 0x4bbf77
push ebp
lea ecx, [esi + 0x274]
call fcn.004f8540
mov ecx, dword [0x621dc8]
mov edi, eax
mov al, byte [esp + 0x17]
test al, al
je 0x4bbedc
push 1
push 4
push 1
call fcn.004c9810
mov ecx, dword [edi + 0x1c]
push ecx
mov ecx, dword [0x621dc8]
push 0
call fcn.004c97d0
mov edx, dword [ebx]
mov ecx, dword [0x621dc8]
push edx
push 1
call fcn.004c97d0
movzx eax, word [esp + 0x178]
mov ecx, dword [esi + 0x964]
mov edx, dword [esp + 0x17c]
push eax
push 0
push ecx
mov ecx, dword [0x621dc8]
push 0
push edx
call fcn.004c9a10
mov ecx, dword [0x621dc8]
push 2
push 4
push 1
call fcn.004c9810
mov byte [esp + 0x17], 0
jmp 0x4bbf1e
mov eax, dword [edi + 0x1c]
push eax
push 0
call fcn.004c97d0
mov ecx, dword [ebx]
push ecx
mov ecx, dword [0x621dc8]
push 1
call fcn.004c97d0
movzx edx, word [esp + 0x178]
mov eax, dword [esi + 0x964]
mov ecx, dword [esp + 0x17c]
push edx
push 0
push eax
push 0
push ecx
mov ecx, dword [0x621dc8]
call fcn.004c9a10
mov edi, dword [esi + 0x958]
mov eax, dword [esi + 0x954]
lea edx, [esp + 0x10]
push edx
push edi
push eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x20], ebp
call fcn.004bb5b0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp eax, edi
jne 0x4bbf5e
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x950]
mov dword [esp + 0x14], ebp
call fcn.00453700
mov edx, dword [esi + 0x948]
mov ecx, dword [esi + 0x960]
inc edx
mov eax, edx
cmp eax, ecx
mov dword [esi + 0x948], edx
jge 0x4bbf8e
mov ecx, dword [0x6609e4]
inc ebp
add ebx, 0xc
call fcn.004f83e0
cmp ebp, eax
jb 0x4bbe32
mov al, byte [esi + 0x129]
test al, al
je 0x4bc299
mov ecx, dword [0x621dc8]
push 1
push 0x89
call fcn.004c9790
mov ecx, dword [0x621dc8]
push 0xffffffffffffffff
push 0x22
call fcn.004c9790
mov ecx, dword [0x621dc8]
push 1
push 0x13
call fcn.004c9790
mov ecx, dword [0x621dc8]
push 3
push 0x14
call fcn.004c9790
lea edx, [esi + 0x7a8]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x138]
push ecx
call fcn.00543d30
mov ecx, dword [0x621dc8]
lea edx, [esp + 0x130]
push edx
push 0x10
call fcn.004ca060
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x4a544]
push ecx
mov ecx, dword [0x621dc8]
push 0
call fcn.004c97d0
mov ecx, dword [0x621dc8]
push 2
push 2
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 1
push 3
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 4
push 1
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 2
push 5
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 1
push 6
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 1
push 4
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 3
push 0xd
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 3
push 0xe
push 0
call fcn.004c9810
mov al, byte [esi + 0x12a]
test al, al
mov ecx, dword [0x621dc8]
je 0x4bc147
lea edx, [esi + 0x7e8]
push edx
push 0x11
call fcn.004ca060
mov eax, dword [esi + 0x1cc]
mov ecx, dword [0x621dc8]
push eax
push 1
call fcn.004c97d0
mov ecx, dword [0x621dc8]
push 2
push 2
push 1
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 1
push 3
push 1
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 4
push 1
push 1
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 1
push 4
push 1
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 3
push 0xd
push 1
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 3
push 0xe
push 1
call fcn.004c9810
jmp 0x4bc150
push 0
push 1
call fcn.004c97d0
movzx eax, word [esp + 0x178]
mov edx, dword [0x62943c]
push eax
add edx, eax
mov dword [0x62943c], edx
mov ecx, dword [esi + 0x964]
mov edx, dword [esp + 0x180]
push 0
push ecx
mov ecx, dword [0x621dc8]
push 0
push edx
call fcn.004c9a10
mov ecx, dword [esi + 0x948]
mov al, byte [esi + 0x12a]
inc ecx
test al, al
mov dword [esi + 0x948], ecx
je 0x4bc1e0
mov ecx, dword [0x621dc8]
push 1
push 2
push 1
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 2
push 1
push 1
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 2
push 5
push 1
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 2
push 4
push 1
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 2
push 2
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 1
push 3
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 4
push 1
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 2
push 5
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 2
push 4
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 1
push 0xd
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 1
push 0xe
push 0
call fcn.004c9810
mov ecx, dword [0x621dc8]
push 5
push 0x13
call fcn.004c9790
mov ecx, dword [0x621dc8]
push 6
push 0x14
call fcn.004c9790
mov eax, dword [esp + 0x18]
mov ecx, dword [0x621dc8]
push eax
push 0x22
call fcn.004c9790
mov ecx, dword [0x621dc8]
push 0
push 0x89
call fcn.004c9790
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x948]
mov edx, dword [esi + 0x94c]
sub eax, ecx
mov ecx, eax
imul ecx, eax
mov eax, dword [esi + 0x944]
inc edx
add eax, ecx
mov dword [esi + 0x94c], edx
mov dword [esi + 0x944], eax
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x160
ret 0xc