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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x492108
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x516a90]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x519298]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
sub esp, 0xc
mov ecx, esp
fstp qword [esp + 4]
mov dword [esp + 0x4c], esp
push 0x4b7498
call fcn.005b9c70
mov ecx, edi
call fcn.005d5810
mov eax, dword [0x519298]
mov ecx, dword [eax + 0x1c]
xor ebp, ebp
cmp dword [ecx + 8], ebp
jle 0x5e068b
call 0x603e8c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x5e069f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
lea eax, [ebp + 1]
push eax
lea ecx, [esp + 0x2c]
push 0x4b7484
push ecx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x4c], eax
call fcn.005ba3a0
mov edx, dword [0x519298]
mov eax, dword [edx + 0x1c]
add esp, 0xc
test ebp, ebp
jl 0x5e06a9
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
lea esi, [ebp*4]
add eax, esi
mov eax, dword [eax]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x2c], ecx
sub esp, 0xc
mov edx, esp
fild dword [esp + 0x38]
mov dword [esp + 0x38], esp
lea eax, [esp + 0x34]
fstp qword [esp + 4]
push 0x4b7480
push eax
push edx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5810
mov ecx, dword [0x519298]
mov eax, dword [ecx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
movzx eax, byte [edx + 9]
mov dword [esp + 0x2c], eax
sub esp, 0xc
mov ecx, esp
fild dword [esp + 0x38]
mov dword [esp + 0x38], esp
lea edx, [esp + 0x34]
fstp qword [esp + 4]
push 0x4b747c
push edx
push ecx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5810
mov eax, dword [0x519298]
mov eax, dword [eax + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
movzx edx, byte [ecx + 0xa]
add eax, esi
mov dword [esp + 0x2c], edx
sub esp, 0xc
mov eax, esp
fild dword [esp + 0x38]
mov dword [esp + 0x38], esp
lea ecx, [esp + 0x34]
fstp qword [esp + 4]
push 0x4b7478
push ecx
push eax
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5810
mov edx, dword [0x519298]
mov eax, dword [edx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
movzx ecx, word [eax + 0x14]
mov dword [esp + 0x2c], ecx
sub esp, 0xc
mov edx, esp
fild dword [esp + 0x38]
mov dword [esp + 0x38], esp
lea eax, [esp + 0x34]
fstp qword [esp + 4]
push 0x4b746c
push eax
push edx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5810
mov ecx, dword [0x519298]
mov eax, dword [ecx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
fild dword [edx + 0x1c]
add eax, esi
mov eax, dword [edx + 0x1c]
test eax, eax
jge 0x5dfdf6
fadd qword [0x506f08]
sub esp, 0xc
mov ecx, esp
fstp qword [esp + 4]
mov dword [esp + 0x38], esp
push 0x4b7464
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5810
mov eax, dword [0x519298]
mov eax, dword [eax + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
call fcn.005c66b0
movzx ecx, ax
mov dword [esp + 0x2c], ecx
sub esp, 0xc
mov edx, esp
fild dword [esp + 0x38]
mov dword [esp + 0x38], esp
lea eax, [esp + 0x34]
fstp qword [esp + 4]
push 0x4b745c
push eax
push edx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5810
mov ecx, dword [0x519298]
mov eax, dword [ecx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
add eax, 0x30
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov ebx, esp
push eax
call fcn.005a08b0
lea edx, [esp + 0x38]
add esp, 4
add eax, 0x10
push edx
mov dword [ebx], eax
call fcn.005c2b50
add esp, 8
mov eax, dword [eax]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push 0x4b7454
lea ecx, [esp + 0x34]
push ecx
push eax
mov byte [esp + 0x94], 1
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d58a0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x80], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5dff04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x519298]
mov eax, dword [ecx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
movzx eax, byte [edx + 0x22]
mov dword [esp + 0x2c], eax
sub esp, 0xc
mov ecx, esp
fild dword [esp + 0x38]
mov dword [esp + 0x38], esp
lea edx, [esp + 0x34]
fstp qword [esp + 4]
push 0x4b7448
push edx
push ecx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5810
mov eax, dword [0x519298]
mov eax, dword [eax + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
add eax, 0x2c
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov ebx, esp
push eax
call fcn.005a08b0
lea ecx, [esp + 0x3c]
add esp, 4
add eax, 0x10
push ecx
mov dword [ebx], eax
call fcn.005c2b50
add esp, 8
mov eax, dword [eax]
push eax
push ecx
mov edx, esp
mov dword [esp + 0x34], esp
push 0x4b743c
lea eax, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x94], 2
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d58a0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x80], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5dffe7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x519298]
mov eax, dword [ecx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
add eax, 0x34
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov ebx, esp
push eax
call fcn.005a08b0
lea edx, [esp + 0x40]
add esp, 4
add eax, 0x10
push edx
mov dword [ebx], eax
call fcn.005c2b50
add esp, 8
mov eax, dword [eax]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push 0x4b742c
lea ecx, [esp + 0x34]
push ecx
push eax
mov byte [esp + 0x94], 3
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d58a0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x80], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5e007e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x519298]
mov eax, dword [ecx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [eax + esi]
add eax, esi
mov edx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.005c8f20
lea eax, [esp + 0x40]
push eax
call fcn.005c2b50
add esp, 8
mov eax, dword [eax]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4b7424
lea edx, [esp + 0x34]
push edx
push ecx
mov byte [esp + 0x94], 4
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d58a0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x80], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5e0106
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x519298]
mov eax, dword [ecx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
fld qword [edx + 0x130]
add eax, esi
sub esp, 0xc
mov eax, esp
fstp qword [esp + 4]
mov dword [esp + 0x38], esp
push 0x4b7418
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5810
mov edx, dword [0x519298]
mov eax, dword [edx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
fld qword [eax + 0x138]
sub esp, 0xc
mov ecx, esp
fstp qword [esp + 4]
mov dword [esp + 0x38], esp
push 0x4b740c
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5810
mov eax, dword [0x519298]
mov eax, dword [eax + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
push ecx
push 0x443850
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push 0x4b73fc
lea eax, [esp + 0x38]
push eax
push edx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov ecx, dword [0x519298]
mov eax, dword [ecx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
push edx
push 0x4438d0
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push 0x4b73ec
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov edx, dword [0x519298]
mov eax, dword [edx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
push eax
push 0x443950
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4b73dc
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov eax, dword [0x519298]
mov eax, dword [eax + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
push ecx
push 0x4439d0
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push 0x4b73cc
lea eax, [esp + 0x38]
push eax
push edx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov ecx, dword [0x519298]
mov eax, dword [ecx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
push edx
push 0x443a50
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push 0x4b73c4
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov edx, dword [0x519298]
mov eax, dword [edx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
push eax
push 0x443ad0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4b73b8
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov eax, dword [0x519298]
mov eax, dword [eax + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
push ecx
push 0x443b50
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push 0x4b73a4
lea eax, [esp + 0x38]
push eax
push edx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov ecx, dword [0x519298]
mov eax, dword [ecx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
push edx
push 0x443b70
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push 0x4b7398
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov edx, dword [0x519298]
mov eax, dword [edx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
push eax
push 0x443bd0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4b738c
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov eax, dword [0x519298]
mov eax, dword [eax + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
push ecx
push 0x443c20
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push 0x4b7378
lea eax, [esp + 0x38]
push eax
push edx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov ecx, dword [0x519298]
mov eax, dword [ecx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
push edx
push 0x443c50
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push 0x4b7368
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov edx, dword [0x519298]
mov eax, dword [edx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
push eax
push 0x443cc0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4b7360
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov eax, dword [0x519298]
mov eax, dword [eax + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
push ecx
push 0x443d90
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push 0x4b7354
lea eax, [esp + 0x38]
push eax
push edx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov ecx, dword [0x519298]
mov eax, dword [ecx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi]
add ecx, esi
cmp dword [edx + 0x18], 2
je 0x5e0511
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov ecx, dword [eax + 4]
add ecx, esi
mov ecx, dword [ecx]
cmp dword [ecx + 0x18], 3
jne 0x5e064a
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
push edx
push 0x443ea0
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push 0x4b7344
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov edx, dword [0x519298]
mov eax, dword [edx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
push eax
push 0x443e70
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4b7338
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov eax, dword [0x519298]
mov eax, dword [eax + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
push ecx
push 0x443f20
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push 0x4b732c
lea eax, [esp + 0x38]
push eax
push edx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov ecx, dword [0x519298]
mov eax, dword [ecx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
push edx
push 0x443f50
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push 0x4b7320
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov edx, dword [0x519298]
mov eax, dword [edx + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x5e06a9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
push eax
push 0x443f80
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4b7314
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.005b9dd0
add esp, 0xc
mov ecx, edi
call fcn.005d5750
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5e0675
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x519298]
mov ebp, dword [esp + 0x40]
mov edx, dword [ecx + 0x1c]
cmp ebp, dword [edx + 8]
jl 0x5dfc43
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0059d040
jmp 0x602d64