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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x609572
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x378], eax
push ebx
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x390]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], ebx
call fcn.004935e0
mov dword [esp + 0x20], eax
mov byte [eax + 0x25], 1
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
mov dword [eax], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 8], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x398], ebx
cmp dword [esi + 0x18], ebx
je 0x4910aa
add esi, 4
push 4
mov dword [esp + 0x30], esi
call fcn.005e694e
add esp, 4
cmp eax, ebx
je 0x490970
mov edi, eax
mov dword [eax], 0xffffffff
mov dword [esp + 0x28], edi
jmp 0x490976
mov dword [esp + 0x28], ebx
mov edi, ebx
mov dword [esp + 0x58], edi
mov byte [esp + 0x398], 1
lea ecx, [esp + 0xf4]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
call dword [0x61049c]
push 0x62448c
lea ecx, [esp + 0x98]
mov byte [esp + 0x39c], 2
call dword [0x610498]
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x40]
push esi
push eax
mov byte [esp + 0x3a4], 3
call fcn.004c9450
add esp, 0xc
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x39c], 4
call fcn.0051fd30
test al, al
lea ecx, [esp + 0x3c]
sete bl
mov byte [esp + 0x398], 3
call dword [0x6105a0]
lea ecx, [esp + 0x94]
mov byte [esp + 0x398], 2
call dword [0x6105a0]
test bl, bl
je 0x490a80
lea ecx, [esp + 0xf4]
mov byte [esp + 0x398], 1
call dword [0x6105a0]
test edi, edi
je 0x490a62
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x490a59
push eax
call dword [0x6102ac]
test eax, eax
je 0x490a59
mov dword [edi], 0xffffffff
push edi
call fcn.005e6954
add esp, 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x398], 0xffffffff
call fcn.00491110
jmp 0x4910de
mov ecx, dword [esp + 0xec]
mov eax, ecx
and eax, 0x10
xor edx, edx
or eax, edx
je 0x490ae7
cmp dword [esp + 0x108], edx
je 0x490ae7
push edx
lea ecx, [esp + 0xf8]
call dword [0x610484]
cmp word [eax], 0x2e
jne 0x490ae0
cmp dword [esp + 0x108], 1
je 0x490d66
push 1
lea ecx, [esp + 0xf8]
call dword [0x610484]
cmp word [eax], 0x2e
jne 0x490ae0
cmp dword [esp + 0x108], 2
je 0x490d66
mov ecx, dword [esp + 0xec]
and ecx, 0x10
mov eax, ecx
xor ecx, ecx
or eax, ecx
jne 0x490d66
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0x7c]
push esi
push edx
call fcn.004c9450
sub esp, 0x10
mov byte [esp + 0x3b4], 5
mov ecx, esp
mov dword [esp + 0x54], esp
push esi
call dword [0x610494]
sub esp, 0x1c
mov byte [esp + 0x3d0], 6
lea eax, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call dword [0x610494]
mov byte [esp + 0x3d0], 5
call fcn.0048ff20
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x490b6d
lea ecx, [esp + 0x78]
mov byte [esp + 0x398], 2
call dword [0x6105a0]
jmp 0x490d66
lea edi, [esp + 0x78]
lea esi, [esp + 0x5c]
call fcn.004d84f0
push 0x624dac
lea ecx, [esp + 0x40]
mov byte [esp + 0x39c], 7
call dword [0x610498]
mov byte [esp + 0x398], 8
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
or ebx, 1
mov edi, 8
cmp dword [esp + 0x74], edi
mov dword [esp + 0x14], ebx
jae 0x490bb7
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x11c]
call dword [0x610498]
mov dword [esp + 0x398], 9
or ebx, 2
lea eax, [esp + 0x3c]
lea esi, [esp + 0x118]
mov dword [esp + 0x14], ebx
call fcn.004ce200
test eax, eax
je 0x490c4d
push str..gml
lea ecx, [esp + 0xb4]
call dword [0x610498]
mov dword [esp + 0x398], 0xa
mov eax, dword [esp + 0x60]
or ebx, 4
cmp dword [esp + 0x74], edi
mov dword [esp + 0x14], ebx
jae 0x490c1d
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x98]
call dword [0x610498]
or ebx, edi
lea eax, [esp + 0xb0]
lea esi, [esp + 0x94]
mov dword [esp + 0x14], ebx
call fcn.004ce200
test eax, eax
mov byte [esp + 0x13], 1
jne 0x490c52
mov byte [esp + 0x13], 0
test bl, 8
je 0x490c6b
and ebx, 0xfffffff7
lea ecx, [esp + 0x94]
mov dword [esp + 0x14], ebx
call dword [0x6105a0]
test bl, 4
mov dword [esp + 0x398], 9
je 0x490c8f
and ebx, 0xfffffffb
lea ecx, [esp + 0xb0]
mov dword [esp + 0x14], ebx
call dword [0x6105a0]
test bl, 2
mov dword [esp + 0x398], edi
je 0x490caf
and ebx, 0xfffffffd
lea ecx, [esp + 0x118]
mov dword [esp + 0x14], ebx
call dword [0x6105a0]
test bl, 1
mov dword [esp + 0x398], 7
je 0x490cd0
and ebx, 0xfffffffe
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call dword [0x6105a0]
cmp byte [esp + 0x13], 0
jne 0x490d3e
lea ecx, [esp + 0xf4]
push ecx
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
call fcn.00492100
mov esi, eax
add esp, 4
add esi, 4
call fcn.0040e600
push str..gml
lea ecx, [esp + 0x40]
call dword [0x610498]
lea eax, [esp + 0x3c]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x3c]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x490d3e
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00492100
mov dword [eax], 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x398], 5
call dword [0x6105a0]
lea ecx, [esp + 0x78]
mov byte [esp + 0x398], 2
call dword [0x6105a0]
mov edi, dword [esp + 0x28]
mov edx, dword [edi]
lea ecx, [esp + 0x134]
push ecx
push edx
call dword [0x6102b0]
test eax, eax
setne al
test al, al
je 0x490da0
lea esi, [esp + 0xcc]
lea ecx, [esp + 0x134]
call fcn.0051fe10
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
jmp 0x490a80
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x490db8
push eax
call dword [0x6102ac]
test eax, eax
je 0x490db8
mov dword [edi], 0xffffffff
mov eax, dword [esp + 0x20]
mov ebx, dword [eax]
lea edi, [esp + 0x1c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edi
lea ebx, [ebx]
test edi, edi
mov esi, dword [esp + 0x20]
je 0x490de0
lea ecx, [esp + 0x1c]
cmp edi, ecx
je 0x490de6
call dword [0x6105e8]
cmp ebx, esi
je 0x491070
test edi, edi
mov esi, dword [0x6105e8]
jne 0x490dfa
call esi
cmp ebx, dword [edi + 4]
jne 0x490e08
call esi
cmp ebx, dword [edi + 4]
jne 0x490e08
call esi
cmp dword [ebx + 0x10], 0
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x38], edi
jne 0x49105a
lea ecx, [esp + 0x78]
call dword [0x61049c]
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x398], 0xb
cmp dword [esi + 0x18], 8
jb 0x490e3a
mov eax, dword [esi + 4]
jmp 0x490e3d
lea eax, [esi + 4]
push edi
push eax
lea edx, [esp + 0x80]
push str._s_05d
push edx
call fcn.004ce830
lea eax, [esp + 0x88]
push eax
call fcn.004d78f0
add esp, 0x14
test al, al
jne 0x490e76
lea edi, [esp + 0x78]
call fcn.004d83b0
test al, al
je 0x491048
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x491048
mov ecx, dword [ebx + 0x1c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x491048
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x490ece
mov ecx, dword [ebx + 0x1c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x490ed4
call dword [0x6105e8]
mov eax, dword [ebx + 0x18]
add eax, dword [esp + 0x14]
lea ecx, [esp + 0x94]
push eax
call dword [0x610494]
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0xb4]
push esi
push edx
mov byte [esp + 0x3a4], 0xc
call fcn.004c9450
add esp, 0xc
lea edi, [esp + 0x94]
lea esi, [esp + 0x118]
mov byte [esp + 0x398], 0xd
call fcn.004d84f0
mov eax, edi
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x3a4], 0xe
call fcn.004c9450
add esp, 0xc
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x39c], 0xf
call fcn.004d78f0
add esp, 4
test al, al
jne 0x490fe0
mov ecx, dword [esp + 0x60]
mov eax, 8
cmp dword [esp + 0x74], eax
jae 0x490f72
lea ecx, [esp + 0x60]
cmp dword [esp + 0xc8], eax
mov eax, dword [esp + 0xb4]
jae 0x490f89
lea eax, [esp + 0xb4]
push ecx
push eax
call dword [0x6101b4]
test eax, eax
je 0x490fe0
push 0x624dac
lea ecx, [esp + 0x40]
call dword [0x610498]
lea eax, [esp + 0x3c]
lea esi, [esp + 0x118]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x3c]
sete byte [esp + 0x13]
call dword [0x6105a0]
cmp byte [esp + 0x13], 0
je 0x490fe0
call fcn.00404630
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x5c]
push ecx
push edx
call fcn.0048cf40
lea ecx, [esp + 0x5c]
mov byte [esp + 0x398], 0xe
call dword [0x6105a0]
lea ecx, [esp + 0x118]
mov byte [esp + 0x398], 0xd
call dword [0x6105a0]
lea ecx, [esp + 0xb0]
mov byte [esp + 0x398], 0xc
call dword [0x6105a0]
lea ecx, [esp + 0x94]
mov byte [esp + 0x398], 0xb
call dword [0x6105a0]
add dword [esp + 0x18], 1
add dword [esp + 0x14], 0x1c
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
jmp 0x490e80
lea ecx, [esp + 0x78]
mov byte [esp + 0x398], 2
call dword [0x6105a0]
lea esi, [esp + 0x30]
call fcn.004936d0
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
jmp 0x490dd0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x398], 1
call dword [0x6105a0]
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4910a1
push eax
call dword [0x6102ac]
test eax, eax
je 0x4910a1
mov dword [esi], 0xffffffff
push esi
call fcn.005e6954
add esp, 4
mov dword [esp + 0x398], 0xffffffff
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x40]
push eax
mov edi, ecx
call fcn.00492dd0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005e6954
add esp, 4
mov ecx, dword [esp + 0x390]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x378]
xor ecx, esp
call fcn.005e693f
mov esp, ebp
pop ebp
ret