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

Disassembly:
push 0xffffffffffffffff
push 0x5fc623
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x58]
push edi
mov ecx, dword [esi + 4]
push eax
mov dword [esp + 0x70], esi
call fcn.004d50d0
mov ebx, dword [eax]
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esi + 4]
mov edi, dword [eax + 4]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], edi
call fcn.004d5140
mov edx, dword [eax]
mov ecx, dword [esi + 4]
push edi
push ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
call fcn.004c3dc0
xor edi, edi
cmp eax, edi
jne 0x5a9086
mov eax, 1
jmp 0x5a9a1f
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.0054e800
push 0x20
lea ecx, [esp + 0x14]
mov dword [esp + 0xd4], edi
call fcn.005c4322
mov edx, dword [esp + 0x10]
mov eax, dword [0x1b29e58]
mov ebx, dword [edx - 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
xor ecx, ecx
xor esi, esi
test ebx, ebx
mov byte [esp + 0xd0], 6
mov ebp, 1
mov dword [esp + 0x20], ecx
jle 0x5a928b
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
mov al, byte [edi + eax]
cmp al, 0x30
jl 0x5a90ff
cmp al, 0x39
jg 0x5a90ff
mov eax, 1
jmp 0x5a9101
xor eax, eax
cmp eax, ebp
je 0x5a9279
cmp ecx, 4
ja case.default.0x5a9112
jmp dword [ecx*4 + 0x5a9a3c]
push edi
lea ecx, [esp + 0x1c]
push 0
push ecx
lea ecx, [esp + 0x1c]
call fcn.005bfcad
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xd4], 7
call fcn.005c4058
mov byte [esp + 0xd0], 6
lea ecx, [esp + 0x18]
jmp 0x5a91e7
mov eax, edi
lea ecx, [esp + 0x1c]
sub eax, esi
push eax
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.005bfcad
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xd4], 8
call fcn.005c4058
mov byte [esp + 0xd0], 6
lea ecx, [esp + 0x1c]
jmp 0x5a91e7
mov eax, edi
lea ecx, [esp + 0x48]
sub eax, esi
push eax
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.005bfcad
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xd4], 9
call fcn.005c4058
mov byte [esp + 0xd0], 6
lea ecx, [esp + 0x48]
jmp 0x5a91e7
mov eax, edi
lea ecx, [esp + 0x40]
sub eax, esi
push eax
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.005bfcad
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd4], 0xa
call fcn.005c4058
mov byte [esp + 0xd0], 6
lea ecx, [esp + 0x40]
call fcn.005c3f1f
xor edx, edx
mov esi, edi
test ebp, ebp
sete dl
mov ebp, edx
jmp case.default.0x5a9112
mov eax, edi
lea ecx, [esp + 0x44]
sub eax, esi
push eax
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.005bfcad
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 0xb
call fcn.005c4058
lea ecx, [esp + 0x44]
mov byte [esp + 0xd0], 6
call fcn.005c3f1f
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
push edx
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.005bfcad
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], 0xc
call fcn.005c4058
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd0], 6
call fcn.005c3f1f
lea ecx, [esp + 0x24]
call fcn.005c023b
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x14]
inc edi
dec edx
cmp edi, ebx
mov dword [esp + 0x14], edx
jl 0x5a90e9
lea ecx, [esp + 0x70]
lea edx, [esp + 0x30]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
call fcn.005c3c94
call fcn.0053cb30
add esp, 8
test ax, ax
je 0x5a99a3
fld qword [esp + 0x70]
fcomp qword [0x1ad9f58]
fnstsw ax
test ah, 1
jne 0x5a99a3
fld qword [esp + 0x70]
fcomp qword [0x1ad9f50]
fnstsw ax
test ah, 0x41
je 0x5a99a3
lea eax, [esp + 0x80]
lea edx, [esp + 0x3c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
call fcn.005c3c94
call fcn.0053cb30
add esp, 8
test ax, ax
je 0x5a99a3
fld qword [esp + 0x80]
fcomp qword [0x1acfb70]
fnstsw ax
test ah, 1
jne 0x5a99a3
fld qword [esp + 0x80]
fcomp qword [0x1ad2698]
fnstsw ax
test ah, 0x41
je 0x5a99a3
lea eax, [esp + 0x78]
lea edx, [esp + 0x38]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
call fcn.005c3c94
call fcn.0053cb30
add esp, 8
test ax, ax
je 0x5a99a3
fld qword [esp + 0x78]
fcomp qword [0x1acfb70]
fnstsw ax
test ah, 1
jne 0x5a99a3
fld qword [esp + 0x78]
fcomp qword [0x1ad9f48]
fnstsw ax
test ah, 0x41
je 0x5a99a3
fld qword [esp + 0x70]
call fcn.004ac474
fld qword [esp + 0x80]
mov dword [esp + 0x1c], eax
call fcn.004ac474
fld qword [esp + 0x78]
mov edi, eax
mov dword [esp + 0x18], edi
call fcn.004ac474
push 0xa
lea ecx, [esp + 0xb0]
mov esi, eax
call fcn.005c2d22
mov ebp, 0x1aca298
mov dword [esp + 0xac], ebp
push 0xa
lea ecx, [esp + 0x94]
mov byte [esp + 0xd4], 0xd
call fcn.005c2d22
mov dword [esp + 0x90], ebp
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0xd8]
cmp ecx, eax
mov byte [esp + 0xd0], 0xe
jne 0x5a9694
mov ecx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
mov dword [esp + 0x20], eax
jg 0x5a98db
jmp 0x5a9463
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x68]
mov ecx, dword [edx + 4]
push eax
call fcn.004c3dc0
mov ebp, eax
test ebp, ebp
je 0x5a967a
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x80]
test eax, eax
mov dword [esp + 0x14], eax
je 0x5a98db
push ebp
lea ecx, [esp + 0x94]
call fcn.005c2dd4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xac]
push eax
call fcn.005c2dd4
mov ecx, dword [esp + 0x1c]
inc esi
push edi
push ecx
mov dword [esp + 0x1c], esi
call fcn.005435b0
add esp, 8
cmp esi, eax
jle 0x5a94ed
mov eax, 1
cmp edi, 0xc
mov dword [esp + 0x14], eax
jne 0x5a94e8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
jmp 0x5a94ed
inc edi
mov dword [esp + 0x18], edi
fild dword [esp + 0x14]
push 0
lea edx, [esp + 0x38]
sub esp, 8
fstp qword [esp]
push edx
call fcn.0053f230
add esp, 0x10
mov esi, eax
fild dword [esp + 0x18]
push 0
lea eax, [esp + 0x54]
sub esp, 8
mov byte [esp + 0xdc], 0xf
fstp qword [esp]
push eax
call fcn.0053f230
add esp, 0x10
mov edi, eax
fild dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x5c]
sub esp, 8
mov byte [esp + 0xdc], 0x10
fstp qword [esp]
push ecx
call fcn.0053f230
add esp, 0x10
lea edx, [esp + 0x2c]
mov byte [esp + 0xd0], 0x11
push edx
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.005c414e
push edi
lea ecx, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0xdc], 0x12
call fcn.005c414e
lea edx, [esp + 0x28]
mov byte [esp + 0xd0], 0x13
push edx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.005c414e
push esi
lea ecx, [esp + 0x48]
push eax
push ecx
mov byte [esp + 0xdc], 0x14
call fcn.005c414e
lea edx, [esp + 0x24]
mov byte [esp + 0xd0], 0x15
push edx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.005c414e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xd4], 0x16
call fcn.005c4058
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd0], 0x15
call fcn.005c3f1f
lea ecx, [esp + 0x44]
mov byte [esp + 0xd0], 0x14
call fcn.005c3f1f
mov byte [esp + 0xd0], 0x13
lea ecx, [esp + 0x40]
call fcn.005c3f1f
lea ecx, [esp + 0x48]
mov byte [esp + 0xd0], 0x12
call fcn.005c3f1f
lea ecx, [esp + 0x54]
mov byte [esp + 0xd0], 0x11
call fcn.005c3f1f
lea ecx, [esp + 0x58]
mov byte [esp + 0xd0], 0x10
call fcn.005c3f1f
lea ecx, [esp + 0x50]
mov byte [esp + 0xd0], 0xf
call fcn.005c3f1f
lea ecx, [esp + 0x34]
mov byte [esp + 0xd0], 0xe
call fcn.005c3f1f
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x8c], esp
push edx
call fcn.005c3c94
push ebx
mov ecx, ebp
call fcn.004bea80
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x5a945f
jmp 0x5a98db
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jg 0x5a98db
jmp 0x5a96af
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push edx
push eax
mov ecx, dword [ecx + 4]
call fcn.004c3dc0
mov ebp, eax
test ebp, ebp
je 0x5a98c6
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x80]
test eax, eax
mov dword [esp + 0x14], eax
je 0x5a98db
push ebp
lea ecx, [esp + 0x94]
call fcn.005c2dd4
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0xb0]
call fcn.005c2dd4
mov edx, dword [esp + 0x1c]
inc esi
push edi
push edx
mov dword [esp + 0x1c], esi
call fcn.005435b0
add esp, 8
cmp esi, eax
jle 0x5a9739
mov eax, 1
cmp edi, 0xc
mov dword [esp + 0x14], eax
jne 0x5a9734
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
jmp 0x5a9739
inc edi
mov dword [esp + 0x18], edi
fild dword [esp + 0x14]
push 0
lea eax, [esp + 0x4c]
sub esp, 8
fstp qword [esp]
push eax
call fcn.0053f230
add esp, 0x10
mov esi, eax
fild dword [esp + 0x18]
push 0
lea ecx, [esp + 0x44]
sub esp, 8
mov byte [esp + 0xdc], 0x17
fstp qword [esp]
push ecx
call fcn.0053f230
add esp, 0x10
mov edi, eax
fild dword [esp + 0x1c]
push 0
lea edx, [esp + 0x48]
sub esp, 8
mov byte [esp + 0xdc], 0x18
fstp qword [esp]
push edx
call fcn.0053f230
add esp, 0x10
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x4c]
push ecx
push eax
push edx
mov byte [esp + 0xdc], 0x19
call fcn.005c414e
push edi
push eax
lea eax, [esp + 0x5c]
mov byte [esp + 0xd8], 0x1a
push eax
call fcn.005c414e
lea ecx, [esp + 0x28]
lea edx, [esp + 0x58]
push ecx
push eax
push edx
mov byte [esp + 0xdc], 0x1b
call fcn.005c414e
push esi
push eax
lea eax, [esp + 0x58]
mov byte [esp + 0xd8], 0x1c
push eax
call fcn.005c414e
lea ecx, [esp + 0x24]
lea edx, [esp + 0x34]
push ecx
push eax
push edx
mov byte [esp + 0xdc], 0x1d
call fcn.005c414e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xd4], 0x1e
call fcn.005c4058
lea ecx, [esp + 0x34]
mov byte [esp + 0xd0], 0x1d
call fcn.005c3f1f
lea ecx, [esp + 0x50]
mov byte [esp + 0xd0], 0x1c
call fcn.005c3f1f
mov byte [esp + 0xd0], 0x1b
lea ecx, [esp + 0x58]
call fcn.005c3f1f
lea ecx, [esp + 0x54]
mov byte [esp + 0xd0], 0x1a
call fcn.005c3f1f
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd0], 0x19
call fcn.005c3f1f
lea ecx, [esp + 0x44]
mov byte [esp + 0xd0], 0x18
call fcn.005c3f1f
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], 0x17
call fcn.005c3f1f
lea ecx, [esp + 0x48]
mov byte [esp + 0xd0], 0xe
call fcn.005c3f1f
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x8c], esp
push eax
call fcn.005c3c94
push ebx
mov ecx, ebp
call fcn.004bea80
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x5a96ab
lea ecx, [esp + 0xac]
push 1
lea edx, [esp + 0x94]
push ecx
push edx
push 2
lea ecx, [ebx + 0xb8]
call fcn.00522410
lea ecx, [esp + 0x90]
mov byte [esp + 0xd0], 0xd
call fcn.005c2d81
lea ecx, [esp + 0xac]
mov byte [esp + 0xd0], 6
call fcn.005c2d81
lea ecx, [esp + 0x24]
mov byte [esp + 0xd0], 5
call fcn.005c3f1f
lea ecx, [esp + 0x28]
mov byte [esp + 0xd0], 4
call fcn.005c3f1f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd0], 3
call fcn.005c3f1f
lea ecx, [esp + 0x38]
mov byte [esp + 0xd0], 2
call fcn.005c3f1f
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd0], 1
call fcn.005c3f1f
lea ecx, [esp + 0x30]
mov byte [esp + 0xd0], 0
call fcn.005c3f1f
lea ecx, [esp + 0x10]
mov dword [esp + 0xd0], 0xffffffff
call fcn.005c3f1f
mov eax, 1
jmp 0x5a9a1f
lea ecx, [esp + 0x24]
mov byte [esp + 0xd0], 5
call fcn.005c3f1f
lea ecx, [esp + 0x28]
mov byte [esp + 0xd0], 4
call fcn.005c3f1f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd0], 3
call fcn.005c3f1f
lea ecx, [esp + 0x38]
mov byte [esp + 0xd0], 2
call fcn.005c3f1f
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd0], 1
call fcn.005c3f1f
lea ecx, [esp + 0x30]
mov byte [esp + 0xd0], 0
call fcn.005c3f1f
lea ecx, [esp + 0x10]
mov dword [esp + 0xd0], 0xffffffff
call fcn.005c3f1f
xor eax, eax
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc4
ret 4