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

Disassembly:
push 0xffffffffffffffff
push 0x50abc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 0xe4]
mov dword [esp + 0x34], ebp
mov ebx, dword [eax + 8]
cmp ebx, edi
mov dword [esp + 0x48], ebx
je 0x559ae5
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*4 - 4]
cmp dword [eax + 4], 0xffffffff
je 0x559b67
push 0x48
call fcn.0060c291
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov dword [esp + 0x16c], edi
je 0x559b09
mov ecx, eax
call fcn.0055604c
mov esi, eax
jmp 0x559b0b
xor esi, esi
cmp esi, edi
mov dword [esp + 0x16c], 0xffffffff
je 0x559b5a
mov eax, dword [ebp + 0x110]
dec eax
je 0x559b42
dec eax
jne 0x559b4a
push 0x3ff00000
push edi
push 0x3ff00000
push edi
mov ecx, esi
mov byte [esi + 0x40], 1
mov dword [esi + 0x20], edi
call fcn.0055638c
jmp 0x559b4a
push edi
mov ecx, esi
call fcn.0055625c
mov ecx, dword [ebp + 0xe4]
push esi
mov eax, dword [ecx + 8]
push eax
call fcn.00606cae
mov ecx, dword [ebp + 0xe4]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x48], ebx
push edi
push edi
push edi
push 8
push 0x551434
call fcn.00566dcc
add esp, 0x14
lea edx, [esp + 0x24]
mov ecx, ebp
mov dword [esp + 0x50], eax
push eax
push edx
call fcn.00566f1c
mov edi, dword [eax + 4]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [fcn.0051865c]
lea eax, [esp + 0x54]
push eax
push ecx
mov dword [esp + 0x24], edi
call esi
lea eax, [edi + 3]
inc ebx
imul eax, ebx
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x54]
mov edx, dword [ebp + 0x68]
sub ecx, edi
inc eax
cmp ecx, edx
jne 0x559bc0
cmp eax, dword [ebp + 0x6c]
je 0x559bd9
xor edx, edx
mov dword [ebp + 0x68], ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, ebp
mov dword [ebp + 0x60], edx
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x6c], eax
call fcn.005663bc
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x54]
push edx
push eax
call esi
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
sub ebx, eax
lea eax, [ebp + 0x138]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0xb
mov edx, dword [esp + 0x10]
cmp dword [edx], 0
jl 0x559c78
mov eax, dword [esp + 0x1c]
mov esi, ecx
shl esi, 4
lea edx, [edi + eax + 4]
mov dword [esp + esi + 0xa8], edi
mov dword [esp + esi + 0xb0], edx
test ecx, ecx
jne 0x559c3b
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa4], eax
jmp 0x559c49
mov edx, dword [esp + esi + 0x9c]
mov dword [esp + esi + 0xa4], edx
lea eax, [ecx + ecx*2]
mov edx, dword [ebp + eax*4 + 0x140]
mov eax, 0x51eb851f
imul edx, ebx
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + esi + 0xa4]
add edx, eax
inc ecx
mov dword [esp + esi + 0xac], edx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add edx, 0xc
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
jne 0x559c06
mov edx, dword [esp + 0x5c]
shl ecx, 4
mov dword [esp + ecx + 0xac], edx
call fcn.0061e183
mov eax, dword [eax + 4]
push 0
push 0xb
mov ecx, eax
call fcn.005b99fc
mov dword [esp + 0x1c], eax
lea eax, [ebp + 0x13c]
mov dword [esp + 0x14], eax
lea eax, [ebp + 0x138]
xor ebx, ebx
lea edi, [esp + 0xa4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0xb
cmp dword [eax], 0
jl 0x559ec4
mov ecx, edi
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xf0]
cmp ebx, eax
jge 0x559d1d
mov ecx, dword [ebp + 0xec]
mov esi, dword [ecx + ebx*4]
test esi, esi
jne 0x559e35
mov edx, dword [0x559598]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x16c], 1
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x14]
call fcn.0060cb01
push 0xc0
call fcn.0060c291
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
test esi, esi
mov byte [esp + 0x16c], 2
je 0x559dbb
mov eax, dword [esp + 0x24]
push ebx
mov ecx, dword [esp + 0x2c]
sub esp, 0x10
mov edx, esp
push ebp
mov dword [edx], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x28]
push edx
mov ecx, esi
call fcn.0056bdbc
mov byte [esp + 0x16c], 3
mov dword [esi], 0x51fbbc
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0xc0c0c0
mov byte [esp + 0x16c], 2
jmp 0x559dbd
xor esi, esi
test esi, esi
mov byte [esp + 0x16c], 1
je 0x559e1d
mov eax, dword [esi]
push 0
push 0x8001
mov ecx, esi
call dword [eax + 0x158]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
push 0
push eax
mov ecx, esi
call dword [edx + 0xcc]
mov eax, dword [esp + 0x50]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xb8]
mov edx, dword [esi]
push 0
mov ecx, esi
mov dword [esi + 0xb8], 1
call dword [edx + 0x124]
push esi
push ebx
lea ecx, [ebp + 0xe8]
call fcn.00606cae
lea ecx, [esp + 0x10]
mov dword [esp + 0x16c], 0xffffffff
call fcn.0060c550
test esi, esi
je 0x559e9c
mov edx, dword [esp + 0x24]
push 0
sub esp, 0x10
mov eax, dword [esi]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x44]
mov dword [ecx + 0xc], edx
mov ecx, esi
call dword [eax + 0xe4]
push 0xfffffffffffffffe
lea eax, [esp + 0x28]
push 0xfffffffffffffffe
push eax
call dword [fcn.00518638]
mov ecx, dword [esp + 0x24]
push 0
sub esp, 0x10
mov edx, dword [esi]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x154]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
sub eax, edx
dec eax
push eax
push 0
push edi
call dword [fcn.00518628]
test ebx, ebx
je 0x559eb5
dec dword [edi]
mov ecx, dword [esp + 0x14]
inc ebx
add ecx, 0xc
add edi, 0x10
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add eax, 0xc
dec ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jne 0x559cdc
mov eax, dword [esp + 0x48]
xor esi, esi
test eax, eax
mov dword [esp + 0x18], esi
jle 0x55a638
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x104]
mov dword [esp + 0x6c], edx
cmp esi, eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ecx
jge 0x559f6d
mov edx, dword [ebp + 0x100]
mov eax, dword [edx + esi*4]
test eax, eax
je 0x559f6d
push 0
mov edx, dword [esp + 0x6c]
sub esp, 0x10
mov ebx, eax
mov ecx, esp
mov dword [esp + 0x34], ebx
mov eax, dword [ebx]
mov dword [ecx], edi
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x80]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x84]
mov dword [ecx + 0xc], edx
mov ecx, ebx
call dword [eax + 0xe4]
jmp 0x559fe8
push 0xb8
call fcn.0060c291
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x16c], 4
je 0x559fc0
lea edx, [esi + esi*4 + 5]
lea edx, [edx + edx*4]
lea ecx, [edx + edx*4]
shl ecx, 3
push ecx
mov ecx, dword [esp + 0x70]
sub esp, 0x10
mov edx, esp
push ebp
mov dword [edx], edi
mov dword [edx + 4], ebx
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [edx + 0xc], ecx
mov ecx, eax
call fcn.00563f7c
jmp 0x559fc2
xor eax, eax
mov ebx, eax
mov dword [esp + 0x16c], 0xffffffff
test eax, eax
mov dword [esp + 0x20], ebx
je 0x55a61f
push eax
push esi
lea ecx, [ebp + 0xfc]
call fcn.00606cae
test ebx, ebx
je 0x55a61f
xor ecx, ecx
lea eax, [ebp + 0x138]
mov dword [esp + 0x14], ecx
lea edi, [esp + 0xa4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], 0xb
cmp dword [eax], 0
jl 0x55a605
cmp ecx, dword [ebx + 0xa8]
jge 0x55a034
mov edx, dword [ebx + 0xa4]
cmp dword [edx + ecx*4], 0
jne 0x55a441
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
lea ecx, [ecx + ecx*4 + 5]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ebp, [eax + ecx*8]
sub eax, 9
je 0x55a30f
dec eax
je 0x55a21b
push 0x120
call fcn.0060c291
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
mov dword [esp + 0x16c], 0xa
je 0x55a18a
mov edx, edi
push ebp
sub esp, 0x10
mov eax, dword [edx]
mov dword [esp + 0x98], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x9c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0xa0], eax
mov eax, esp
mov ecx, dword [edx + 0xc]
mov dword [esp + 0xa4], ecx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, esi
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x48]
push eax
call fcn.0056c14c
mov byte [esp + 0x16c], 0xb
mov dword [esi], 0x51fa34
call fcn.0061e183
mov eax, dword [eax + 4]
push 0
push 2
mov ecx, eax
call fcn.005b99fc
cmp dword [esi + 0x18], eax
je 0x55a107
mov edx, dword [esi]
push 0
mov ecx, esi
mov dword [esi + 0x18], eax
call dword [edx + 0x124]
call fcn.0061e183
mov eax, dword [eax + 4]
push 0
push 9
mov ecx, eax
call fcn.005b99fc
mov dword [esi + 0xd0], eax
lea eax, [esp + 0x84]
lea ecx, [esp + 0x74]
push eax
push ecx
call dword [fcn.00518620]
push 0xffffffffffffffff
lea edx, [esp + 0x78]
push 0xffffffffffffffff
push edx
call dword [fcn.00518638]
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x78]
mov eax, ecx
mov byte [esi + 0x118], 1
sub eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x7c]
mov ebx, eax
mov eax, edx
sar ebx, 1
sub eax, ebx
lea ebx, [esi + 0xb8]
mov dword [esp + 0x74], eax
mov dword [ebx], eax
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
mov ebx, dword [esp + 0x20]
mov byte [esp + 0x16c], 0xa
jmp 0x55a18c
xor esi, esi
test esi, esi
mov dword [esp + 0x16c], 0xffffffff
je 0x55a441
mov ecx, dword [esp + 0x50]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xb8]
mov edx, dword [esi]
push 0xc7
mov ecx, esi
call dword [edx + 0x174]
mov ebp, dword [esi]
mov dword [esi + 0x24], ebx
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x12c]
push eax
mov ecx, esi
call dword [ebp + 0x128]
mov edx, dword [ebx + 0xa8]
lea ecx, [ebx + 0xa0]
push esi
push edx
call fcn.00606cae
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x55a20a
cmp eax, 6
je 0x55a20a
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x88]
jmp 0x55a441
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x88]
jmp 0x55a441
push 0xd8
call fcn.0060c291
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
mov dword [esp + 0x16c], 5
je 0x55a2e6
push ebp
mov ecx, edi
sub esp, 0x10
mov eax, dword [ecx]
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x48]
push edx
push 6
mov ecx, esi
call fcn.0056895c
mov byte [esp + 0x16c], 6
mov dword [esi], 0x51f8e0
call fcn.0061e183
mov eax, dword [eax + 4]
push 0
push 3
mov ecx, eax
call fcn.005b99fc
cmp eax, dword [esi + 0x14]
je 0x55a2a2
mov dword [esi + 0x14], eax
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x124]
call fcn.0061e183
mov eax, dword [eax + 4]
push 0
push 2
mov ecx, eax
call fcn.005b99fc
cmp dword [esi + 0x18], eax
je 0x55a2c9
mov edx, dword [esi]
push 0
mov ecx, esi
mov dword [esi + 0x18], eax
call dword [edx + 0x124]
mov eax, dword [esi]
push 0
mov ecx, esi
mov dword [esi + 0x4c], 0xffffff
call dword [eax + 0x124]
mov byte [esp + 0x16c], 5
jmp 0x55a2e8
xor esi, esi
test esi, esi
mov dword [esp + 0x16c], 0xffffffff
je 0x55a441
mov eax, dword [esp + 0x50]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xb8]
jmp 0x55a414
push 0xd8
call fcn.0060c291
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
mov dword [esp + 0x16c], 7
je 0x55a403
push ebp
mov ecx, edi
sub esp, 0x10
mov eax, dword [ecx]
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x48]
push edx
push 6
mov ecx, esi
call fcn.0056895c
mov byte [esp + 0x16c], 8
mov dword [esi], 0x51f8e0
call fcn.0061e183
mov eax, dword [eax + 4]
push 0
push 0
push 3
mov ecx, eax
call fcn.005b99fc
push eax
mov ecx, esi
call fcn.00527ffc
call fcn.0061e183
mov eax, dword [eax + 4]
push 0
push 0
push 2
mov ecx, eax
call fcn.005b99fc
push eax
mov ecx, esi
call fcn.0052802c
mov eax, dword [esi]
push 0
mov ecx, esi
mov dword [esi + 0x4c], 0xffffff
call dword [eax + 0x124]
push 0
push 0
push 2
mov byte [esp + 0x178], 9
push 0xe5
mov ecx, esi
mov dword [esi], 0x51f78c
call fcn.0055c50c
call fcn.0061e183
mov eax, dword [eax + 4]
push 0
push 0
push 2
mov ecx, eax
call fcn.005b99fc
push eax
mov ecx, esi
call fcn.0052802c
mov byte [esp + 0x16c], 7
jmp 0x55a405
xor esi, esi
test esi, esi
mov dword [esp + 0x16c], 0xffffffff
je 0x55a441
mov dword [esi + 0x24], ebx
mov edx, dword [ebx]
mov ebp, dword [esi]
push 0
mov ecx, ebx
call dword [edx + 0x12c]
push eax
mov ecx, esi
call dword [ebp + 0x128]
mov eax, dword [ebx + 0xa8]
lea ecx, [ebx + 0xa0]
push esi
push eax
call fcn.00606cae
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, eax
jl 0x55a57a
cmp eax, 9
jl 0x55a49a
cmp eax, 0xa
jg 0x55a49a
mov edx, dword [ebx + 0xa4]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x55a5d1
push 0
mov eax, edi
sub esp, 0x10
mov edx, dword [ecx]
mov ebp, dword [eax]
mov esi, esp
mov dword [esi], ebp
mov ebp, dword [eax + 4]
mov dword [esi + 4], ebp
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esi + 8], ebp
mov dword [esi + 0xc], eax
call dword [edx + 0xe4]
jmp 0x55a5d1
mov ecx, dword [ebx + 0xa4]
mov edx, dword [esp + 0x14]
mov esi, dword [ecx + edx*4]
test esi, esi
je 0x55a5d1
mov eax, edi
push 0
sub esp, 0x10
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov ecx, edi
mov edx, dword [eax + 0xc]
mov eax, dword [esi]
mov ebp, dword [ecx]
mov dword [esp + 0x58], edx
mov edx, esp
mov dword [edx], ebp
mov ebp, dword [ecx + 4]
mov dword [edx + 4], ebp
mov ebp, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ecx
mov ecx, esi
call dword [eax + 0xe4]
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push 0xffffffffffffffff
push edx
call dword [fcn.00518638]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov eax, ecx
sub esp, 0x10
sub eax, edx
mov ebp, esp
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x50]
sar edx, 1
sub eax, edx
mov edx, dword [esi]
mov dword [esp + 0x48], eax
mov dword [ebp], eax
mov eax, dword [esp + 0x4c]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
mov ecx, esi
call dword [edx + 0x16c]
mov eax, dword [edi]
mov ecx, dword [esp + 0x38]
push 0
inc eax
sub esp, 0x10
mov dword [esp + 0x4c], eax
mov ebp, esp
mov edx, dword [esi]
mov dword [esp + 0x54], ecx
mov dword [ebp], eax
mov eax, dword [esp + 0x50]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [ebp + 0xc], ecx
mov ecx, esi
call dword [edx + 0x154]
jmp 0x55a5d1
mov edx, dword [ebx + 0xa4]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x55a5d1
mov esi, edi
push 0
sub esp, 0x10
mov eax, dword [esi]
mov edx, dword [esi + 4]
inc edx
inc eax
mov ebp, dword [esi + 8]
mov dword [esp + 0xb0], ebp
mov ebp, esp
mov esi, dword [esi + 0xc]
mov dword [ebp], eax
mov dword [esp + 0xb4], esi
mov esi, dword [ecx]
mov eax, dword [esp + 0xb4]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0xb0]
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
call dword [esi + 0xe4]
mov ecx, dword [edi + 0xc]
mov esi, dword [edi + 4]
sub ecx, esi
dec ecx
push ecx
push 0
push edi
call dword [fcn.00518628]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x34]
add ecx, 0xc
inc edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
add edi, 0x10
mov ecx, edx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
add eax, 0xc
dec edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], edx
jne 0x55a013
push esi
mov ecx, ebp
call fcn.0055a97c
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
mov dword [esp + 0x18], esi
jl 0x559ef0
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov ecx, dword [ebp + 0x68]
sub eax, edx
cmp eax, ecx
mov ecx, dword [esp + 0xa8]
jne 0x55a655
cmp ecx, dword [ebp + 0x6c]
je 0x55a66e
xor edx, edx
mov dword [ebp + 0x6c], ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, ebp
mov dword [ebp + 0x60], edx
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x64], edx
call fcn.005663bc
mov ebp, dword [ebp + 0x1c]
test ebp, ebp
je 0x55a680
push 1
push 0
push ebp
call dword [fcn.00518634]
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x160
ret