Function at 0x5b3eb0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x609d2d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x3c], ecx
xor edi, edi
push ebx
lea ecx, [esp + 0x114]
mov dword [esp + 0x28], eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
call dword [0x610498]
lea ecx, [esp + 0x148]
mov dword [esp + 0x1c0], edi
call dword [0x61049c]
mov byte [esp + 0x1c0], 1
fldz
mov eax, dword [esi]
fstp qword [esp + 0xb4]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x54], edi
mov byte [esp + 0x38], 0xff
mov byte [esp + 0x40], al
mov byte [esp + 0x20], al
mov byte [esp + 0x90], al
mov byte [esp + 0x23], al
mov dword [esp + 0x5c], edi
mov byte [esp + 0x21], al
mov byte [esp + 0x22], al
call dword [0x61049c]
lea ecx, [esp + 0x164]
mov byte [esp + 0x1c0], 2
call dword [0x61049c]
lea ecx, [esp + 0xf4]
mov byte [esp + 0x1c0], 3
mov dword [esp + 0x70], edi
call dword [0x61049c]
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1c0], 4
call dword [0x61049c]
mov byte [esp + 0x1c0], 5
mov esi, dword [0x6105bc]
mov dword [esp + 0x6c], edi
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], edi
mov edi, dword [0x610620]
lea ebx, [ebx]
cmp eax, 1
jne 0x5b4049
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x5b48f5
cmp word [ebx], 0
je 0x5b48f5
jmp 0x5b4060
lea ecx, [esp + 0xf4]
call dword [0x61056c]
lea ecx, [esp + 0xd8]
call dword [0x61056c]
movzx eax, word [ebx]
test ax, ax
je 0x5b40bb
cmp ax, 0x3d
je 0x5b40bb
push ebx
call dword [0x6108b4]
mov esi, eax
cmp ebx, esi
jae 0x5b40ad
movzx eax, word [ebx]
push eax
lea ecx, [esp + 0xf8]
call dword [0x6105a8]
add ebx, 2
cmp ebx, esi
jb 0x5b4095
movzx eax, word [ebx]
test ax, ax
mov esi, dword [0x6105bc]
jne 0x5b4082
mov cx, word [ebx]
add ebx, 2
cmp cx, 0x3d
jne 0x5b48f5
mov dx, word [ebx]
add ebx, 2
cmp dx, 0x27
jne 0x5b48f5
movzx eax, word [ebx]
test ax, ax
je 0x5b4126
cmp ax, 0x27
je 0x5b4126
push ebx
call dword [0x6108b4]
mov esi, eax
cmp ebx, esi
jae 0x5b4118
jmp 0x5b4100
movzx eax, word [ebx]
push eax
lea ecx, [esp + 0xdc]
call dword [0x6105a8]
add ebx, 2
cmp ebx, esi
jb 0x5b4100
movzx eax, word [ebx]
test ax, ax
mov esi, dword [0x6105bc]
jne 0x5b40e3
mov ax, word [ebx]
add ebx, 2
cmp ax, 0x27
jne 0x5b48f5
cmp dword [esp + 0xec], 0
je 0x5b48df
lea ecx, [esp + 0xf4]
push str.file
push ecx
call esi
add esp, 8
test al, al
jne 0x5b48ca
lea edx, [esp + 0xf4]
push 0x6143d8
push edx
call esi
add esp, 8
test al, al
jne 0x5b48ca
lea eax, [esp + 0xf4]
push str.restype
push eax
call esi
add esp, 8
test al, al
je 0x5b41a2
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0x14c]
jmp 0x5b48d9
lea edx, [esp + 0xf4]
push 0x632248
push edx
call esi
add esp, 8
test al, al
je 0x5b420f
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x5b41d0
lea eax, [esp + 0xdc]
push 0xa
lea ecx, [esp + 0x20]
push ecx
push eax
call edi
add esp, 0xc
cmp dword [esp + 0xf0], 8
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xdc]
jae 0x5b41f9
lea eax, [esp + 0xdc]
push 0xa
lea edx, [esp + 0x20]
push edx
push eax
call edi
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x5b48df
lea eax, [esp + 0xf4]
push 0x632254
push eax
call esi
add esp, 8
test al, al
je 0x5b4253
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x5b423d
lea eax, [esp + 0xdc]
push 0xa
lea ecx, [esp + 0x20]
push ecx
push eax
call edi
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x5b48df
lea edx, [esp + 0xf4]
push 0x632268
push edx
call esi
add esp, 8
test al, al
je 0x5b42e5
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x5b4281
lea eax, [esp + 0xdc]
push 0xa
lea ecx, [esp + 0x20]
push ecx
push eax
call edi
add esp, 0xc
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
push 0xa
lea edx, [esp + 0x20]
push edx
add eax, 2
push eax
call edi
mov edx, dword [esp + 0x28]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x20]
push ecx
add edx, 2
push edx
mov dword [esp + 0x84], eax
call edi
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x7c], eax
push 0xa
lea eax, [esp + 0x20]
push eax
add ecx, 2
push ecx
call edi
add esp, 0xc
mov dword [esp + 0x80], eax
jmp 0x5b48df
lea edx, [esp + 0xf4]
push 0x632274
push edx
call esi
add esp, 8
test al, al
je 0x5b4371
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x5b4313
lea eax, [esp + 0xdc]
push 0xa
lea ecx, [esp + 0x20]
push ecx
push eax
call edi
add esp, 0xc
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
push 0xa
lea edx, [esp + 0x20]
push edx
add eax, 2
push eax
call edi
mov edx, dword [esp + 0x28]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x20]
push ecx
add edx, 2
push edx
mov dword [esp + 0x54], eax
call edi
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x4c], eax
push 0xa
lea eax, [esp + 0x20]
push eax
add ecx, 2
push ecx
call edi
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x5b48df
lea edx, [esp + 0xf4]
push 0x632284
push edx
call esi
add esp, 8
test al, al
je 0x5b440d
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x5b43a3
lea eax, [esp + 0xdc]
push 0xa
lea ecx, [esp + 0x20]
push ecx
push eax
call edi
add esp, 0xc
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x1c]
push 0xa
lea edx, [esp + 0x20]
push edx
add eax, 2
push eax
call edi
mov edx, dword [esp + 0x28]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x20]
push ecx
add edx, 2
push edx
mov dword [esp + 0xa4], eax
call edi
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x9c], eax
push 0xa
lea eax, [esp + 0x20]
push eax
add ecx, 2
push ecx
call edi
add esp, 0xc
mov dword [esp + 0xa0], eax
jmp 0x5b48df
lea edx, [esp + 0xf4]
push 0x632294
push edx
call esi
add esp, 8
test al, al
je 0x5b4481
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x5b443b
lea eax, [esp + 0xdc]
mov ecx, 0x613638
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5b4470
test dx, dx
je 0x5b4462
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5b4470
add eax, 4
add ecx, 4
test dx, dx
jne 0x5b4440
xor eax, eax
test eax, eax
sete byte [esp + 0x22]
jmp 0x5b48df
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete byte [esp + 0x22]
jmp 0x5b48df
lea eax, [esp + 0xf4]
push 0x6322a0
push eax
call esi
add esp, 8
test al, al
je 0x5b450c
push 0
lea ecx, [esp + 0xdc]
call dword [0x61054c]
cmp word [eax], 0x23
mov eax, dword [esp + 0xdc]
jne 0x5b44e1
cmp dword [esp + 0xf0], 8
jae 0x5b44c4
lea eax, [esp + 0xdc]
push 0x10
lea ecx, [esp + 0x20]
push ecx
add eax, 2
push eax
call dword [0x610640]
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x5b48df
cmp dword [esp + 0xf0], 8
jae 0x5b44f2
lea eax, [esp + 0xdc]
push 0x10
lea edx, [esp + 0x20]
push edx
push eax
call dword [0x610640]
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x5b48df
lea eax, [esp + 0xf4]
push 0x6322ac
push eax
call esi
add esp, 8
test al, al
je 0x5b4554
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x5b453a
lea eax, [esp + 0xdc]
push 0xa
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [0x610640]
add esp, 0xc
mov byte [esp + 0x38], al
jmp 0x5b48df
lea edx, [esp + 0xf4]
push 0x6322b8
push edx
call esi
add esp, 8
test al, al
je 0x5b45cc
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x5b4582
lea eax, [esp + 0xdc]
mov ecx, 0x613638
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5b45b9
test dx, dx
je 0x5b45a9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5b45b9
add eax, 4
add ecx, 4
test dx, dx
jne 0x5b4587
xor eax, eax
test eax, eax
sete al
mov byte [esp + 0x40], al
jmp 0x5b48df
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
mov byte [esp + 0x40], al
jmp 0x5b48df
lea ecx, [esp + 0xf4]
push 0x6322c4
push ecx
call esi
add esp, 8
test al, al
je 0x5b4641
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x5b45fa
lea eax, [esp + 0xdc]
mov ecx, 0x613638
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5b4630
test dx, dx
je 0x5b4622
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5b4630
add eax, 4
add ecx, 4
test dx, dx
jne 0x5b4600
xor eax, eax
test eax, eax
sete byte [esp + 0x20]
jmp 0x5b48df
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete byte [esp + 0x20]
jmp 0x5b48df
lea edx, [esp + 0xf4]
push 0x6322dc
push edx
call esi
add esp, 8
test al, al
je 0x5b46bf
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x5b466f
lea eax, [esp + 0xdc]
mov ecx, 0x613638
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5b46a9
test dx, dx
je 0x5b4696
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5b46a9
add eax, 4
add ecx, 4
test dx, dx
jne 0x5b4674
xor eax, eax
test eax, eax
sete al
mov byte [esp + 0x90], al
jmp 0x5b48df
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
mov byte [esp + 0x90], al
jmp 0x5b48df
lea ecx, [esp + 0xf4]
push 0x6322ec
push ecx
call esi
add esp, 8
test al, al
je 0x5b4733
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x5b46ed
lea eax, [esp + 0xdc]
mov ecx, 0x613638
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5b4722
test dx, dx
je 0x5b4714
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5b4722
add eax, 4
add ecx, 4
test dx, dx
jne 0x5b46f2
xor eax, eax
test eax, eax
sete byte [esp + 0x23]
jmp 0x5b48df
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete byte [esp + 0x23]
jmp 0x5b48df
lea edx, [esp + 0xf4]
push 0x6322f8
push edx
call esi
add esp, 8
test al, al
je 0x5b47a7
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x5b4761
lea eax, [esp + 0xdc]
mov ecx, 0x613638
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5b4796
test dx, dx
je 0x5b4788
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5b4796
add eax, 4
add ecx, 4
test dx, dx
jne 0x5b4766
xor eax, eax
test eax, eax
sete byte [esp + 0x21]
jmp 0x5b48df
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete byte [esp + 0x21]
jmp 0x5b48df
lea eax, [esp + 0xf4]
push 0x632308
push eax
call esi
add esp, 8
test al, al
je 0x5b47ed
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x5b47d5
lea eax, [esp + 0xdc]
push 0
push eax
call dword [0x610710]
fstp qword [esp + 0xbc]
add esp, 8
jmp 0x5b48df
lea ecx, [esp + 0xf4]
push 0x632318
push ecx
call esi
add esp, 8
test al, al
je 0x5b4817
lea edx, [esp + 0xd8]
push edx
lea ecx, [esp + 0x130]
jmp 0x5b48d9
lea eax, [esp + 0xf4]
push 0x63232c
push eax
call esi
add esp, 8
test al, al
je 0x5b4841
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0x168]
jmp 0x5b48d9
lea edx, [esp + 0xf4]
push 0x632344
push edx
call esi
add esp, 8
test al, al
je 0x5b48df
push 0
lea ecx, [esp + 0xdc]
call dword [0x61054c]
cmp word [eax], 0x23
mov eax, dword [esp + 0xdc]
jne 0x5b48a2
cmp dword [esp + 0xf0], 8
jae 0x5b4888
lea eax, [esp + 0xdc]
push 0x10
lea ecx, [esp + 0x20]
push ecx
add eax, 2
push eax
call dword [0x610640]
add esp, 0xc
mov dword [esp + 0x70], eax
jmp 0x5b48df
cmp dword [esp + 0xf0], 8
jae 0x5b48b3
lea eax, [esp + 0xdc]
push 0x10
lea edx, [esp + 0x20]
push edx
push eax
call dword [0x610640]
add esp, 0xc
mov dword [esp + 0x70], eax
jmp 0x5b48df
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x114]
call dword [0x61059c]
mov cx, word [ebx]
add ebx, 2
cmp cx, 0x20
jne 0x5b48f5
cmp word [ebx], 0
jne 0x5b4060
mov eax, dword [esp + 0x6c]
add eax, 1
cmp eax, 2
mov dword [esp + 0x6c], eax
jl 0x5b4040
cmp byte [esp + 0x22], 0
mov ecx, dword [esp + 0x60]
je 0x5b493f
mov eax, dword [ecx + 8]
mov edx, dword [esp + 0x7c]
mov ecx, dword [ecx + 4]
mov esi, dword [esp + 0x78]
sub eax, edx
mov dword [esp + 0x28], eax
add eax, edx
mov edx, dword [esp + 0x80]
add esi, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
add ecx, edx
jmp 0x5b4973
mov eax, dword [ecx]
mov edx, dword [esp + 0x74]
mov ecx, dword [ecx + 4]
add edx, eax
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x78]
add edx, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x5b4966
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
test eax, eax
je 0x5b4977
add ecx, eax
mov dword [esp + 0x34], ecx
cmp dword [esp + 0x15c], 0
jne 0x5b49af
cmp dword [esp + 0x128], 8
mov edx, dword [esp + 0x114]
jae 0x5b4999
lea edx, [esp + 0x114]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x54]
push eax
call fcn.0047d630
add esp, 4
jmp 0x5b4a07
cmp dword [esp + 0x160], 8
mov eax, dword [esp + 0x14c]
jae 0x5b49c7
lea eax, [esp + 0x14c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call dword [0x610498]
cmp dword [esp + 0x144], 8
mov eax, dword [esp + 0x130]
jae 0x5b49ef
lea eax, [esp + 0x130]
mov ecx, dword [esp + 0x70]
push ecx
push eax
call dword [0x6105f8]
add esp, 4
push eax
call fcn.0047d6a0
add esp, 0x24
mov ebx, eax
test ebx, ebx
jne 0x5b4bcf
cmp byte [esp + 0x23], al
je 0x5b4a9b
cmp dword [esp + 0x15c], eax
jne 0x5b4a52
cmp dword [esp + 0x128], 8
mov esi, dword [esp + 0x114]
jae 0x5b4a3c
lea esi, [esp + 0x114]
call fcn.004044c0
mov ecx, dword [esp + 0x5c]
mov eax, dword [eax + 0x4c]
push 0x10
push ecx
push ecx
push 1
push esi
push eax
jmp 0x5b4a8b
cmp dword [esp + 0x128], 8
mov ebx, dword [esp + 0x114]
jae 0x5b4a6a
lea ebx, [esp + 0x114]
call fcn.004044c0
mov esi, dword [eax + 0x4c]
mov eax, dword [esp + 0x5c]
push 0
push eax
push eax
push 1
push ebx
call dword [0x6105f8]
movzx edx, ax
add esp, 4
push edx
push esi
call dword [0x610830]
mov esi, eax
test esi, esi
jne 0x5b4b23
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1c0], 4
call dword [0x6105a0]
lea ecx, [esp + 0xf4]
mov byte [esp + 0x1c0], 3
call dword [0x6105a0]
lea ecx, [esp + 0x164]
mov byte [esp + 0x1c0], 2
call dword [0x6105a0]
lea ecx, [esp + 0x12c]
mov byte [esp + 0x1c0], 1
call dword [0x6105a0]
lea ecx, [esp + 0x148]
mov byte [esp + 0x1c0], 0
call dword [0x6105a0]
lea ecx, [esp + 0x110]
mov dword [esp + 0x1c0], 0xffffffff
call dword [0x6105a0]
xor al, al
jmp 0x5b4fa5
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x5c]
push esi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x38]
push eax
call fcn.005b2480
add esp, 0x18
push esi
mov ebx, eax
call dword [0x61082c]
cmp dword [esp + 0x15c], 0
jne 0x5b4b99
push ebx
sub esp, 0x1c
lea edx, [esp + 0x130]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call dword [0x610494]
lea esi, [esp + 0xdc]
call fcn.00423860
add esp, 0x20
mov ecx, esi
call dword [0x6105a0]
jmp 0x5b4bc7
cmp dword [esp + 0x128], 8
mov eax, dword [esp + 0x114]
jae 0x5b4bb1
lea eax, [esp + 0x114]
push eax
call dword [0x6105f8]
add esp, 4
push ebx
push eax
call fcn.004044c0
call fcn.005ad590
test ebx, ebx
je 0x5b4a9b
xor edi, edi
cmp dword [esp + 0x24], edi
je 0x5b4f22
cmp dword [esp + 0x44], edi
jne 0x5b4c01
cmp dword [esp + 0x4c], edi
jne 0x5b4c01
cmp dword [esp + 0x48], edi
jne 0x5b4c01
cmp dword [esp + 0x50], edi
jne 0x5b4c01
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
cmp byte [esp + 0x20], 0
je 0x5b4c11
mov byte [ebx + 0xc], 0
mov byte [esp + 0x38], 0xff
mov edx, dword [esp + 0x60]
mov esi, dword [0x610994]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xac]
push ecx
call esi
test eax, eax
je 0x5b4f22
mov edx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xac]
push ecx
call esi
test eax, eax
je 0x5b4f22
xor eax, eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov byte [esp + 0x1c0], 6
cmp dword [esp + 0x64], edi
jne 0x5b4c8d
cmp dword [esp + 0x68], edi
je 0x5b4cd9
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xac]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xc4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x3c]
push eax
lea edi, [esp + 0x90]
call fcn.005e4870
add esp, 0x1c
xor edi, edi
cmp dword [esp + 0x140], edi
je 0x5b4dcb
cmp dword [esp + 0x178], edi
jne 0x5b4d14
cmp dword [esp + 0x144], 8
mov edx, dword [esp + 0x130]
jae 0x5b4d07
lea edx, [esp + 0x130]
push edi
xor ecx, ecx
call fcn.0047d630
add esp, 4
jmp 0x5b4d6b
mov eax, dword [esp + 0x168]
mov esi, 8
cmp dword [esp + 0x17c], esi
jae 0x5b4d30
lea eax, [esp + 0x168]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call dword [0x610498]
cmp dword [esp + 0x160], esi
mov eax, dword [esp + 0x14c]
jae 0x5b4d57
lea eax, [esp + 0x14c]
push edi
push eax
call dword [0x6105f8]
add esp, 4
push eax
call fcn.0047d6a0
add esp, 0x24
cmp eax, edi
je 0x5b4eeb
mov ecx, dword [esp + 0x70]
push ecx
push eax
push ebx
lea eax, [esp + 0x34]
call fcn.005b6e00
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x5b4eeb
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push edx
push eax
mov eax, dword [esp + 0x2c]
push 1
push ecx
lea edx, [esp + 0x38]
push edx
push ebx
push eax
lea eax, [esp + 0xb0]
lea edi, [esp + 0x60]
call fcn.005b4fd0
add esp, 0x1c
push ebx
call dword [0x6100e8]
jmp 0x5b4eeb
cmp byte [esp + 0x21], 0
je 0x5b4e27
push ebx
lea edx, [esp + 0x2c]
call fcn.005b6ae0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
add esp, 4
push ecx
mov ecx, dword [esp + 0x40]
mov esi, eax
movzx eax, byte [ebx + 0xc]
push edx
push eax
mov eax, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
push esi
push eax
lea eax, [esp + 0xb0]
lea edi, [esp + 0x60]
call fcn.005b4fd0
add esp, 0x1c
test esi, esi
je 0x5b4eeb
push esi
call dword [0x6100e8]
jmp 0x5b4eeb
fldz
fld qword [esp + 0xb4]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x5b4eb5
sub esp, 8
fstp qword [esp]
push ebx
lea eax, [esp + 0x34]
call fcn.005b6290
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x5b4eeb
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x3c]
push ecx
mov dword [esp + 0x58], edx
movzx edx, byte [ebx + 0xc]
push edx
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
push edx
lea eax, [esp + 0xb0]
lea edi, [esp + 0x60]
call fcn.005b4fd0
add esp, 0x1c
push esi
call dword [0x6100e8]
jmp 0x5b4eeb
mov eax, dword [esp + 0x40]
fstp st(0)
movzx edx, byte [ebx + 0xc]
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
push edx
push eax
lea eax, [esp + 0xb0]
lea edi, [esp + 0x60]
call fcn.005b4fd0
add esp, 0x1c
mov eax, dword [esp + 0x84]
test eax, eax
je 0x5b4f10
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x5b4f10
push esi
push eax
call dword [0x6100dc]
push esi
call dword [0x6100e8]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x5b4f22
push eax
call dword [0x6100e8]
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1c0], 4
call dword [0x6105a0]
lea ecx, [esp + 0xf4]
mov byte [esp + 0x1c0], 3
call dword [0x6105a0]
lea ecx, [esp + 0x164]
mov byte [esp + 0x1c0], 2
call dword [0x6105a0]
lea ecx, [esp + 0x12c]
mov byte [esp + 0x1c0], 1
call dword [0x6105a0]
lea ecx, [esp + 0x148]
mov byte [esp + 0x1c0], 0
call dword [0x6105a0]
lea ecx, [esp + 0x110]
mov dword [esp + 0x1c0], 0xffffffff
call dword [0x6105a0]
mov al, 1
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.005e693f
mov esp, ebp
pop ebp
ret