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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51a33c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
mov bl, byte [0x593cb0]
test bl, bl
sete al
mov byte [0x593cb0], al
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x18], ecx
lea ebx, [eax + eax*2]
mov eax, dword [ecx + 0x48]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x88], eax
shl ebx, 5
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], ebx
lea ebx, [ebx + edx + 0x40]
push esi
test eax, eax
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc], eax
jle 0x4b3102
mov esi, 1
xor edi, edi
mov dword [esp + 0x10], esi
cmp esi, eax
mov dword [esp + 0x14], esi
jge 0x4b30ef
jmp 0x4b3085
mov ebx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov eax, dword [edx + 4]
mov edx, dword [ebx + 4]
lea ebx, [esi + esi]
xor esi, esi
mov cx, word [eax + edi]
mov si, word [ebx + eax]
mov ecx, dword [edx + ecx*4]
lea edx, [edx + esi*4]
mov esi, dword [edx]
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
mov ecx, esi
fstp qword [esp + 0x7c]
call dword [eax + 8]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 1
je 0x4b30d6
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
mov dx, word [ebx + eax]
mov cx, word [eax + edi]
mov word [eax + edi], dx
mov word [ebx + eax], cx
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jl 0x4b3081
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
inc esi
add edi, 2
mov dword [esp + 0x10], esi
lea ecx, [esi - 1]
cmp ecx, eax
jl 0x4b3077
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 8]
mov dword [esp + 0x10], esi
call fcn.0050bf1e
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.0050bf18
test esi, esi
jle 0x4b31c0
mov esi, 1
xor edi, edi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], esi
cmp esi, eax
jge 0x4b31a9
mov edx, dword [ebp + 0x14]
xor ecx, ecx
mov eax, dword [edx + 4]
mov edx, dword [ebx + 4]
lea ebx, [esi + esi]
xor esi, esi
mov cx, word [eax + edi]
mov si, word [ebx + eax]
mov ecx, dword [edx + ecx*4]
lea edx, [edx + esi*4]
mov esi, dword [edx]
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
mov ecx, esi
fstp qword [esp + 0x7c]
call dword [eax + 8]
fcomp qword [esp + 0x7c]
fnstsw ax
test ah, 1
je 0x4b3190
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 4]
mov dx, word [ebx + eax]
mov cx, word [eax + edi]
mov word [eax + edi], dx
mov word [ebx + eax], cx
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
inc esi
cmp esi, eax
mov dword [esp + 0x10], esi
jl 0x4b313f
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
inc esi
add edi, 2
mov dword [esp + 0x14], esi
lea eax, [esi - 1]
cmp eax, ecx
jl 0x4b3133
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x58]
push edi
call fcn.0047dc60
mov esi, dword [esp + 0x20]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0xc8], 0
fld qword [esi + 0x38]
fmul qword [0x520168]
fld qword [edi + 8]
mov al, byte [esi + 0x7c]
mov dword [esp + 0x58], ecx
fsub st(1)
test al, al
mov dword [esp + 0x5c], edx
fstp qword [esp + 0x60]
fadd qword [edi + 8]
fstp qword [esp + 0x84]
je 0x4b321b
mov eax, dword [esp + 0x78]
mov ecx, dword [esi + 0x6c]
add eax, ecx
fld qword [eax]
fadd st(0), st(0)
jmp 0x4b322c
mov ecx, dword [esp + 0x78]
mov eax, dword [esi + 0x6c]
add ecx, eax
fld qword [ecx]
fmul qword [0x5296e8]
fadd qword [edi]
fstp qword [esp + 0x68]
fld qword [edi]
fadd qword [edi + 0x10]
fmul qword [0x520168]
fstp qword [esp + 0x14]
fld qword [edi + 8]
fcomp qword [0x520868]
fnstsw ax
test ah, 1
je 0x4b3266
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jmp 0x4b333d
mov ecx, dword [esi + 0x48]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], eax
jle 0x4b333d
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + edx*4]
call fcn.0048e7d0
push eax
lea ecx, [esp + 0x3c]
call fcn.0047dc60
fld qword [esp + 0x48]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4b3320
fld qword [edi + 8]
fsub qword [esi + 0x38]
fcomp qword [esp + 0x50]
fnstsw ax
test ah, 1
je 0x4b32e2
fld qword [esp + 0x14]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x4b32e2
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
fld qword [esp + 0x50]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x4b3320
fld qword [esp + 0x14]
fcomp qword [esp + 0x48]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
fnstsw ax
test ah, 0x41
je 0x4b3320
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x38]
call fcn.00507a00
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x4b328a
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 8]
dec eax
test eax, eax
mov dword [esp + 0xc], eax
jl 0x4b36d7
mov edx, dword [esp + 0x20]
add edx, 0x40
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0x14]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0xc]
mov dx, word [ecx + eax*2]
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + edx*4]
lea ecx, [esp + 0xa0]
call fcn.0047dc50
mov edx, dword [esi]
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
mov byte [esp + 0xcc], 1
call dword [edx + 0x10]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x5c], edx
call fcn.0047e030
fadd qword [esp + 0x84]
fadd qword [0x523268]
fld qword [edi + 0x18]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4b33ff
lea ecx, [esp + 0xa0]
call fcn.0047e030
fadd qword [esp + 0x84]
fadd qword [0x523268]
jmp 0x4b3402
fld qword [edi + 0x18]
mov eax, dword [esp + 0x20]
mov cl, byte [eax + 0x7c]
fstp qword [esp + 0x70]
test cl, cl
lea ecx, [esp + 0xa0]
je 0x4b343c
call fcn.0047e010
fadd st(0), st(0)
fadd qword [edi]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x4b346c
lea ecx, [esp + 0xa0]
call fcn.0047e010
fadd st(0), st(0)
jmp 0x4b3466
call fcn.0047e010
fmul qword [0x5296e0]
fadd qword [edi]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x4b346c
lea ecx, [esp + 0xa0]
call fcn.0047e010
fmul qword [0x5296e0]
fadd qword [edi]
fstp qword [esp + 0x68]
lea ecx, [esp + 0xa0]
call fcn.0047e010
fmul qword [0x522d90]
fadd qword [esp + 0x14]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x4b34a7
lea ecx, [esp + 0xa0]
call fcn.0047e010
fmul qword [0x522d90]
fadd qword [esp + 0x14]
fstp qword [esp + 0x68]
fld qword [edi + 0x10]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x4b34bc
fld qword [edi + 0x10]
fstp qword [esp + 0x68]
lea ecx, [esp + 0x58]
push ecx
mov ecx, 0x592390
call fcn.004b4080
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x58]
push edx
push esi
push eax
call fcn.004b2a80
test al, al
je 0x4b36b4
xor eax, eax
mov dword [esp + 0x38], 0x522d18
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov edx, dword [esi]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0xcc], 2
call dword [edx + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
mov esi, dword [edi + 8]
add ecx, esi
push ecx
mov ecx, edi
call fcn.004de680
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
test ecx, ecx
lea esi, [edx + esi*4]
je 0x4b354f
mov edx, dword [eax]
add eax, 4
mov dword [esi], edx
add esi, 4
dec ecx
jne 0x4b353e
mov ecx, dword [esp + 0x40]
xor esi, esi
mov dword [esp + 0x68], 0
test ecx, ecx
mov dword [esp + 0x6c], 0
jle 0x4b364d
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + esi*4]
call fcn.0048e7d0
mov ecx, eax
fld qword [ecx + 8]
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 1
jne 0x4b358c
fld qword [ecx + 8]
fstp qword [esp + 0x60]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
fld qword [ecx + 0x20]
add edx, dword [eax + 0x6c]
fld qword [edx]
fadd qword [ecx + 0x10]
fstp qword [esp + 0x94]
fld qword [eax + 0x38]
fmul qword [0x520168]
fstp qword [esp + 0x7c]
fld qword [esp + 0x94]
fsub st(1)
fadd qword [esp + 0x7c]
fld qword [esp + 0x68]
fcompp
fnstsw ax
test ah, 0x41
fstp st(0)
je 0x4b35e5
fld qword [ecx + 0x20]
fld qword [esp + 0x94]
fsub st(1)
fadd qword [esp + 0x7c]
fstp qword [esp + 0x68]
fstp st(0)
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + esi*4]
call fcn.0048e7e0
mov ecx, eax
fld qword [ecx + 0x18]
fcomp qword [esp + 0x70]
fnstsw ax
test ah, 0x41
jne 0x4b3608
fld qword [ecx + 0x18]
fstp qword [esp + 0x70]
fld qword [ecx + 0x10]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x4b3624
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
fld qword [ecx + 0x18]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x4b3640
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
inc esi
cmp esi, eax
jl 0x4b3569
mov edi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x74]
mov eax, dword [edi + 4]
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x88], edx
mov ax, word [eax + esi*2]
mov edx, dword [ecx + 8]
push eax
push edx
call fcn.0050bf12
push 1
push esi
mov ecx, edi
call fcn.0050bf06
mov dword [esp + 0x38], 0x522d18
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xc8], 3
test eax, eax
je 0x4b36a9
push eax
call fcn.0050b204
add esp, 4
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x38], 0x520384
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 0
call fcn.00507a00
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0xc], eax
jns 0x4b3379
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
mov edx, dword [ecx + 0x6c]
mov ecx, dword [eax + edx + 0x48]
add eax, edx
mov eax, dword [eax + 0x34]
add eax, ecx
test eax, eax
jle 0x4b37fd
mov eax, dword [ebx + 8]
test eax, eax
je 0x4b3808
xor esi, esi
mov dword [esp + 0x38], 0x52954c
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], 4
call fcn.004de680
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x3c]
mov edi, eax
dec eax
test edi, edi
je 0x4b374d
inc eax
mov edi, dword [edx]
add edx, 4
mov dword [ecx], edi
add ecx, 4
dec eax
jne 0x4b3740
mov edi, dword [ebp + 0x14]
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x4b375b
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x4b376e
push eax
call fcn.0050b204
add esp, 4
mov dword [ebx + 4], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
cmp dword [edi + 8], esi
jle 0x4b37ca
mov edx, dword [ebp + 0x14]
mov edi, dword [ebx + 8]
xor ecx, ecx
push 0xffffffffffffffff
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x40]
mov cx, word [eax + esi*2]
mov eax, dword [edx + ecx*4]
lea ecx, [edi + 1]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.004de680
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
mov dword [edx + edi*4], eax
mov eax, dword [ebp + 0x14]
xor edx, edx
inc esi
mov ecx, dword [eax + 4]
mov dx, word [ecx + esi*2 - 2]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + edx*4], 0
mov ecx, dword [eax + 8]
cmp esi, ecx
jl 0x4b3779
mov dword [esp + 0x38], 0x52954c
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xc8], 5
test eax, eax
je 0x4b37eb
push eax
call fcn.0050b204
add esp, 4
mov byte [esp + 0xc8], 0
mov dword [esp + 0x38], 0x520384
jmp 0x4b3808
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004de680
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x70], ecx
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x74], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 8]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 8]
push edx
test eax, eax
sete dl
push ecx
push edx
mov ecx, esi
call fcn.004b38d0
mov ecx, dword [ebp + 0x14]
or ebx, 0xffffffff
push ebx
push 0
call fcn.0050bf18
push ebx
push 0
mov ecx, edi
call fcn.0050bf18
mov eax, dword [esp + 0x90]
mov ecx, dword [esi + 0x48]
cmp eax, ecx
mov dword [esp + 0xc8], ebx
lea ecx, [esp + 0x58]
jne 0x4b38a5
call fcn.00507a00
xor eax, eax
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00507a00
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
mov eax, 2
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10