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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.0049d040
mov esi, dword [ebp + 0xc]
xor eax, eax
xor ecx, ecx
xor edx, edx
mov al, byte [esi + 0x1c]
mov cl, byte [esi + 0x1b]
mov dl, byte [esi + 0x1a]
push eax
push ecx
xor eax, eax
mov al, byte [esi + 0x19]
xor ecx, ecx
mov cl, byte [esi + 0x18]
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
push ebx
call fcn.0049d070
mov al, byte [esi + 8]
add esp, 0x24
test al, 1
je 0x498a7d
fld dword [esi + 0x28]
sub esp, 8
fstp qword [esp]
push ebx
call fcn.0049d4c0
add esp, 0xc
mov eax, dword [esi + 8]
test ah, 8
je 0x498a94
xor ecx, ecx
mov cl, byte [esi + 0x2c]
push ecx
push ebx
call fcn.0049d500
add esp, 8
test byte [esi + 8], 2
je 0x498aad
xor edx, edx
lea eax, [esi + 0x44]
mov dl, byte [esi + 0x19]
push edx
push eax
push ebx
call fcn.0049d540
add esp, 0xc
test byte [esi + 8], 4
je 0x498b1c
fld dword [esi + 0x9c]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x98]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x94]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x90]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x8c]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x88]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x84]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x80]
sub esp, 8
fstp qword [esp]
push ebx
call fcn.0049d600
add esp, 0x44
test byte [esi + 8], 8
je 0x498b38
mov edx, dword [esi + 0x10]
xor ecx, ecx
mov cx, word [esi + 0x14]
push ecx
push edx
push ebx
call fcn.0049d3c0
add esp, 0xc
jmp 0x498b4c
cmp byte [esi + 0x19], 3
jne 0x498b4c
push 0x5568e8
push ebx
call fcn.00499cc0
add esp, 8
test byte [esi + 8], 0x10
je 0x498ba2
test dword [ebx + 0x68], 0x80000
je 0x498b84
cmp byte [esi + 0x19], 3
jne 0x498b84
xor eax, eax
cmp word [esi + 0x16], ax
jbe 0x498b84
mov ecx, dword [esi + 0x4c]
or dl, 0xff
lea edi, [ecx + eax]
mov cl, byte [ecx + eax]
sub dl, cl
xor ecx, ecx
mov byte [edi], dl
mov cx, word [esi + 0x16]
inc eax
cmp eax, ecx
jl 0x498b69
xor edx, edx
xor eax, eax
mov dl, byte [esi + 0x19]
mov ax, word [esi + 0x16]
push edx
mov edx, dword [esi + 0x4c]
lea ecx, [esi + 0x50]
push eax
push ecx
push edx
push ebx
call fcn.0049d930
add esp, 0x14
test byte [esi + 8], 0x20
je 0x498bbb
xor eax, eax
lea ecx, [esi + 0x5a]
mov al, byte [esi + 0x19]
push eax
push ecx
push ebx
call fcn.0049da30
add esp, 0xc
test byte [esi + 8], 0x40
je 0x498bd5
mov eax, dword [esi + 0x7c]
xor edx, edx
mov dx, word [esi + 0x14]
push edx
push eax
push ebx
call fcn.0049db10
add esp, 0xc
mov eax, dword [esi + 8]
test ah, 1
je 0x498bf4
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x64]
xor ecx, ecx
mov cl, byte [esi + 0x6c]
push ecx
push edx
push eax
push ebx
call fcn.0049e1b0
add esp, 0x10
mov eax, dword [esi + 8]
test ah, 4
je 0x498c3a
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0xac]
push ecx
xor eax, eax
mov al, byte [esi + 0xb5]
xor ecx, ecx
mov cl, byte [esi + 0xb4]
push edx
mov edx, dword [esi + 0xa8]
push eax
mov eax, dword [esi + 0xa4]
push ecx
mov ecx, dword [esi + 0xa0]
push edx
push eax
push ecx
push ebx
call fcn.0049e210
add esp, 0x20
test byte [esi + 8], 0x80
je 0x498c57
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
xor edx, edx
mov dl, byte [esi + 0x78]
push edx
push eax
push ecx
push ebx
call fcn.0049e380
add esp, 0x10
mov eax, dword [esi + 8]
test ah, 2
je 0x498c77
lea edx, [esi + 0x3c]
push edx
push ebx
call fcn.0049e3e0
mov eax, dword [ebx + 0x64]
add esp, 8
or eax, 0x10000
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x30]
xor edi, edi
cmp eax, edi
mov dword [esp + 0xc], edi
jle 0x498ce8
mov eax, dword [esi + 0x38]
add eax, edi
mov ecx, dword [eax]
test ecx, ecx
jl 0x498cb1
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
push ecx
push edx
push eax
push ebx
call fcn.0049ddb0
mov ecx, dword [esi + 0x38]
add esp, 0x14
mov dword [edi + ecx], 0xfffffffe
jmp 0x498cd5
cmp ecx, 0xffffffff
jne 0x498cd5
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
push ebx
call fcn.0049dd10
mov eax, dword [esi + 0x38]
add esp, 0x10
mov dword [edi + eax], 0xfffffffd
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x30]
inc eax
add edi, 0x10
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x498c84
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret