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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
xor ebx, ebx
cmp dword [esp + 0x70], ebx
push esi
mov esi, dword [esp + 0x60]
push edi
mov edi, dword [esp + 0x60]
mov ebp, dword [edi + 8]
mov eax, dword [edi]
setne byte [esp + 0x11]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x44], eax
cmp ebp, ebx
jne 0x5bc33e
call fcn.00575ac0
mov ebp, eax
mov dword [edi + 8], eax
cmp ebp, ebx
je 0x5bc33e
push 0x96
call fcn.0056cf10
add esp, 4
test byte [esi + 0x2c], 0x20
movsx ecx, word [esi + 0x26]
mov dword [esp + 0x54], ecx
jne 0x5bc35a
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], 1
jmp 0x5bc37f
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x5bc373
mov edx, dword [eax + 0x38]
and dl, 3
cmp dl, 2
je 0x5bc373
mov eax, dword [eax + 0x14]
cmp eax, ebx
jne 0x5bc361
mov dword [esp + 0x20], eax
movzx eax, word [eax + 0x32]
mov dword [esp + 0x3c], eax
cmp ecx, ebx
mov dword [esp + 0x14], ebx
jle 0x5bc527
xor edx, edx
mov dword [esp + 0x40], edx
movsx ecx, word [esi + 0x24]
cmp dword [esp + 0x14], ecx
je 0x5bc501
mov eax, dword [esi + 4]
movzx edi, byte [eax + edx + 0x14]
add eax, edx
cmp edi, ebx
je 0x5bc501
mov cl, byte [esp + 0x80]
cmp cl, 0xa
je 0x5bc3c2
movzx edi, cl
jmp 0x5bc3c7
cmp edi, 0xa
je 0x5bc3d1
cmp edi, 5
jne 0x5bc3d6
cmp dword [eax + 4], ebx
jne 0x5bc3d6
mov edi, 2
lea eax, [edi - 1]
cmp eax, 3
ja case.default.0x5bc3e2
jmp dword [eax*4 + 0x5bd538]
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 0x1b8]
cmp eax, ebx
jne 0x5bc3f9
mov eax, ecx
mov byte [eax + 0x18], 1
mov ecx, dword [esi + 4]
mov edx, dword [edx + ecx]
mov eax, dword [esi]
mov esi, dword [esp + 0x44]
push edx
push eax
push str._s._s
call fcn.005736c0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
push 0xffffffffffffffff
push eax
lea eax, [ecx + edx + 1]
push eax
push edi
push 0x513
push 0x15
mov eax, ebp
call fcn.00575b20
mov eax, dword [ebp + 4]
add esp, 0x24
cmp eax, ebx
je 0x5bc501
mov ecx, dword [ebp + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 1
jmp 0x5bc501
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
push edx
lea edx, [ecx + eax + 1]
push edx
push 0x4a
mov eax, ebp
call fcn.0056cfb0
add esp, 0xc
jmp 0x5bc501
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x5bc495
mov edi, ebp
call fcn.0056ce30
test eax, eax
je 0x5bc495
mov esi, 1
jmp 0x5bc4c2
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x74]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
lea edx, [ecx + edx + 1]
mov byte [eax], 0x4b
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
lea edx, [eax + ecx + 1]
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [esp + 0x44]
mov eax, dword [edx + ecx + 4]
mov ecx, dword [esp + 0x64]
push eax
push ecx
call fcn.005bbe20
add esp, 0xc
cmp esi, ebx
jl 0x5bc501
mov eax, dword [ebp + 0x1c]
cmp eax, esi
jbe 0x5bc501
mov ecx, dword [ebp + 4]
lea edx, [esi + esi*4]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x64]
inc eax
add edx, 0x18
cmp eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], edx
jl 0x5bc391
mov edi, dword [esp + 0x60]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x34], eax
cmp eax, ebx
je 0x5bc83d
mov edx, dword [esp + 0x44]
test dword [edx + 0x18], 0x2000
jne 0x5bc83d
mov ecx, dword [esp + 0x74]
inc ecx
mov dword [edi + 0x58], ecx
mov cl, byte [esp + 0x80]
cmp cl, 0xa
je 0x5bc564
movzx edx, cl
mov dword [esp + 0x18], edx
jmp 0x5bc56c
mov dword [esp + 0x18], 2
cmp dword [eax], ebx
mov dword [esp + 0x14], ebx
jle 0x5bc83d
mov dword [esp + 0x40], ebx
lea esp, [esp]
mov edi, dword [ebp + 0x24]
lea ecx, [edi - 1]
lea eax, [edi + 1]
mov dword [ebp + 0x24], eax
test edi, ecx
jne 0x5bc631
mov esi, dword [ebp]
mov ebx, dword [ebp + 0x28]
lea edx, [edi*8 + 4]
push edx
mov eax, esi
call fcn.00569890
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
jne 0x5bc628
test ebx, ebx
je 0x5bc628
test esi, esi
je 0x5bc61f
cmp dword [esi + 0x200], eax
je 0x5bc5f9
cmp ebx, dword [esi + 0x10c]
jb 0x5bc5e5
cmp ebx, dword [esi + 0x110]
jae 0x5bc5e5
movzx eax, word [esi + 0xf0]
mov esi, dword [esi + 0x200]
add dword [esi], eax
jmp 0x5bc628
push ebx
call dword [0x69fd68]
mov esi, dword [esi + 0x200]
add esp, 4
add dword [esi], eax
jmp 0x5bc628
cmp ebx, dword [esi + 0x10c]
jb 0x5bc61f
cmp ebx, dword [esi + 0x110]
jae 0x5bc61f
mov eax, dword [esi + 0x108]
mov dword [ebx], eax
dec dword [esi + 0xf4]
mov dword [esi + 0x108], ebx
jmp 0x5bc628
push ebx
call fcn.0055d790
add esp, 4
mov ecx, dword [esp + 0x54]
mov dword [ebp + 0x28], ecx
xor ebx, ebx
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x5bc63f
mov dword [eax + edi*4], 0xffffffff
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
or eax, 0xffffffff
sub eax, edi
mov edi, dword [esp + 0x34]
mov edx, dword [edi + 8]
push 8
push eax
mov dword [esp + 0x58], eax
mov eax, dword [esi + edx]
push eax
push ecx
call fcn.005b9d70
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, 4
jne 0x5bc6b4
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x5bc687
mov edi, ebp
call fcn.0056ce30
test eax, eax
jne 0x5bc809
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x84]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x10
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x5bc809
mov edx, dword [edi + 8]
mov esi, dword [esi + edx + 4]
mov dword [esp + 0x48], esi
cmp esi, ebx
jne 0x5bc6cd
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov dword [esp + 0x48], edx
cmp eax, 5
jne 0x5bc6da
mov dword [esp + 0x18], 2
mov eax, dword [esp + 0x60]
mov esi, dword [eax + 8]
cmp esi, ebx
jne 0x5bc778
mov ecx, eax
mov edi, dword [ecx]
mov ecx, 0xe0
mov esi, edi
call fcn.00569810
mov esi, eax
cmp esi, ebx
je 0x5bc7b1
push 0xe0
push ebx
push esi
call fcn.005dfd60
mov dword [esi], edi
mov eax, dword [edi + 4]
add esp, 0xc
cmp eax, ebx
je 0x5bc71e
mov dword [eax + 0x3c], esi
mov edx, dword [edi + 4]
mov dword [esi + 0x40], edx
mov dword [esi + 0x3c], ebx
mov dword [edi + 4], esi
mov dword [esi + 0x34], 0x26bceaa5
mov eax, dword [esp + 0x60]
mov dword [eax + 8], esi
cmp esi, ebx
je 0x5bc778
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x20], eax
mov dword [esp + 0x54], eax
jg 0x5bc757
mov edi, esi
call fcn.0056ce30
test eax, eax
jne 0x5bc778
mov eax, dword [esp + 0x54]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov byte [eax], 0x96
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x18], 2
jne 0x5bc793
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 0x1b8]
cmp eax, ebx
jne 0x5bc78f
mov eax, ecx
mov byte [eax + 0x18], 1
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ecx
mov dword [esp + 0x54], ecx
jg 0x5bc7bc
mov edi, esi
call fcn.0056ce30
test eax, eax
je 0x5bc7b8
mov eax, 1
jmp 0x5bc7e7
xor esi, esi
jmp 0x5bc731
mov ecx, dword [esp + 0x54]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x18]
mov byte [eax], 0x16
mov byte [eax + 3], bl
mov dword [eax + 4], 0x113
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov ecx, dword [esp + 0x48]
push ecx
push esi
xor ecx, ecx
call fcn.0056d2d0
mov eax, dword [esi + 4]
add esp, 8
cmp eax, ebx
je 0x5bc809
mov esi, dword [esi + 0x1c]
lea edx, [esi + esi*4]
mov byte [eax + edx*4 - 0x11], 3
or eax, 0xffffffff
sub eax, dword [esp + 0x50]
js 0x5bc81f
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x5bc81f
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
add dword [esp + 0x40], 0x18
inc eax
cmp eax, dword [ecx]
mov dword [esp + 0x14], eax
jl 0x5bc580
mov esi, dword [esp + 0x64]
cmp byte [esp + 0x7c], bl
je 0x5bcb88
cmp dword [esp + 0x20], ebx
jne 0x5bcb88
mov edi, dword [ebp + 0x24]
lea eax, [edi - 1]
lea edx, [edi + 1]
mov dword [ebp + 0x24], edx
test edi, eax
jne 0x5bc897
mov esi, dword [ebp]
mov ebx, dword [ebp + 0x28]
lea ecx, [edi*8 + 4]
push ecx
mov eax, esi
call fcn.00569890
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
jne 0x5bc88e
mov eax, ebx
mov ecx, esi
call fcn.0055d830
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x64]
mov dword [ebp + 0x28], eax
xor ebx, ebx
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x5bc8a5
mov dword [eax + edi*4], 0xffffffff
mov cl, byte [esp + 0x80]
or eax, 0xffffffff
sub eax, edi
mov dword [esp + 0x40], eax
movzx eax, byte [esi + 0x2d]
mov dword [esp + 0x18], eax
cmp cl, 0xa
je 0x5bc8cb
movzx edx, cl
mov dword [esp + 0x18], edx
jmp 0x5bc8d8
cmp eax, 0xa
jne 0x5bc8d8
mov dword [esp + 0x18], 2
cmp byte [esp + 0x11], bl
je 0x5bc91e
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x5bc8f1
mov edi, ebp
call fcn.0056ce30
test eax, eax
jne 0x5bc91e
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x74]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x78]
mov byte [eax], 0x4d
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x18], 5
jne 0x5bc995
cmp byte [esp + 0x80], 5
je 0x5bc995
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x5bc995
lea ebx, [ebx]
mov cl, byte [eax + 0x36]
cmp cl, 4
je 0x5bc956
cmp cl, 3
je 0x5bc956
mov eax, dword [eax + 0x14]
cmp eax, ebx
jne 0x5bc940
jmp 0x5bc995
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x5bc970
mov edi, ebp
call fcn.0056ce30
test eax, eax
je 0x5bc970
mov esi, 1
jmp 0x5bc991
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov byte [eax], 0x10
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x30], esi
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x5bc9a8
mov edi, ebp
call fcn.0056ce30
test eax, eax
jne 0x5bc9d5
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x6c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x74]
mov byte [eax], 0x41
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 4
ja case.default.0x5bc9e3
jmp dword [eax*4 + 0x5bd548]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x60]
xor esi, esi
test dword [eax + 0x18], 0x40000
je 0x5bca15
mov edx, dword [esp + 0x64]
push ebx
push ebx
push 0x6b
mov eax, edi
call fcn.00566b80
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x5bca74
mov ecx, dword [edi]
test dword [ecx + 0x18], 0x80000
je 0x5bca36
mov ecx, dword [esp + 0x64]
call fcn.00565ed0
test eax, eax
jne 0x5bca74
mov edx, dword [esp + 0x64]
cmp dword [edx + 0x10], ebx
jne 0x5bca74
mov eax, dword [esp + 0x64]
cmp dword [eax + 8], ebx
je 0x5bcaac
mov eax, dword [edi + 0x1b8]
cmp eax, ebx
jne 0x5bca4b
mov eax, edi
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push ebx
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push edi
mov byte [eax + 0x17], 1
call fcn.00598110
add esp, 0x10
mov dword [esp + 0x38], 1
jmp 0x5bcb10
mov eax, dword [edi + 0x1b8]
cmp eax, ebx
jne 0x5bca80
mov eax, edi
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push 1
push 5
push ebx
push 1
mov byte [eax + 0x17], 1
mov eax, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x78]
push ecx
push edx
push esi
push eax
push edi
call fcn.005c0760
add esp, 0x28
mov dword [esp + 0x38], 1
jmp 0x5bcb10
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x5bcac9
mov edi, ebp
call fcn.0056ce30
test eax, eax
jne 0x5bcb10
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x84]
mov byte [eax], 0x10
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x5bcb10
mov dword [esp + 0x18], 2
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
push edx
call fcn.00581590
add esp, 4
or eax, 0xffffffff
sub eax, dword [esp + 0x40]
js 0x5bcb26
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x5bcb26
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
cmp dword [esp + 0x30], ebx
je 0x5bcb88
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x5bcb46
mov edi, ebp
call fcn.0056ce30
test eax, eax
je 0x5bcb46
mov esi, 1
jmp 0x5bcb67
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x10
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x30], ebx
mov dword [esp + 0x58], esi
jl 0x5bcb88
mov eax, dword [ebp + 0x1c]
cmp eax, dword [esp + 0x30]
jbe 0x5bcb88
mov ecx, dword [esp + 0x30]
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 4]
mov dword [ecx + edx*4 + 8], eax
mov edx, dword [esp + 0x64]
mov eax, dword [edx + 8]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x5bd3db
nop
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x34]
cmp dword [eax + ecx*4], ebx
je 0x5bd3c4
mov edi, dword [ebp + 0x24]
mov edx, dword [esp + 0x70]
mov eax, ecx
add eax, edx
lea edx, [edi - 1]
lea ecx, [edi + 1]
mov dword [esp + 0x40], eax
mov dword [ebp + 0x24], ecx
test edi, edx
jne 0x5bcc6e
mov esi, dword [ebp]
mov ebx, dword [ebp + 0x28]
lea eax, [edi*8 + 4]
push eax
mov eax, esi
call fcn.00569890
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
jne 0x5bcc65
test ebx, ebx
je 0x5bcc65
test esi, esi
je 0x5bcc5c
cmp dword [esi + 0x200], eax
je 0x5bcc36
cmp ebx, dword [esi + 0x10c]
jb 0x5bcc22
cmp ebx, dword [esi + 0x110]
jae 0x5bcc22
movzx eax, word [esi + 0xf0]
mov esi, dword [esi + 0x200]
add dword [esi], eax
jmp 0x5bcc65
push ebx
call dword [0x69fd68]
mov esi, dword [esi + 0x200]
add esp, 4
add dword [esi], eax
jmp 0x5bcc65
cmp ebx, dword [esi + 0x10c]
jb 0x5bcc5c
cmp ebx, dword [esi + 0x110]
jae 0x5bcc5c
mov ecx, dword [esi + 0x108]
mov dword [ebx], ecx
dec dword [esi + 0xf4]
mov dword [esi + 0x108], ebx
jmp 0x5bcc65
push ebx
call fcn.0055d790
add esp, 4
mov edx, dword [esp + 0x54]
mov dword [ebp + 0x28], edx
xor ebx, ebx
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x5bcc7c
mov dword [eax + edi*4], 0xffffffff
mov esi, dword [esp + 0x1c]
or eax, 0xffffffff
sub eax, edi
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x24], ebx
je 0x5bcd00
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x34]
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
mov edx, dword [eax + ecx*4]
mov dword [esp + 0x54], edx
jg 0x5bccb0
mov edi, ebp
call fcn.0056ce30
test eax, eax
jne 0x5bccd5
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x54]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
inc eax
push 8
mov dword [esi + 0x58], eax
mov eax, dword [edx + 0x24]
push ecx
push eax
push esi
call fcn.005ba030
mov dword [esi + 0x58], ebx
mov esi, dword [esp + 0x2c]
add esp, 0x10
mov eax, dword [esp + 0x60]
movzx ecx, word [esi + 0x34]
mov edx, dword [eax + 0x3c]
cmp ecx, edx
mov edi, dword [eax + 0x40]
mov dword [esp + 0x24], edi
jg 0x5bcd22
add edi, ecx
sub edx, ecx
mov dword [eax + 0x40], edi
mov dword [eax + 0x3c], edx
jmp 0x5bcd31
mov edx, dword [eax + 0x4c]
lea edi, [edx + 1]
add ecx, edx
mov dword [esp + 0x24], edi
mov dword [eax + 0x4c], ecx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x14], ecx
cmp dx, word [esi + 0x34]
jae 0x5bcdcb
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
movsx eax, word [edx + ecx*2]
cmp eax, ebx
jl 0x5bcd6c
mov edx, dword [esp + 0x64]
movsx edx, word [edx + 0x24]
cmp eax, edx
je 0x5bcd6c
mov edx, dword [esp + 0x74]
lea eax, [eax + edx + 1]
mov dword [esp + 0x48], eax
jmp 0x5bcd74
mov edx, dword [esp + 0x74]
mov dword [esp + 0x48], edx
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x5bcd8b
mov edi, ebp
call fcn.0056ce30
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x5bcdb6
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
add edx, ecx
mov byte [eax], 0x1f
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x1c]
movzx edx, word [eax + 0x34]
inc ecx
cmp ecx, edx
mov dword [esp + 0x14], ecx
jl 0x5bcd43
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0x34]
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
jg 0x5bcdf9
mov edi, ebp
call fcn.0056ce30
test eax, eax
jne 0x5bce26
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x24]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov byte [eax], 0x2d
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [esp + 0x1c]
mov eax, ebp
call fcn.00570480
mov ecx, dword [ebp + 4]
mov edi, dword [ebp]
mov dword [esp + 0x28], eax
cmp ecx, ebx
je 0x5bceb6
cmp byte [edi + 0x40], bl
jne 0x5bceb6
mov eax, dword [ebp + 0x1c]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x54], esi
call fcn.0056d100
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x5bce72
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x5bcec1
cmp byte [eax], bl
je 0x5bce7b
inc eax
cmp byte [eax], bl
jne 0x5bce76
sub eax, dword [esp + 0x28]
mov esi, dword [ebp]
and eax, 0x3fffffff
mov edi, eax
lea ecx, [edi + 1]
call fcn.00569810
mov esi, eax
cmp esi, ebx
je 0x5bcea9
mov eax, dword [esp + 0x28]
push edi
push eax
push esi
call fcn.005e13c0
add esp, 0xc
mov byte [esi + edi], bl
mov eax, dword [esp + 0x54]
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xff
jmp 0x5bcec1
mov ecx, dword [esp + 0x28]
xor eax, eax
call fcn.0056d100
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
movzx eax, word [edi + 0x34]
mov esi, dword [esp + 0x60]
push ecx
call fcn.00564940
add esp, 4
cmp byte [esp + 0x11], bl
je 0x5bcf0f
cmp dword [esp + 0x20], edi
jne 0x5bcf0f
cmp byte [esp + 0x7c], bl
jne 0x5bcf0f
or eax, 0xffffffff
sub eax, dword [esp + 0x2c]
js 0x5bd3c4
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x5bd3c4
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
jmp 0x5bd3c4
movzx eax, byte [edi + 0x36]
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x5bcf3f
movzx edi, word [edi + 0x34]
mov eax, dword [esp + 0x24]
push eax
mov eax, edi
call fcn.00564940
add esp, 4
cmp edi, dword [esi + 0x3c]
jle 0x5bceec
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], ecx
jmp 0x5bceec
mov cl, byte [esp + 0x80]
cmp cl, 0xa
je 0x5bcf54
movzx eax, cl
mov dword [esp + 0x18], eax
jmp 0x5bcf61
cmp eax, 0xa
jne 0x5bcf61
mov dword [esp + 0x18], 2
movzx ecx, word [edi + 0x32]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push 0x3e
mov eax, ebp
call fcn.00575c60
add esp, 0x14
cmp edi, dword [esp + 0x20]
jne 0x5bcf8d
mov edx, dword [esp + 0x24]
jmp 0x5bcfb7
mov eax, dword [esi + 0x3c]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
mov edx, dword [esi + 0x40]
jg 0x5bcfac
lea edi, [edx + ecx]
sub eax, ecx
mov dword [esi + 0x40], edi
mov edi, dword [esp + 0x1c]
mov dword [esi + 0x3c], eax
jmp 0x5bcfb7
mov eax, dword [esi + 0x4c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x64]
test byte [eax + 0x2c], 0x20
mov dword [esp + 0x28], edx
jne 0x5bd058
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x5bcfdc
mov edi, ebp
call fcn.0056ce30
test eax, eax
jne 0x5bd005
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
mov byte [eax], 0x6b
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp byte [esp + 0x11], bl
je 0x5bd2f7
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x5bd026
mov edi, ebp
call fcn.0056ce30
test eax, eax
jne 0x5bd2f7
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x28]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x78]
mov byte [eax], 0x4d
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x5bd2f7
cmp byte [esp + 0x11], bl
jne 0x5bd06d
cmp dword [esp + 0x18], 5
jne 0x5bd2f7
mov edi, dword [esp + 0x1c]
cmp edi, dword [esp + 0x20]
je 0x5bd126
mov ecx, dword [esp + 0x20]
xor edi, edi
xor eax, eax
mov dword [esp + 0x14], edi
cmp ax, word [ecx + 0x32]
jae 0x5bd126
lea ecx, [ecx]
mov ecx, dword [esp + 0x1c]
movzx edx, word [ecx + 0x34]
xor eax, eax
cmp edx, ebx
jle 0x5bd0c1
mov esi, dword [esp + 0x20]
mov esi, dword [esi + 4]
movzx esi, word [esi + edi*2]
mov ecx, dword [ecx + 4]
lea esp, [esp]
cmp si, word [ecx]
je 0x5bd162
inc eax
add ecx, 2
cmp eax, edx
jl 0x5bd0b0
or eax, 0xffffffff
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
movsx edx, ax
mov dword [esp + 0x48], edx
jg 0x5bd0e2
mov edi, ebp
call fcn.0056ce30
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x5bd111
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
add edx, edi
mov byte [eax], 0x2b
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 0x32]
inc edi
cmp edi, ecx
mov dword [esp + 0x14], edi
jl 0x5bd090
cmp byte [esp + 0x11], bl
je 0x5bd2f7
mov edx, dword [esp + 0x20]
movzx ecx, word [edx + 0x32]
mov eax, dword [ebp + 0x1c]
add eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x38]
and dl, 3
mov dword [esp + 0x4c], 0x4c
cmp dl, 2
jne 0x5bd16a
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], eax
jmp 0x5bd172
movzx eax, ax
jmp 0x5bd0c4
mov edx, dword [esp + 0x28]
mov dword [esp + 0x54], edx
cmp ecx, ebx
mov dword [esp + 0x14], ebx
jle 0x5bd2f7
mov edi, edi
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx*4]
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0xc]
mov cl, byte [edx + 0x4d]
mov dl, byte [eax + 0x89]
mov byte [esp + 0x13], cl
mov byte [esp + 0x12], dl
cmp esi, ebx
je 0x5bd1c0
movzx ecx, dl
push ecx
push esi
call fcn.00578450
add esp, 8
mov ecx, eax
jmp 0x5bd1c3
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x5bd1d3
movzx eax, byte [esp + 0x13]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4 - 0x14]
mov dword [esp + 0x40], ecx
cmp byte [esp + 0x12], bl
jne 0x5bd203
cmp ecx, ebx
je 0x5bd1e6
cmp dword [ecx + 0xc], ebx
jne 0x5bd203
mov eax, dword [esp + 0x60]
mov bl, byte [esp + 0x13]
push eax
mov eax, esi
call fcn.005818b0
mov edi, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x40], eax
xor ebx, ebx
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x14]
movsx edx, word [ecx + eax*2]
movzx ecx, word [edi + 0x32]
dec ecx
mov dword [esp + 0x48], edx
cmp eax, ecx
jne 0x5bd22b
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], 0x4d
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x5bd245
mov edi, ebp
call fcn.0056ce30
test eax, eax
je 0x5bd245
mov esi, 1
jmp 0x5bd283
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov dl, byte [esp + 0x4c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x48]
mov byte [eax], dl
mov edx, dword [esp + 0x78]
lea ecx, [ecx + edx + 1]
mov edx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
add ecx, edx
mov byte [eax + 3], bl
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [ebp + 4]
mov edi, dword [ebp]
mov eax, esi
cmp ecx, ebx
je 0x5bd2d0
cmp byte [edi + 0x40], bl
jne 0x5bd2d0
cmp esi, ebx
jge 0x5bd29c
mov eax, dword [ebp + 0x1c]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.0056d100
mov dword [esi + 0x10], ebx
cmp dword [esp + 0x40], ebx
jne 0x5bd2bf
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x5bd2de
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x10], ecx
mov byte [esi + 1], 0xfc
jmp 0x5bd2de
mov ecx, dword [esp + 0x40]
mov eax, 0xfffffffc
call fcn.0056d100
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
movzx ecx, word [edx + 0x32]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5bd180
mov eax, dword [esp + 0x18]
cmp eax, ebx
jle 0x5bd468
cmp eax, 3
jle 0x5bd450
cmp eax, 4
jne 0x5bd468
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x5bd328
mov edi, ebp
call fcn.0056ce30
test eax, eax
jne 0x5bd350
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x84]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x10
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [esp + 0x60]
or eax, 0xffffffff
sub eax, dword [esp + 0x2c]
js 0x5bd36a
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x5bd36a
mov edx, dword [ebp + 0x1c]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x1c]
movzx edi, word [eax + 0x34]
mov ecx, dword [esp + 0x24]
push ecx
mov eax, edi
call fcn.00564940
add esp, 4
cmp edi, dword [esi + 0x3c]
jle 0x5bd390
mov edx, dword [esp + 0x24]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x28], eax
je 0x5bd3c4
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
push ecx
mov eax, edi
call fcn.00564940
add esp, 4
cmp edi, dword [esi + 0x3c]
jle 0x5bd3c4
mov ecx, dword [esp + 0x28]
mov eax, esi
mov edx, edi
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x14]
inc dword [esp + 0x34]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x5bcba0
cmp dword [esp + 0x30], ebx
je 0x5bd43b
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x5bd3f4
mov edi, ebp
call fcn.0056ce30
test eax, eax
jne 0x5bd41a
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x30]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
inc edx
mov byte [eax], 0x10
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [esp + 0x58]
cmp ecx, ebx
jl 0x5bd520
mov eax, dword [ebp + 0x1c]
cmp eax, ecx
jbe 0x5bd50b
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x60]
push edx
push eax
push esi
call fcn.00581380
add esp, 0xc
jmp 0x5bd354
mov esi, dword [esp + 0x60]
mov eax, dword [esi + 0x1b8]
xor edi, edi
cmp eax, ebx
jne 0x5bd47a
mov eax, esi
mov byte [eax + 0x17], 1
mov eax, dword [esp + 0x44]
test dword [eax + 0x18], 0x40000
je 0x5bd4c9
mov ecx, dword [esi]
xor edi, edi
xor eax, eax
test dword [ecx + 0x18], 0x800000
je 0x5bd4a9
mov edx, dword [esp + 0x64]
push edx
mov eax, esi
call fcn.00566a40
add esp, 4
mov ecx, eax
cmp eax, ebx
je 0x5bd4c3
nop
cmp byte [ecx + 8], 0x6b
jne 0x5bd4bc
movzx edx, byte [ecx + 9]
or edi, edx
mov ecx, dword [ecx + 0x20]
cmp ecx, ebx
jne 0x5bd4b0
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
sete cl
movzx edx, cl
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x74]
push 5
push ebx
push eax
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
push edi
push ecx
push esi
call fcn.005c0760
add esp, 0x28
mov dword [esp + 0x38], 1
jmp 0x5bd354
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x4c
ret
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
add esp, 0x4c
ret