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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff634
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov esi, eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x58], 0
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x50], eax
xor ecx, ecx
push ebp
push 0x5a7786
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x84]
xor ecx, ecx
mov edx, 0x30
call fcn.00403740
mov eax, dword [ebx]
mov dword [ebp - 0x5c], eax
mov dl, 1
mov eax, dword [0x4192f0]
call fcn.00404054
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
xor eax, eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x5a6dd9
mov eax, dword [ebx]
cmp dword [eax + 8], 1
jne 0x5a6961
mov eax, dword [ebx]
cmp dword [eax + 0x10], 1
jne 0x5a6961
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 1
je 0x5a6991
lea ecx, [ebp - 0x36]
lea edx, [ebp - 0x33]
mov eax, dword [ebp - 8]
call fcn.00604210
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x5a6991
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 8]
push eax
push 1
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ecx, eax
mov dl, 1
mov eax, dword [0x619234]
call fcn.00620800
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x30]
call fcn.006225f8
jmp 0x5a6991
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 1
jne 0x5a6991
mov dl, 1
mov eax, dword [0x619234]
call fcn.00620658
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dl, 5
mov eax, dword [ebp - 0x30]
call fcn.00621670
mov edx, dword [ebx]
cmp dword [edx + 0x10], 1
jne 0x5a6a32
mov eax, dword [ebx]
mov eax, dword [eax + 8]
cmp eax, 8
jle 0x5a69b0
cmp eax, 0x10
jne 0x5a6a32
mov eax, dword [ebx]
cmp dword [eax + 8], 1
jle 0x5a6a32
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
mov eax, 1
shl eax, cl
mov edx, pe_nt_image_headers32
call fcn.00601bbc
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x3b8]
push eax
push 0xff
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x551e60]
call fcn.00552aac
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx]
mov al, byte [eax + 0x3c]
cmp al, 5
je 0x5a6a0a
cmp al, 8
je 0x5a6a0a
cmp al, 9
je 0x5a6a0a
mov eax, dword [ebx]
mov byte [eax + 0x3c], 0
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 0xc], 0
je 0x5a6a1b
mov eax, dword [ebx]
mov byte [eax + 0x48], 1
jmp 0x5a6a32
mov eax, dword [ebx]
mov byte [eax + 0x48], 3
mov eax, dword [ebx]
cmp dword [eax + 8], 0x10
jne 0x5a6a32
mov eax, dword [ebx]
mov dword [eax + 8], 8
mov eax, dword [ebx]
cmp byte [eax + 0x48], 3
jne 0x5a6a48
mov eax, dword [ebx]
cmp dword [eax + 0x10], 1
jle 0x5a6a48
mov eax, dword [ebx]
mov byte [eax + 0x48], 2
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 8
jne 0x5a6a6c
mov eax, dword [ebx]
mov dword [eax + 0x10], 3
mov eax, dword [ebx]
mov dword [eax + 8], 0x10
mov eax, dword [ebx]
mov byte [eax + 0x48], 2
mov eax, dword [ebx]
cmp dword [eax + 8], 8
jle 0x5a6a94
mov eax, dword [ebx]
cmp dword [eax + 0x10], 1
je 0x5a6a94
mov eax, dword [ebx]
mov dword [eax + 0x10], 3
mov eax, dword [ebx]
mov dword [eax + 8], 8
mov eax, dword [ebx]
mov byte [eax + 0x48], 2
mov eax, dword [ebx]
mov al, byte [eax + 0x48]
cmp al, 1
je 0x5a6aa1
test al, al
jne 0x5a6ab7
mov eax, dword [ebx]
cmp dword [eax + 8], 8
jne 0x5a6ab7
mov eax, dword [ebx]
cmp dword [eax + 0x10], 3
jne 0x5a6ab7
mov eax, dword [ebx]
mov byte [eax + 0x48], 2
mov eax, dword [ebx]
cmp byte [eax + 0x48], 2
jne 0x5a6ad5
mov eax, dword [ebx]
cmp dword [eax + 0x10], 1
jne 0x5a6ad5
mov eax, dword [ebx]
cmp dword [eax + 8], 1
jne 0x5a6ad5
mov eax, dword [ebx]
mov byte [eax + 0x48], 1
mov eax, dword [ebx]
cmp byte [eax + 0x48], 6
jne 0x5a6aeb
mov eax, dword [ebx]
cmp byte [eax + 0x3c], 7
je 0x5a6aeb
mov eax, dword [ebx]
mov byte [eax + 0x48], 2
mov eax, dword [ebx]
cmp byte [eax + 0x48], 2
jne 0x5a6b04
mov eax, dword [ebx]
cmp dword [eax + 0x10], 3
jle 0x5a6b04
mov eax, dword [ebx]
mov dword [eax + 0x10], 3
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 8
jne 0x5a6b28
mov eax, dword [ebx]
mov dword [eax + 0x10], 3
mov eax, dword [ebx]
mov dword [eax + 8], 0x10
mov eax, dword [ebx]
mov byte [eax + 0x48], 2
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 7
jne 0x5a6b4c
mov eax, dword [ebx]
mov dword [eax + 0x10], 4
mov eax, dword [ebx]
mov dword [eax + 8], 8
mov eax, dword [ebx]
mov byte [eax + 0x48], 5
xor eax, eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx]
movzx eax, byte [eax + 0x48]
cmp eax, 7
ja case.default.0x5a6b5c
jmp dword [eax*4 + 0x5a6b63]
mov byte [ebp - 0x74], 1
jmp 0x5a6bc0
mov byte [ebp - 0x74], 1
jmp 0x5a6bc0
mov byte [ebp - 0x74], 3
jmp 0x5a6bc0
mov byte [ebp - 0x74], 2
jmp 0x5a6bc0
mov byte [ebp - 0x74], 2
jmp 0x5a6bc0
mov byte [ebp - 0x74], 5
mov eax, dword [ebx]
mov dword [eax + 0x10], 4
jmp 0x5a6bc0
mov byte [ebp - 0x74], 2
jmp 0x5a6bc0
mov byte [ebp - 0x74], 7
jmp 0x5a6bc0
mov byte [ebp - 0x74], 2
mov byte [ebp - 0x37], 0
mov eax, dword [ebx]
mov al, byte [eax + 0x3c]
xor edx, edx
mov dl, al
cmp edx, 0xa
ja case.0x5a6bd6.0
jmp dword [edx*4 + 0x5a6bdd]
mov dword [ebp - 0x80], 5
mov dword [ebp - 0x70], 2
mov eax, dword [ebx]
cmp dword [eax + 0x78], 0
je 0x5a6c2f
mov eax, dword [ebx]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x84], eax
jmp case.default.0x5a6cf0
mov eax, dword [0x698e40]
cmp dword [eax], 0
je 0x5a6c4b
mov eax, dword [0x698e40]
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
jmp case.default.0x5a6cf0
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x70], 1
jmp case.default.0x5a6cf0
mov dword [ebp - 0x80], 0x8005
jmp case.default.0x5a6cf0
mov dword [ebp - 0x80], 2
mov byte [ebp - 0x74], 0
mov byte [ebp - 0x37], 1
jmp case.default.0x5a6cf0
mov dword [ebp - 0x80], 3
mov byte [ebp - 0x74], 0
mov byte [ebp - 0x37], 1
jmp case.default.0x5a6cf0
mov dword [ebp - 0x80], 3
mov dword [ebp - 0x7c], 1
mov byte [ebp - 0x74], 0
mov byte [ebp - 0x37], 1
jmp case.default.0x5a6cf0
mov dword [ebp - 0x80], 4
mov byte [ebp - 0x74], 0
mov byte [ebp - 0x37], 1
jmp case.default.0x5a6cf0
cmp al, 7
jne 0x5a6ccb
mov dword [ebp - 0x80], 7
jmp 0x5a6cd2
mov dword [ebp - 0x80], 6
mov eax, dword [ebx]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx]
mov al, byte [eax + 0x84]
mov byte [ebp - 0x60], al
and eax, 0x7f
cmp eax, 4
ja case.default.0x5a6cf0
jmp dword [eax*4 + 0x5a6cf7]
mov byte [ebp - 0x74], 2
jmp case.default.0x5a6cf0
mov byte [ebp - 0x74], 1
jmp case.default.0x5a6cf0
mov byte [ebp - 0x74], 6
jmp case.default.0x5a6cf0
mov byte [ebp - 0x74], 5
jmp case.default.0x5a6cf0
mov byte [ebp - 0x74], 2
mov byte [ebp - 0x60], 0
jmp case.default.0x5a6cf0
mov dword [ebp - 0x80], 0x80b2
jmp case.default.0x5a6cf0
mov dword [ebp - 0x80], 1
mov eax, dword [ebx]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 1
je 0x5a6d6b
cmp dword [ebp - 0x80], 1
jle 0x5a6d6b
cmp dword [ebp - 0x80], 5
jge 0x5a6d6b
mov dword [ebp - 0x80], 1
mov byte [ebp - 0x37], 0
mov eax, dword [ebx]
cmp dword [eax + 8], 8
jne 0x5a6da2
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
cmp edi, 1
je 0x5a6d82
cmp edi, 3
jne 0x5a6da2
cmp byte [ebp - 0x74], 3
je 0x5a6da2
mov eax, dword [ebx]
cmp dword [eax + 8], 1
jle 0x5a6d96
cmp byte [ebp - 0x74], 1
je 0x5a6da2
mov eax, dword [ebp - 0x30]
call fcn.00620c18
test al, al
je 0x5a6da9
mov dword [ebp - 0x70], 1
cmp byte [ebp - 0x37], 0
je 0x5a6dd9
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 8]
jne 0x5a6dd1
mov dl, 1
mov eax, dword [0x619234]
call fcn.00620658
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x30]
call fcn.00604fb4
mov eax, esi
call fcn.0041e990
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp byte [ebp - 1], 0
je 0x5a6ec1
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [ebp - 0x14], 0x4949
je 0x5a6e29
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
mov byte [eax], 1
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.00404910
jmp 0x5a778d
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, esi
call fcn.0041e990
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x3c]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx]
mov eax, dword [eax + 0x40]
cmp eax, dword [ebp - 0x40]
je 0x5a6e61
cmp dword [ebp - 0x3c], 0
jne 0x5a6e6d
mov eax, dword [ebx]
mov eax, dword [eax + 0x40]
cmp eax, dword [ebp - 0x40]
jle 0x5a6e6d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x3c], 0
je 0x5a6eab
mov eax, dword [ebp - 0x3c]
cdq
push edx
push eax
mov eax, esi
call fcn.0041e9b0
lea edx, [ebp - 0x42]
mov ecx, 2
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
movzx eax, word [ebp - 0x42]
mov edx, eax
shl edx, 2
lea edx, [edx + edx*2]
mov cx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
inc dword [ebp - 0x40]
jmp 0x5a6e2e
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0xc], eax
mov cx, 2
xor edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
jmp 0x5a6eda
push 8
lea ecx, [ebp - 0x14]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x28]
mov eax, esi
call fcn.0061ec30
mov dword [ebp - 0xc], 1
mov eax, dword [ebx]
cmp byte [eax + 0x188], 0
je 0x5a6efa
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a7e68
jmp 0x5a6f63
mov eax, dword [ebx]
mov eax, dword [eax + 0x60]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x10e
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4878
mov eax, dword [ebx]
mov eax, dword [eax + 0x1c]
push eax
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x11a
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4768
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
push eax
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x11b
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4768
mov cx, 2
mov edx, 0x128
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
cmp dword [ebp - 0x30], 0
je 0x5a7328
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ecx, eax
mov edx, pe_nt_image_headers32
mov eax, dword [ebp - 0x18]
call fcn.005a4594
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, eax
mov edx, 0x101
mov eax, dword [ebp - 0x18]
call fcn.005a4594
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x10]
and eax, 0x7f
cmp eax, 8
ja case.0x5a6faf.0
jmp dword [eax*4 + 0x5a6fb6]
mov cx, 1
mov edx, 0x102
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp case.0x5a6faf.0
mov cx, 8
mov edx, 0x102
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp case.0x5a6faf.0
mov cx, 8
mov edx, 0x102
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp case.0x5a6faf.0
mov cx, 0x10
mov edx, 0x102
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp case.0x5a6faf.0
mov word [ebp - 0x9bc], 0x10
mov word [ebp - 0x9ba], 0x10
mov word [ebp - 0x9b8], 0x10
lea eax, [ebp - 0x9bc]
push eax
push 2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x102
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4c84
jmp case.0x5a6faf.0
mov word [ebp - 0x9c4], 8
mov word [ebp - 0x9c2], 8
mov word [ebp - 0x9c0], 8
mov word [ebp - 0x9be], 8
lea eax, [ebp - 0x9c4]
push eax
push 3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x102
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4c84
jmp case.0x5a6faf.0
mov al, byte [ebp - 0x74]
dec al
je 0x5a7122
sub al, 2
je 0x5a710d
sub al, 2
jne 0x5a7137
mov word [ebp - 0x9c4], 8
mov word [ebp - 0x9c2], 8
mov word [ebp - 0x9c0], 8
mov word [ebp - 0x9be], 8
lea eax, [ebp - 0x9c4]
push eax
push 3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x102
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4c84
jmp case.0x5a6faf.0
mov eax, dword [ebx]
mov cx, word [eax + 8]
mov edx, 0x102
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp case.0x5a6faf.0
mov eax, dword [ebx]
mov cx, word [eax + 8]
mov edx, 0x102
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp case.0x5a6faf.0
mov word [ebp - 0x9bc], 8
mov word [ebp - 0x9ba], 8
mov word [ebp - 0x9b8], 8
lea eax, [ebp - 0x9bc]
push eax
push 2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x102
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4c84
mov cx, word [ebp - 0x80]
mov edx, 0x103
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 1
jne 0x5a71c6
mov al, byte [ebp - 0x74]
sub al, 1
jb 0x5a719c
je 0x5a71b0
jmp 0x5a726b
xor ecx, ecx
mov edx, 0x106
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp 0x5a726b
mov cx, 1
mov edx, 0x106
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp 0x5a726b
xor eax, eax
mov al, byte [ebp - 0x74]
cmp eax, 7
ja case.0x5a71d4.0
jmp dword [eax*4 + 0x5a71db]
mov cx, 5
mov edx, 0x106
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp 0x5a726b
mov cx, 8
mov edx, 0x106
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp 0x5a726b
mov cx, 3
mov edx, 0x106
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp 0x5a726b
mov cx, 1
mov edx, 0x106
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp 0x5a726b
mov cx, 6
mov edx, 0x106
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp 0x5a726b
mov cx, 2
mov edx, 0x106
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
mov eax, dword [ebx]
mov eax, dword [eax + 0x5c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x10d
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4878
mov eax, dword [ebp - 0x80]
cmp eax, 2
je 0x5a7299
cmp eax, 3
je 0x5a7299
cmp eax, 4
jne 0x5a72ca
mov cx, word [ebp - 0x78]
mov edx, 0x10a
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
mov cx, 1
mov edx, 0x11c
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
xor ecx, ecx
mov edx, 0x147
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x30]
mov al, byte [eax + 4]
mov byte [ebp - 0x51], al
mov eax, dword [ebp - 0x30]
mov dl, byte [0x5a779c]
mov byte [eax + 4], dl
cmp dword [ebp - 0x80], 6
jne 0x5a7307
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.005a5060
jmp 0x5a731f
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.005a52e0
mov eax, dword [ebp - 0x30]
mov dl, byte [ebp - 0x51]
mov byte [eax + 4], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
cmp byte [eax], 0
jne 0x5a7746
cmp dword [ebp - 0x30], 0
je 0x5a7631
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 1
jne 0x5a7363
mov cx, 1
mov edx, 0x115
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp 0x5a73fd
mov al, byte [ebp - 0x74]
dec al
je 0x5a7398
sub al, 2
je 0x5a7385
sub al, 2
jne 0x5a73ab
mov cx, 4
mov edx, 0x115
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp 0x5a73fd
mov cx, 1
mov edx, 0x115
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp 0x5a73fd
mov cx, 1
mov edx, 0x115
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
jmp 0x5a73fd
cmp byte [ebp - 0x58], 0
je 0x5a73ec
mov cx, 4
mov edx, 0x115
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
mov word [ebp - 0x9c8], 1
lea eax, [ebp - 0x9c8]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x152
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4c84
jmp 0x5a73fd
mov cx, 3
mov edx, 0x115
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
cmp dword [ebp - 0x70], 2
jne 0x5a7414
mov cx, 2
mov edx, 0x13d
mov eax, dword [ebp - 0x18]
call fcn.005a46f8
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x11d
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4878
mov eax, dword [ebx]
mov edi, dword [eax + 0x50]
test edi, edi
je 0x5a746c
imul eax, edi, 0x2710
mov dword [ebp - 0x9cc], eax
fild dword [ebp - 0x9cc]
call fcn.00403048
push eax
push 0x2710
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x11e
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4768
mov eax, dword [ebx]
mov edi, dword [eax + 0x54]
test edi, edi
je 0x5a74a8
imul eax, edi, 0x2710
mov dword [ebp - 0x9cc], eax
fild dword [ebp - 0x9cc]
call fcn.00403048
push eax
push 0x2710
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x11f
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4768
mov eax, dword [ebp - 0x80]
cmp eax, 3
jne 0x5a74c2
mov ecx, dword [ebp - 0x7c]
mov edx, 0x124
mov eax, dword [ebp - 0x18]
call fcn.005a4594
jmp 0x5a74d6
cmp eax, 4
jne 0x5a74d6
xor ecx, ecx
mov edx, 0x124
mov eax, dword [ebp - 0x18]
call fcn.005a4594
mov eax, dword [ebp - 0x80]
cmp eax, 3
je 0x5a74e3
cmp eax, 4
jne 0x5a74f2
xor ecx, ecx
mov edx, 0x125
mov eax, dword [ebp - 0x18]
call fcn.005a4594
xor ecx, ecx
mov edx, 0xfe
mov eax, dword [ebp - 0x18]
call fcn.005a4594
mov eax, dword [ebx]
cmp dword [eax + 0x68], 0xffffffff
jg 0x5a7511
mov eax, dword [ebx]
cmp dword [eax + 0x6c], 0xffffffff
jle 0x5a754a
mov eax, dword [ebx]
mov ax, word [eax + 0x68]
mov word [ebp - 0x9cc], ax
mov eax, dword [ebx]
mov ax, word [eax + 0x6c]
mov word [ebp - 0x9ca], ax
lea eax, [ebp - 0x9cc]
push eax
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x129
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4c84
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, dword [ebx]
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4d0c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, dword [ebx]
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4da4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, dword [ebx]
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4eb0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, dword [ebx]
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4e24
cmp byte [ebp - 0x74], 3
jne 0x5a7631
mov ebx, dword [ebp - 0x50]
dec ebx
test ebx, ebx
jl 0x5a760c
inc ebx
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x3b6]
lea edx, [ebp - 0x9b4]
xor ecx, ecx
mov cl, byte [eax]
mov edi, ecx
shl ecx, 8
add ecx, edi
mov word [edx], cx
xor ecx, ecx
mov cl, byte [eax - 1]
mov edi, ecx
shl ecx, 8
add ecx, edi
mov edi, dword [ebp - 0x1c]
add edi, dword [ebp - 0x50]
mov word [ebp + edi*2 - 0x9b4], cx
xor ecx, ecx
mov cl, byte [eax - 2]
mov edi, ecx
shl ecx, 8
add ecx, edi
mov edi, dword [ebp - 0x50]
add edi, edi
add edi, dword [ebp - 0x1c]
mov word [ebp + edi*2 - 0x9b4], cx
inc dword [ebp - 0x1c]
add edx, 2
add eax, 3
dec ebx
jne 0x5a75bc
lea eax, [ebp - 0x9b4]
push eax
mov eax, dword [ebp - 0x50]
lea eax, [eax + eax*2]
dec eax
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x140
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.005a4c84
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x28]
mov eax, esi
call fcn.005a4560
mov dword [ebp - 0x20], eax
cmp byte [ebp - 1], 0
je 0x5a7668
mov eax, dword [ebp - 0x48]
cdq
push edx
push eax
mov eax, esi
call fcn.0041e9b0
push 4
lea ecx, [ebp - 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x28]
mov eax, esi
call fcn.0061ec30
jmp 0x5a7699
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, esi
call fcn.0041e9b0
mov word [ebp - 0x14], 0x4949
mov word [ebp - 0x12], 0x2a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
push 8
lea ecx, [ebp - 0x14]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x28]
mov eax, esi
call fcn.0061ec30
mov eax, dword [ebp - 0x20]
cdq
push edx
push eax
mov eax, esi
call fcn.0041e9b0
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 8]
mov word [ebp - 0x2a], ax
push 2
lea ecx, [ebp - 0x2a]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x28]
mov eax, esi
call fcn.0061ec30
mov eax, dword [ebp - 0x18]
call fcn.0059d01c
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x5a7715
inc ebx
mov dword [ebp - 0x1c], 0
push 0xc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0041bc38
mov ecx, eax
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x28]
mov eax, esi
call fcn.0061ec30
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0041bc38
mov edx, 0xc
call fcn.00402b60
inc dword [ebp - 0x1c]
dec ebx
jne 0x5a76de
cmp byte [ebp - 1], 0
je 0x5a772f
push 4
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x28]
mov eax, esi
call fcn.0061ec30
jmp 0x5a7746
xor eax, eax
mov dword [ebp - 0x1c], eax
push 4
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x28]
mov eax, esi
call fcn.0061ec30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a778d
cmp dword [ebp - 0x18], 0
je 0x5a7761
lea eax, [ebp - 0x18]
call fcn.00410204
cmp dword [ebp - 0x30], 0
je 0x5a7777
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 8]
je 0x5a7777
lea eax, [ebp - 0x30]
call fcn.00410204
cmp dword [ebp - 0x6c], 0
je 0x5a7785
lea eax, [ebp - 0x6c]
call fcn.00410204
ret
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8