Function at 0x10060ad0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x11c
mov eax, dword [esp + 0x124]
push ebx
push ebp
push esi
lea eax, [eax + eax*2]
mov dword [esp + 0x18], ecx
lea eax, [eax*8 + 0xc]
mov dword [esp + 0x14], 2
add eax, ecx
lea ecx, [esp + 0x68]
push edi
push eax
call fcn.1006f330
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x18]
test edi, edi
je 0x10060b1b
cmp byte [edi], 0
cmovne eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push 0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x10], eax
test edi, edi
je 0x10060b7f
cmp byte [edi], 0
je 0x10060b7f
push dword [esp + 0x74]
push 0
call esi
push eax
call ebp
push dword [esp + 0x6c]
push 0
call esi
push eax
call ebx
push dword [esp + 0x70]
mov edi, eax
push edi
mov dword [esp + 0x7c], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.1006eb70
mov edi, dword [esp + 0x74]
add esp, 4
push 0
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
mov eax, dword [esp + 0x28]
push dword [esp + 0x13c]
push dword [eax + 0xf0]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x10060c2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x10]
push 0
cmp eax, 0x7a
jne 0x10060c20
call esi
push eax
call ebp
push dword [esp + 0x18]
push 0
call esi
push eax
call ebx
mov dword [esp + 0x10], eax
test edi, edi
je 0x10060bf6
cmp byte [edi], 0
je 0x10060bf6
push dword [esp + 0x18]
lea ecx, [esp + 0x70]
call fcn.10070480
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.1006eb70
mov eax, dword [esp + 0x14]
add esp, 4
mov edi, dword [esp + 0x130]
lea ecx, [esp + 0x18]
push 0
push ecx
push eax
mov eax, dword [esp + 0x28]
push edi
push dword [eax + 0xf0]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x10060c33
push dword [esp + 0x10]
push 0
call esi
push eax
call ebp
xor bl, bl
jmp 0x100617cb
mov edi, dword [esp + 0x130]
cmp edi, 0x16
jne 0x1006175f
push dword [esp + 0x10]
lea ecx, [esp + 0x40]
call fcn.1006f2c0
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x544], 0
nop word [eax + eax]
mov dword [esp + 0x5c], 0x40af9b78
mov dword [esp + 0x60], 0x6b49168
mov dword [esp + 0x64], 0x6de19b42
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x68], 0
cmp byte [esp + 0x68], 0
jne 0x10060ca3
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x5c]
xor eax, 0x6ddbfe2b
mov dword [esp + ecx*4 + 0x5c], eax
inc ecx
cmp ecx, 3
jb 0x10060c90
push 0x10
push 0
call esi
push eax
call ebx
push 0x1f
push 0
mov dword [esp + 0x98], eax
call esi
push eax
call ebx
push 0x29
push 0
mov dword [esp + 0x9c], eax
call esi
push eax
call ebx
push 1
push 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0x8c], 1
call esi
push eax
call ebx
mov edi, eax
push 1
push 0
mov byte [edi], 0
call esi
push eax
call ebx
push edi
push 0
mov dword [esp + 0x94], eax
mov byte [eax], 0
call esi
push eax
call ebp
xor edi, edi
lea eax, [esp + 0x5c]
nop dword [eax]
inc edi
cmp byte [eax], 0
je 0x10060d19
inc eax
jmp 0x10060d10
push edi
push 0
mov dword [esp + 0x8c], edi
call esi
push eax
call ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x88], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ecx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x44]
call fcn.10070560
mov ecx, dword [esp + 0x40]
test eax, eax
jns 0x10060d59
xor edi, edi
jmp 0x10060d65
dec edi
dec ecx
add eax, edi
mov edi, dword [esp + 0x3c]
add ecx, eax
sub edi, eax
push dword [esp + 0x44]
mov dword [esp + 0x18], ecx
push 0
call esi
push eax
call ebp
lea eax, [edi + 1]
push eax
push 0
call esi
push eax
call ebx
mov edx, dword [esp + 0x14]
mov ecx, eax
push edi
mov dword [esp + 0x48], eax
call fcn.1006eb70
mov eax, dword [esp + 0x48]
add esp, 4
push dword [esp + 0x40]
mov byte [edi + eax], 0
push 0
call esi
push eax
call ebp
mov ecx, dword [esp + 0x44]
xor eax, eax
nop dword [eax + eax]
inc eax
cmp byte [ecx], 0
je 0x10060db9
inc ecx
jmp 0x10060db0
push eax
push 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
call esi
push eax
call ebx
push dword [esp + 0x44]
mov edi, eax
push edi
mov dword [esp + 0x48], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0x90]
push 0
call esi
push eax
call ebp
push dword [esp + 0x94]
push 0
call esi
push eax
call ebp
push dword [esp + 0x98]
push 0
call esi
push eax
call ebp
push dword [esp + 0x88]
push 0
call esi
push eax
call ebp
test edi, edi
je 0x10061730
cmp byte [edi], 0
je 0x10061730
push 0x10
push 0
call esi
push eax
call ebx
push 0x1f
push 0
mov dword [esp + 0xb0], eax
call esi
push eax
call ebx
push 0x29
push 0
mov dword [esp + 0xb4], eax
call esi
push eax
call ebx
push 1
push 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xa4], 1
call esi
push eax
call ebx
mov edi, eax
push 1
push 0
mov byte [edi], 0
call esi
push eax
call ebx
push edi
push 0
mov dword [esp + 0xac], eax
mov byte [eax], 0
call esi
push eax
call ebp
xor edi, edi
mov eax, 0x100bf690
nop
inc edi
cmp byte [eax], 0
je 0x10060e99
inc eax
jmp 0x10060e90
push edi
push 0
mov dword [esp + 0xa4], edi
call esi
push eax
call ebx
push 0x100bf690
push eax
mov dword [esp + 0xa8], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ecx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x44]
call fcn.10070560
mov ecx, dword [esp + 0x40]
test eax, eax
jns 0x10060ed9
xor edi, edi
jmp 0x10060ee5
dec edi
dec ecx
add eax, edi
mov edi, dword [esp + 0x20]
add ecx, eax
sub edi, eax
push dword [esp + 0x44]
mov dword [esp + 0x18], ecx
push 0
call esi
push eax
call ebp
lea eax, [edi + 1]
push eax
push 0
call esi
push eax
call ebx
mov edx, dword [esp + 0x14]
mov ecx, eax
push edi
mov dword [esp + 0x48], eax
call fcn.1006eb70
mov eax, dword [esp + 0x48]
add esp, 4
push dword [esp + 0x40]
mov byte [edi + eax], 0
push 0
call esi
push eax
call ebp
mov edi, dword [esp + 0x44]
xor ecx, ecx
mov eax, edi
nop dword [eax]
inc ecx
cmp byte [eax], 0
je 0x10060f39
inc eax
jmp 0x10060f30
push ecx
push 0
mov dword [esp + 0x44], ecx
call esi
push eax
call ebx
push edi
push eax
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0xa8]
push 0
call esi
push eax
call ebp
push dword [esp + 0xac]
push 0
call esi
push eax
call ebp
push dword [esp + 0xb0]
push 0
call esi
push eax
call ebp
push dword [esp + 0xa0]
push 0
call esi
push eax
call ebp
mov dword [esp + 0x54], 0x60bb303
mov eax, dword [esp + 0x54]
mov byte [esp + 0x58], 0
cmp byte [esp + 0x58], 0
jne 0x10060fae
mov eax, dword [esp + 0x54]
xor eax, 0x60bb90e
mov dword [esp + 0x54], eax
push 0x10
push 0
call esi
push eax
call ebx
push 0x1f
push 0
mov dword [esp + 0xc8], eax
call esi
push eax
call ebx
push 0x29
push 0
mov dword [esp + 0xcc], eax
call esi
push eax
call ebx
push 1
push 0
mov dword [esp + 0xd0], eax
mov dword [esp + 0xbc], 1
call esi
push eax
call ebx
mov edi, eax
push 1
push 0
mov byte [edi], 0
call esi
push eax
call ebx
push edi
push 0
mov dword [esp + 0xc4], eax
mov byte [eax], 0
call esi
push eax
call ebp
xor ecx, ecx
lea eax, [esp + 0x54]
inc ecx
cmp byte [eax], 0
je 0x10061021
inc eax
jmp 0x10061018
push ecx
push 0
mov dword [esp + 0xbc], ecx
call esi
push eax
call ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0xb8], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ecx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x44]
call fcn.10070560
push dword [esp + 0x44]
mov ebx, eax
mov eax, 1
test ebx, ebx
push 0
cmovs ebx, eax
mov edi, ebx
dec ebx
call esi
push eax
call ebp
push edi
push 0
call esi
push eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapAlloc]
call eax
mov edx, dword [esp + 0x40]
mov edi, eax
push ebx
mov ecx, edi
mov dword [esp + 0x48], edi
call fcn.1006eb70
add esp, 4
mov byte [ebx + edi], 0
push 0x10
push 0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
push 0x1f
push 0
mov dword [esp + 0x38], eax
call esi
push eax
call ebx
push 0x29
push 0
mov dword [esp + 0x3c], eax
call esi
push eax
call ebx
push 1
push 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], 1
call esi
push eax
call ebx
mov edi, eax
push 1
push 0
mov byte [edi], 0
call esi
push eax
call ebx
push edi
push 0
mov dword [esp + 0x34], eax
mov byte [eax], 0
call esi
push eax
call ebp
xor ebx, ebx
mov edi, dword [esp + 0x44]
mov ecx, edi
inc ebx
cmp byte [ecx], 0
je 0x10061101
inc ecx
jmp 0x100610f8
push ebx
push 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
push edi
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0xc0]
push 0
call esi
push eax
call ebp
push dword [esp + 0xc4]
push 0
call esi
push eax
call ebp
push dword [esp + 0xc8]
push 0
call esi
push eax
call ebp
push dword [esp + 0xb8]
push 0
call esi
push eax
call ebp
push 0x10
push 0
call esi
push eax
call ebx
push 0x1f
push 0
mov dword [esp + 0x128], eax
call esi
push eax
call ebx
push 0x29
push 0
mov dword [esp + 0x12c], eax
call esi
push eax
call ebx
push 1
push 0
mov dword [esp + 0x130], eax
mov dword [esp + 0x11c], 1
call esi
push eax
call ebx
mov edi, eax
push 1
push 0
mov byte [edi], 0
call esi
push eax
call ebx
push edi
push 0
mov dword [esp + 0x124], eax
mov byte [eax], 0
call esi
push eax
call ebp
xor ecx, ecx
mov eax, 0x100bf69c
inc ecx
cmp byte [eax], 0
je 0x100611cf
inc eax
jmp 0x100611c6
push ecx
push 0
mov dword [esp + 0x11c], ecx
call esi
push eax
call ebx
mov ebx, eax
push 0x100bf69c
push ebx
mov dword [esp + 0x120], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x28]
call fcn.100708b0
push dword [esp + 0x120]
mov edi, eax
push 0
call esi
push eax
call ebp
push dword [esp + 0x124]
push 0
call esi
push eax
call ebp
push dword [esp + 0x128]
push 0
call esi
push eax
call ebp
push ebx
push 0
call esi
push eax
call ebp
test edi, edi
js 0x100616a1
push 0x10
push 0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
push 0x1f
push 0
mov dword [esp + 0xe0], eax
call esi
push eax
call ebx
push 0x29
push 0
mov dword [esp + 0xe4], eax
call esi
push eax
call ebx
push 1
push 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xd4], 1
call esi
push eax
call ebx
mov edi, eax
push 1
push 0
mov byte [edi], 0
call esi
push eax
call ebx
push edi
push 0
mov dword [esp + 0xdc], eax
mov byte [eax], 0
call esi
push eax
call ebp
xor ecx, ecx
mov eax, 0x100bf69c
inc ecx
cmp byte [eax], 0
je 0x100612ba
inc eax
jmp 0x100612b1
push ecx
push 0
mov dword [esp + 0xd4], ecx
call esi
push eax
call ebx
push 0x100bf69c
push eax
mov dword [esp + 0xd8], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x544]
lea eax, [ebx + 0x454]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
lea ecx, [edx + 1]
mov dword [esp + 0x14], eax
push ecx
lea eax, [esp + 0xd0]
mov dword [ebx + 0x544], ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.10070560
push dword [esp + 0x2c]
mov ebx, eax
mov eax, 1
test ebx, ebx
push 0
cmovs ebx, eax
mov edi, ebx
dec ebx
call esi
push eax
call ebp
push edi
push 0
call esi
push eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapAlloc]
call eax
mov edx, dword [esp + 0x28]
mov edi, eax
push ebx
mov ecx, edi
mov dword [esp + 0x30], edi
call fcn.1006eb70
mov byte [ebx + edi], 0
add esp, 4
mov ebx, dword [esp + 0x14]
push dword [ebx + 4]
push 0
call esi
push eax
call ebp
xor ecx, ecx
mov eax, edi
inc ecx
cmp byte [eax], 0
je 0x1006136c
inc eax
jmp 0x10061363
push ecx
push 0
mov dword [ebx], ecx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov ecx, dword [esp + 0x14]
push edi
push eax
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0xd8]
push 0
call esi
push eax
call ebp
push dword [esp + 0xdc]
push 0
call esi
push eax
call ebp
push dword [esp + 0xe0]
push 0
call esi
push eax
call ebp
push dword [esp + 0xd0]
push 0
call esi
push eax
call ebp
push 0x10
push 0
call esi
push eax
call ebx
push 0x1f
push 0
mov dword [esp + 0xf8], eax
call esi
push eax
call ebx
push 0x29
push 0
mov dword [esp + 0xfc], eax
call esi
push eax
call ebx
push 1
push 0
mov dword [esp + 0x100], eax
mov dword [esp + 0xec], 1
call esi
push eax
call ebx
mov edi, eax
push 1
push 0
mov byte [edi], 0
call esi
push eax
call ebx
push edi
push 0
mov dword [esp + 0xf4], eax
mov byte [eax], 0
call esi
push eax
call ebp
xor edi, edi
mov eax, 0x100bf69c
nop
inc edi
cmp byte [eax], 0
je 0x10061439
inc eax
jmp 0x10061430
push edi
push 0
mov dword [esp + 0xec], edi
call esi
push eax
call ebx
push 0x100bf69c
push eax
mov dword [esp + 0xf0], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ecx
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x2c]
call fcn.10070560
test eax, eax
jns 0x1006147d
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x14], eax
jmp 0x10061491
mov ecx, dword [esp + 0x28]
dec eax
add eax, edi
dec ecx
mov edi, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x14], ecx
sub edi, eax
push dword [esp + 0x2c]
push 0
call esi
push eax
call ebp
lea eax, [edi + 1]
push eax
push 0
call esi
push eax
call ebx
mov edx, dword [esp + 0x14]
mov ecx, eax
push edi
mov dword [esp + 0x30], eax
call fcn.1006eb70
mov eax, dword [esp + 0x30]
add esp, 4
push dword [esp + 0x28]
mov byte [edi + eax], 0
push 0
call esi
push eax
call ebp
mov edi, dword [esp + 0x2c]
xor eax, eax
mov ecx, edi
inc eax
cmp byte [ecx], 0
je 0x100614de
inc ecx
jmp 0x100614d5
push eax
push 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call esi
push eax
call ebx
push edi
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0xf0]
push 0
call esi
push eax
call ebp
push dword [esp + 0xf4]
push 0
call esi
push eax
call ebp
push dword [esp + 0xf8]
push 0
call esi
push eax
call ebp
push dword [esp + 0xe8]
push 0
call esi
push eax
call ebp
push 0x10
push 0
call esi
push eax
call ebx
push 0x1f
push 0
mov dword [esp + 0x110], eax
call esi
push eax
call ebx
push 0x29
push 0
mov dword [esp + 0x114], eax
call esi
push eax
call ebx
push 1
push 0
mov dword [esp + 0x118], eax
mov dword [esp + 0x104], 1
call esi
push eax
call ebx
mov edi, eax
push 1
push 0
mov byte [edi], 0
call esi
push eax
call ebx
push edi
push 0
mov dword [esp + 0x10c], eax
mov byte [eax], 0
call esi
push eax
call ebp
xor edi, edi
mov eax, 0x100bf690
nop dword [eax]
inc edi
cmp byte [eax], 0
je 0x100615a9
inc eax
jmp 0x100615a0
push edi
push 0
mov dword [esp + 0x104], edi
call esi
push eax
call ebx
push 0x100bf690
push eax
mov dword [esp + 0x108], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ecx
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x2c]
call fcn.10070560
mov ecx, dword [esp + 0x28]
test eax, eax
jns 0x100615e9
xor edi, edi
jmp 0x100615f5
dec edi
dec ecx
add eax, edi
mov edi, dword [esp + 0x20]
add ecx, eax
sub edi, eax
mov eax, dword [esp + 0x2c]
push eax
push 0
mov dword [esp + 0x1c], ecx
call esi
push eax
call ebp
lea eax, [edi + 1]
push eax
push 0
call esi
push eax
call ebx
mov edx, dword [esp + 0x14]
mov ebx, eax
push edi
mov ecx, ebx
mov dword [esp + 0x30], ebx
call fcn.1006eb70
add esp, 4
mov byte [edi + ebx], 0
push dword [esp + 0x28]
push 0
call esi
push eax
call ebp
mov edi, dword [esp + 0x2c]
xor ebx, ebx
mov eax, edi
nop dword [eax]
inc ebx
cmp byte [eax], 0
je 0x10061649
inc eax
jmp 0x10061640
push ebx
push 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
push edi
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0x108]
push 0
call esi
push eax
call ebp
push dword [esp + 0x10c]
push 0
call esi
push eax
call ebp
push dword [esp + 0x110]
push 0
call esi
push eax
call ebp
push dword [esp + 0x100]
jmp 0x10061154
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x544]
lea ebx, [ecx + 0x454]
lea eax, [eax + eax*2]
push dword [ebx + eax*8 + 4]
lea ebx, [ebx + eax*8]
push 0
mov dword [esp + 0x28], ebx
call esi
push eax
call ebp
mov edi, dword [esp + 0x28]
xor ecx, ecx
mov eax, edi
nop
inc ecx
cmp byte [eax], 0
je 0x100616d9
inc eax
jmp 0x100616d0
push ecx
push 0
mov dword [ebx], ecx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov ecx, dword [esp + 0x20]
push edi
push eax
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0x30]
push 0
call esi
push eax
call ebp
push dword [esp + 0x34]
push 0
call esi
push eax
call ebp
push dword [esp + 0x38]
push 0
call esi
push eax
call ebp
push edi
push 0
call esi
push eax
call ebp
mov eax, dword [esp + 0x1c]
inc dword [eax + 0x544]
jmp 0x10060c60
push dword [esp + 0x10]
push 0
call esi
push eax
call ebp
push dword [esp + 0x48]
push 0
call esi
push eax
call ebp
push dword [esp + 0x4c]
push 0
call esi
push eax
call ebp
push dword [esp + 0x50]
push 0
call esi
push eax
call ebp
push edi
jmp 0x100617c2
cmp edi, 0x13
jne 0x1006179c
cmp dword [esp + 0x18], 3
jb 0x10060c1a
mov edx, dword [esp + 0x10]
push edx
movsx eax, byte [edx]
lea ecx, [eax + eax*4]
movsx eax, byte [edx + 1]
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, byte [edx + 2]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x20]
add eax, 0xffffeb30
mov dword [ecx + 0x2f4], eax
jmp 0x100617c2
mov eax, dword [esp + 0x134]
cmp eax, 8
jg 0x10060c1a
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
push ebx
mov ecx, dword [ecx + eax*4 + 0x400]
call fcn.1006f530
push ebx
push 0
call esi
push eax
call ebp
mov bl, 1
push dword [esp + 0x78]
push 0
call esi
push eax
call ebp
push dword [esp + 0x7c]
push 0
call esi
push eax
call ebp
push dword [esp + 0x80]
push 0
call esi
push eax
call ebp
push dword [esp + 0x70]
push 0
call esi
push eax
call ebp
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x11c
ret 8