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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x28]
mov ecx, dword [ebx + 0x14]
push edi
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x5c], eax
je 0x554eba
fld dword [0x66cb3c]
fld dword [ecx]
fucompp
fnstsw ax
test ah, 0x44
jp 0x554e33
mov eax, dword [ecx + 4]
mov edx, 0x3f800000
cmp eax, edx
jne 0x554e33
fld dword [0x66cb3c]
fld dword [ecx + 8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x554e33
cmp dword [ecx + 0xc], edx
jne 0x554e33
fld dword [0x66cb3c]
fld dword [ecx + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jp 0x554e33
cmp dword [ecx + 0x14], edx
jne 0x554e33
fld dword [0x66cb3c]
fld dword [ecx + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x554e33
cmp dword [ecx + 0x1c], edx
jne 0x554e33
mov dword [esp + 0x14], edi
jmp 0x554eba
mov edx, dword [ecx]
fld dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], edx
fsub dword [esp + 0x38]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x18]
fstp dword [esp + 0x48]
mov dword [esp + 0x34], edx
fld dword [esp + 0x38]
mov dword [esp + 0x3c], eax
fmul dword [0x66cb38]
mov dword [esp + 0x14], 1
fstp dword [esp + 0x38]
fld dword [ecx + 0xc]
fsub dword [esp + 0x30]
fstp dword [esp + 0x50]
fld dword [esp + 0x30]
fmul dword [0x66cb38]
fstp dword [esp + 0x30]
fld dword [ecx + 0x14]
fsub dword [esp + 0x34]
fstp dword [esp + 0x44]
fld dword [esp + 0x34]
fmul dword [0x66cb38]
fstp dword [esp + 0x34]
fld dword [ecx + 0x1c]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x3c]
fmul dword [0x66cb38]
fstp dword [esp + 0x3c]
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x44]
mov ecx, 0x70
mov esi, ebx
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov cx, word [eax + 0xc]
mov word [esp + 0x78], cx
test byte [ebx + 0x30], 1
mov dword [esp + 0xc], eax
je 0x554eed
mov dword [esp + 0x54], 1
jmp 0x554ef4
mov eax, dword [eax + 0xc]
mov dword [esp + 0x54], eax
push edx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x6c]
push eax
push ebx
push ecx
call fcn.004f6b60
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x20], 1
mov edx, dword [esp + 0x28]
mov dword [edi + 0x24], edx
mov eax, dword [ebx + 0x30]
and eax, 1
mov dword [edi + 0x28], eax
mov eax, dword [ecx + 0x24]
add esp, 0x18
test eax, eax
je 0x554f3c
mov eax, dword [eax + 0x18]
jmp 0x554f3e
xor eax, eax
mov dword [edi + 0x2c], eax
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x554f4d
mov eax, dword [eax + 0x1c]
jmp 0x554f4f
xor eax, eax
mov dword [edi + 0x30], eax
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x34], ecx
mov edx, dword [ebx + 0x30]
mov eax, dword [esp + 0x24]
and dl, 1
neg dl
sbb edx, edx
not edx
and edx, eax
mov dword [edi + 0x38], edx
mov eax, dword [ebx + 0x30]
mov esi, dword [esp + 0x28]
and al, 1
neg al
sbb eax, eax
not eax
and eax, esi
mov dword [edi + 0x3c], eax
mov ecx, dword [ebx + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
and cl, 1
neg cl
sbb ecx, ecx
not ecx
and ecx, edx
test eax, eax
mov dword [edi + 0x40], ecx
je 0x555250
test byte [ebx + 0x30], 1
mov eax, dword [esp + 0x10]
je 0x5550e9
test eax, eax
je 0x55524c
mov esi, dword [esp + 0x20]
lea ecx, [ecx]
dec dword [esp + 0x10]
movzx edx, byte [esi]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fmul dword [esp + 0x48]
fadd dword [esp + 0x38]
fadd dword [0x66d5e0]
call fcn.00667ad0
test eax, eax
jge 0x554ff2
xor eax, eax
jmp 0x554ffe
cmp eax, 0xff
jle 0x554ffe
mov eax, 0xff
mov byte [esi], al
mov esi, dword [esp + 0x20]
inc esi
mov dword [esp + 0x20], esi
movzx eax, byte [esi]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fmul dword [esp + 0x50]
fadd dword [esp + 0x30]
fadd dword [0x66d5e0]
call fcn.00667ad0
test eax, eax
jge 0x555037
xor eax, eax
jmp 0x555043
cmp eax, 0xff
jle 0x555043
mov eax, 0xff
mov byte [esi], al
mov esi, dword [esp + 0x20]
inc esi
mov dword [esp + 0x20], esi
movzx ecx, byte [esi]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fmul dword [esp + 0x44]
fadd dword [esp + 0x34]
fadd dword [0x66d5e0]
call fcn.00667ad0
test eax, eax
jge 0x55507c
xor eax, eax
jmp 0x555088
cmp eax, 0xff
jle 0x555088
mov eax, 0xff
mov byte [esi], al
mov esi, dword [esp + 0x20]
inc esi
mov dword [esp + 0x20], esi
movzx edx, byte [esi]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fmul dword [esp + 0x4c]
fadd dword [esp + 0x3c]
fadd dword [0x66d5e0]
call fcn.00667ad0
test eax, eax
jge 0x5550c1
xor eax, eax
jmp 0x5550cd
cmp eax, 0xff
jle 0x5550cd
mov eax, 0xff
mov byte [esi], al
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc esi
test eax, eax
mov dword [esp + 0x20], esi
jne 0x554fc0
jmp 0x55524c
test eax, eax
je 0x55524c
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
dec eax
mov dword [esp + 0x10], eax
movzx eax, byte [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
inc esi
fild dword [esp + 0x1c]
inc eax
mov dword [esp + 0x20], esi
movzx ecx, byte [eax - 1]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
movzx edx, byte [eax]
fadd dword [esp + 0x38]
inc eax
fadd dword [0x66d5e0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
movzx ecx, byte [eax]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], eax
call fcn.00667ad0
mov ebx, eax
xor edi, edi
cmp ebx, edi
jge 0x555166
xor ebx, ebx
jmp 0x555173
cmp ebx, 0xff
jle 0x555173
mov ebx, 0xff
fild dword [esp + 0x18]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [esp + 0x50]
fadd dword [esp + 0x30]
fadd dword [0x66d5e0]
call fcn.00667ad0
cmp eax, edi
mov dword [esp + 0x18], eax
jge 0x5551a0
mov dword [esp + 0x18], edi
jmp 0x5551af
cmp eax, 0xff
jle 0x5551af
mov dword [esp + 0x18], 0xff
fild dword [esp + 0x14]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [esp + 0x44]
fadd dword [esp + 0x34]
fadd dword [0x66d5e0]
call fcn.00667ad0
cmp eax, edi
mov dword [esp + 0x14], eax
jge 0x5551dc
mov dword [esp + 0x14], edi
jmp 0x5551eb
cmp eax, 0xff
jle 0x5551eb
mov dword [esp + 0x14], 0xff
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fmul dword [esp + 0x4c]
fadd dword [esp + 0x3c]
fadd dword [0x66d5e0]
call fcn.00667ad0
cmp eax, edi
jge 0x555212
xor eax, eax
jmp 0x55521e
cmp eax, 0xff
jle 0x55521e
mov eax, 0xff
mov cl, byte [esp + 0x18]
mov byte [esi], bl
mov edx, dword [esp + 0x24]
mov byte [edx], cl
mov edx, dword [esp + 0x28]
mov cl, byte [esp + 0x14]
mov byte [edx], cl
mov edx, dword [esp + 0x2c]
mov byte [edx], al
cmp dword [esp + 0x10], edi
jne 0x5550f1
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0xc]
dec dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
push eax
lea eax, [edi + 0x20]
push edi
push eax
call dword [edi + 0x10]
mov ecx, 0x70
lea esi, [esp + 0x6c]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x60]
xor edx, edx
add esp, 0xc
xor eax, eax
cmp ecx, edx
jle 0x555290
lea esp, [esp]
mov esi, dword [ebx + 4]
mov esi, dword [esi + eax*4]
mov edi, dword [ebx]
mov dword [edi + eax*4], esi
inc eax
cmp eax, ecx
jl 0x555280
pop edi
pop esi
mov dword [ebx + 0x14], edx
pop ebx
mov esp, ebp
pop ebp
ret