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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x78]
mov ebp, dword [edi]
mov ebx, dword [ebp]
cmp dword [ebx + 0xb0], 0
lea eax, [ebx + 0xac]
mov byte [esi], 0
mov dword [esp + 0x20], eax
jne 0x51b95e
xor cl, cl
jmp 0x51b967
mov eax, dword [eax]
cmp dword [eax + 0xc], 0
setne cl
cmp dword [ebx + 0xe8], 0
lea eax, [ebx + 0xe4]
mov byte [esi], cl
mov dword [esp + 0x1c], eax
jne 0x51b980
xor al, al
jmp 0x51b989
mov edx, dword [eax]
cmp dword [edx + 0xc], 0
setne al
fild dword [ebp + 0x3c]
or cl, al
mov byte [esi], cl
fstp dword [esp + 0x7c]
fld1
fcom dword [esp + 0x7c]
fnstsw ax
test ah, 0x44
jnp 0x51b9a8
mov eax, 1
jmp 0x51b9aa
xor eax, eax
or al, cl
cmp dword [ebx + 0xb8], 0
mov byte [esi], al
mov byte [esi + 1], 0
jne 0x51b9bf
xor cl, cl
jmp 0x51b9cc
mov eax, dword [ebx + 0xb4]
cmp dword [eax + 0xc], 0
setne cl
cmp dword [ebx + 0xf0], 0
mov byte [esi + 1], cl
jne 0x51b9dc
xor al, al
jmp 0x51b9e9
mov edx, dword [ebx + 0xec]
cmp dword [edx + 0xc], 0
setne al
fild dword [ebp + 0x40]
or cl, al
mov byte [esi + 1], cl
fstp dword [esp + 0x10]
fcom dword [esp + 0x10]
fnstsw ax
test ah, 0x44
jnp 0x51ba07
mov eax, 1
jmp 0x51ba09
xor eax, eax
or al, cl
cmp dword [ebx + 0xc0], 0
mov byte [esi + 1], al
mov byte [esi + 2], 0
jne 0x51ba1f
xor cl, cl
jmp 0x51ba2c
mov eax, dword [ebx + 0xbc]
cmp dword [eax + 0xc], 0
setne cl
cmp dword [ebx + 0xf8], 0
mov byte [esi + 2], cl
jne 0x51ba3c
xor al, al
jmp 0x51ba49
mov edx, dword [ebx + 0xf4]
cmp dword [edx + 0xc], 0
setne al
fild dword [ebp + 0x44]
or cl, al
mov byte [esi + 2], cl
fstp dword [esp + 0x14]
fcom dword [esp + 0x14]
fnstsw ax
test ah, 0x44
jnp 0x51ba67
mov eax, 1
jmp 0x51ba69
xor eax, eax
or al, cl
cmp dword [ebx + 0xc8], 0
mov byte [esi + 2], al
mov byte [esi + 3], 0
jne 0x51ba7f
xor cl, cl
jmp 0x51ba8c
mov eax, dword [ebx + 0xc4]
cmp dword [eax + 0xc], 0
setne cl
cmp dword [ebx + 0x100], 0
mov byte [esi + 3], cl
jne 0x51ba9c
xor al, al
jmp 0x51baa9
mov edx, dword [ebx + 0xfc]
cmp dword [edx + 0xc], 0
setne al
fild dword [ebp + 0x48]
or cl, al
mov byte [esi + 3], cl
fstp dword [esp + 0x18]
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x44
jnp 0x51bac7
mov eax, 1
jmp 0x51bac9
xor eax, eax
or al, cl
cmp dword [ebx + 0x120], 0
mov byte [esi + 3], al
lea eax, [ebx + 0x11c]
mov byte [esi + 4], 0
mov dword [esp + 0x40], eax
jne 0x51bae9
xor cl, cl
jmp 0x51baf2
mov eax, dword [eax]
cmp dword [eax + 0xc], 0
setne cl
fcomp dword [ebp + 0x50]
mov byte [esi + 4], cl
fnstsw ax
test ah, 0x44
jnp 0x51bb06
mov eax, 1
jmp 0x51bb08
xor eax, eax
or cl, al
cmp dword [ebx + 0x128], 0
lea eax, [ebx + 0x124]
mov byte [esi + 4], cl
mov dword [esp + 0x44], eax
jne 0x51bb24
xor al, al
jmp 0x51bb2d
mov ecx, dword [eax]
cmp dword [ecx + 0xc], 0
setne al
cmp dword [ebx + 0x118], 0
mov byte [esi + 5], al
mov byte [esi + 6], 0
jne 0x51bb41
xor cl, cl
jmp 0x51bb4e
mov edx, dword [ebx + 0x114]
cmp dword [edx + 0xc], 0
setne cl
cmp dword [ebx + 0x110], 0
mov byte [esi + 6], cl
jne 0x51bb5e
xor al, al
jmp 0x51bb6b
mov eax, dword [ebx + 0x10c]
cmp dword [eax + 0xc], 0
setne al
fild dword [ebx + 0xd8]
or cl, al
mov eax, dword [ebx + 0x14]
mov dl, al
fcomp dword [0x6885a0]
shr al, 1
and dl, 1
and al, 1
or cl, dl
or cl, al
fnstsw ax
mov byte [esi + 6], cl
test ah, 0x41
mov byte [esi + 7], 0
jne 0x51bb9e
mov eax, 1
jmp 0x51bba0
xor eax, eax
cmp dword [ebx + 0x58], 0
mov byte [esi + 7], al
jne 0x51bbad
xor cl, cl
jmp 0x51bbb7
mov ecx, dword [ebx + 0x54]
cmp dword [ecx + 0xc], 0
setne cl
or al, cl
cmp dword [ebx + 0x60], 0
mov byte [esi + 7], al
jne 0x51bbc6
xor cl, cl
jmp 0x51bbd0
mov edx, dword [ebx + 0x5c]
cmp dword [edx + 0xc], 0
setne cl
or al, cl
cmp dword [ebx + 0x68], 0
mov byte [esi + 7], al
jne 0x51bbdf
xor cl, cl
jmp 0x51bbe9
mov ecx, dword [ebx + 0x64]
cmp dword [ecx + 0xc], 0
setne cl
or al, cl
cmp dword [ebx + 0x70], 0
mov byte [esi + 7], al
jne 0x51bbf8
xor cl, cl
jmp 0x51bc02
mov edx, dword [ebx + 0x6c]
cmp dword [edx + 0xc], 0
setne cl
or al, cl
cmp dword [ebx + 0x78], 0
mov byte [esi + 7], al
jne 0x51bc11
xor cl, cl
jmp 0x51bc1b
mov ecx, dword [ebx + 0x74]
cmp dword [ecx + 0xc], 0
setne cl
fld dword [ebp + 0x7c]
sub esp, 8
or al, cl
fstp dword [esp + 4]
fld dword [ebp + 0x30]
mov byte [esi + 7], al
lea eax, [ebx + 0xb4]
fstp dword [esp]
call fcn.00446a10
fstp dword [esp + 0x34]
fld dword [ebp + 0x80]
lea eax, [ebx + 0xbc]
fstp dword [esp + 4]
fld dword [ebp + 0x30]
fstp dword [esp]
call fcn.00446a10
fstp dword [esp + 0x3c]
lea eax, [ebx + 0xc4]
fld dword [ebp + 0x84]
fstp dword [esp + 4]
fld dword [ebp + 0x30]
fstp dword [esp]
call fcn.00446a10
fstp dword [esp + 0x44]
lea eax, [ebx + 0xec]
fld dword [edi + 0x40]
fstp dword [esp + 4]
fld dword [edi + 0xc]
fstp dword [esp]
call fcn.00446a10
fstp dword [esp + 0x30]
lea eax, [ebx + 0xf4]
fld dword [edi + 0x44]
fstp dword [esp + 4]
fld dword [edi + 0xc]
fstp dword [esp]
call fcn.00446a10
fstp dword [esp + 0x38]
lea eax, [ebx + 0xfc]
fld dword [edi + 0x48]
fstp dword [esp + 4]
fld dword [edi + 0xc]
fstp dword [esp]
call fcn.00446a10
fstp dword [esp + 0x40]
lea eax, [ebx + 0xcc]
fld dword [ebp + 0x88]
fstp dword [esp + 4]
fld dword [ebp + 0x30]
fstp dword [esp]
call fcn.00446a10
fstp dword [esp + 0x80]
lea eax, [ebx + 0x104]
fld dword [edi + 0x4c]
fstp dword [esp + 4]
fld dword [edi + 0xc]
fstp dword [esp]
call fcn.00446a10
fmul dword [esp + 0x80]
mov eax, dword [esp + 0x24]
fstp dword [esp + 0x2c]
fld dword [edi + 0x3c]
fstp dword [esp + 4]
fld dword [edi + 0xc]
fstp dword [esp]
call fcn.00446a10
mov eax, dword [esp + 0x28]
fstp dword [esp + 0x80]
fld dword [ebp + 0x78]
fstp dword [esp + 4]
fld dword [ebp + 0x30]
fstp dword [esp]
call fcn.00446a10
fmul dword [esp + 0x80]
fmul dword [esp + 0x84]
fld dword [esp + 0x2c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esi + 8]
fld dword [esp + 0x30]
fmul dword [esp + 0x34]
mov eax, dword [esp + 0x48]
fmul dword [esp + 0x18]
fmul st(1)
fstp dword [esi + 0xc]
fld dword [esp + 0x38]
fmul dword [esp + 0x3c]
fmul dword [esp + 0x1c]
fmulp st(1)
fstp dword [esi + 0x10]
fld dword [esp + 0x40]
fmul dword [esp + 0x44]
fmul dword [esp + 0x20]
fstp dword [esi + 0x14]
fld dword [edi + 0x20]
fstp dword [esi + 0x24]
fld dword [edi + 0x24]
fstp dword [esi + 0x28]
fld dword [edi + 0x58]
fstp dword [esp + 4]
fld dword [edi + 0xc]
fstp dword [esp]
call fcn.00446a10
mov eax, dword [esp + 0x4c]
fstp dword [esi + 0x18]
fld dword [edi + 0x5c]
fstp dword [esp + 4]
fld dword [edi + 0xc]
fstp dword [esp]
call fcn.00446a10
mov edx, dword [ebp + 4]
fstp dword [esi + 0x1c]
fld dword [esi + 0x18]
mov eax, dword [edx + 8]
fmul dword [ebp + 0x50]
mov ecx, dword [edi + 0x34]
add esp, 8
add eax, 0x38
test ecx, ecx
fstp dword [esi + 0x18]
fld dword [edi + 0x2c]
fstp dword [esi + 0x20]
je 0x51c09c
movzx edx, cx
cmp edx, dword [eax + 8]
jae 0x51c09c
lea ebx, [edx + edx*4]
shl ebx, 5
add ebx, dword [eax]
cmp dword [ebx + 0x9c], ecx
jne 0x51c09c
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.0051b930
add esp, 8
test al, al
je 0x51c09c
mov ecx, dword [ebx + 0x38]
fild dword [edi + 8]
sub ecx, 1
mov dword [esp + 0x78], ecx
fidiv dword [esp + 0x78]
mov bl, byte [esp + 0x48]
test bl, bl
fstp dword [esp + 0x7c]
fld dword [esi + 8]
fstp dword [esp + 0x78]
fld dword [esp + 0x7c]
jne 0x51be5d
fld dword [esp + 0x78]
jmp 0x51be7a
cmp byte [esi], 0
jne 0x51be68
fld dword [esp + 0x50]
jmp 0x51be7a
fld dword [esp + 0x78]
fld dword [esp + 0x50]
fld st(0)
fsubp st(2)
fld st(2)
fmulp st(2)
faddp st(1)
cmp byte [esp + 0x49], 0
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fstp dword [esi + 8]
fld dword [esi + 0xc]
fstp dword [esp + 0x78]
jne 0x51be99
fld dword [esp + 0x78]
jmp 0x51beb7
cmp byte [esi + 1], 0
jne 0x51bea5
fld dword [esp + 0x54]
jmp 0x51beb7
fld dword [esp + 0x78]
fld dword [esp + 0x54]
fld st(0)
fsubp st(2)
fld st(2)
fmulp st(2)
faddp st(1)
cmp byte [esp + 0x4a], 0
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fstp dword [esi + 0xc]
fld dword [esi + 0x10]
fstp dword [esp + 0x78]
jne 0x51bed6
fld dword [esp + 0x78]
jmp 0x51bef4
cmp byte [esi + 2], 0
jne 0x51bee2
fld dword [esp + 0x58]
jmp 0x51bef4
fld dword [esp + 0x78]
fld dword [esp + 0x58]
fld st(0)
fsubp st(2)
fld st(2)
fmulp st(2)
faddp st(1)
cmp byte [esp + 0x4b], 0
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fstp dword [esi + 0x10]
fld dword [esi + 0x14]
fstp dword [esp + 0x78]
jne 0x51bf13
fld dword [esp + 0x78]
jmp 0x51bf31
cmp byte [esi + 3], 0
jne 0x51bf1f
fld dword [esp + 0x5c]
jmp 0x51bf31
fld dword [esp + 0x78]
fld dword [esp + 0x5c]
fld st(0)
fsubp st(2)
fld st(2)
fmulp st(2)
faddp st(1)
cmp byte [esp + 0x4c], 0
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fstp dword [esi + 0x14]
fld dword [esi + 0x18]
fstp dword [esp + 0x78]
jne 0x51bf50
fld dword [esp + 0x78]
jmp 0x51bf6e
cmp byte [esi + 4], 0
jne 0x51bf5c
fld dword [esp + 0x60]
jmp 0x51bf6e
fld dword [esp + 0x78]
fld dword [esp + 0x60]
fld st(0)
fsubp st(2)
fld st(2)
fmulp st(2)
faddp st(1)
mov dl, byte [esp + 0x4d]
fstp dword [esp + 0x78]
test dl, dl
fld dword [esp + 0x78]
fstp dword [esi + 0x18]
fld dword [esi + 0x1c]
fstp dword [esp + 0x78]
jne 0x51bf8e
fld dword [esp + 0x78]
jmp 0x51bfac
cmp byte [esi + 5], 0
jne 0x51bf9a
fld dword [esp + 0x64]
jmp 0x51bfac
fld dword [esp + 0x78]
fld dword [esp + 0x64]
fld st(0)
fsubp st(2)
fld st(2)
fmulp st(2)
faddp st(1)
mov cl, byte [esp + 0x4e]
fstp dword [esp + 0x78]
test cl, cl
fld dword [esp + 0x78]
fstp dword [esi + 0x1c]
fld dword [esi + 0x20]
fstp dword [esp + 0x78]
jne 0x51bfcc
fld dword [esp + 0x78]
jmp 0x51bfea
cmp byte [esi + 6], 0
jne 0x51bfd8
fld dword [esp + 0x68]
jmp 0x51bfea
fld dword [esp + 0x78]
fld dword [esp + 0x68]
fld st(0)
fsubp st(2)
fld st(2)
fmulp st(2)
faddp st(1)
mov al, byte [esp + 0x4f]
fstp dword [esp + 0x78]
test al, al
fld dword [esp + 0x78]
fstp dword [esi + 0x20]
fld dword [esi + 0x24]
fstp dword [esp + 0x78]
jne 0x51c00a
fld dword [esp + 0x78]
jmp 0x51c028
cmp byte [esi + 7], 0
jne 0x51c016
fld dword [esp + 0x6c]
jmp 0x51c028
fld dword [esp + 0x78]
fld dword [esp + 0x6c]
fld st(0)
fsubp st(2)
fld st(2)
fmulp st(2)
faddp st(1)
test al, al
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fstp dword [esi + 0x24]
fld dword [esi + 0x28]
fstp dword [esp + 0x78]
jne 0x51c046
fstp st(0)
fld dword [esp + 0x78]
jmp 0x51c066
cmp byte [esi + 7], 0
jne 0x51c054
fstp st(0)
fld dword [esp + 0x70]
jmp 0x51c066
fld dword [esp + 0x78]
fld dword [esp + 0x70]
fld st(0)
fsubp st(2)
fxch st(1)
fmulp st(2)
faddp st(1)
or byte [esi], bl
fstp dword [esp + 0x78]
movzx ebx, byte [esp + 0x49]
fld dword [esp + 0x78]
or byte [esi + 1], bl
fstp dword [esi + 0x28]
movzx ebx, byte [esp + 0x4a]
or byte [esi + 2], bl
movzx ebx, byte [esp + 0x4b]
or byte [esi + 3], bl
movzx ebx, byte [esp + 0x4c]
or byte [esi + 4], bl
or byte [esi + 5], dl
or byte [esi + 6], cl
or byte [esi + 7], al
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x64
ret