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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x1029912c]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, ecx
mov byte [esp + 0x17], 0
push ebx
mov ebx, dword [ebp + 0x14]
xor ecx, ecx
push esi
push edi
mov edi, dword [eax + 8]
mov esi, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x24], esi
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x64], ecx
cmp dword [edi + 0x70], ecx
jg 0x10151b7e
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.101008a0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x64], eax
jmp 0x10151bb1
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edx + 0x10]
xor ecx, ecx
mov esi, dword [esi + 0x14]
xorps xmm0, xmm0
mov ebx, dword [ebx + 0x40]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x38], ebx
movlpd qword [esp + 0x40], xmm0
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [esp + 0x3c], eax
cmp esi, eax
jae 0x10151dc1
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], eax
nop dword [eax]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x38]
mov ebx, dword [esi]
mov eax, dword [eax]
or eax, dword [edi + 4]
mov edi, dword [esp + 0x28]
jne 0x10151c7e
test byte [esi + 0xa], 2
jne 0x10151c7e
test byte [ebx + 4], 1
jne 0x10151c7e
mov eax, dword [edx + 0x2c]
lea ecx, [esp + 0x68]
mov edx, ebx
mov byte [esp + 0x7c], 3
mov dword [esp + 0x6c], fcn.10118000
mov dword [esp + 0x70], 0x10117fa0
mov dword [esp + 0x80], eax
call fcn.10113210
cmp byte [esp + 0x7c], 0
je 0x10151c76
mov edx, ebx
mov ebx, dword [esp + 0x14]
push 0
push 0
mov ecx, dword [ebx]
call fcn.10116ef0
mov edx, dword [esp + 0x58]
mov ecx, dword [ebx]
push eax
call fcn.10116900
add esp, 0xc
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x10151daa
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x10151da6
test byte [edx + 0x24], 8
je 0x10151cad
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x10151cad
test cl, cl
js 0x10151da6
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x10151da6
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x10151da6
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esi]
call fcn.10115cc0
test eax, eax
je 0x10151da2
mov edx, dword [esi + 0x1c]
xor ebx, ebx
cmp edx, 0x40
jl 0x10151cfb
mov dword [esp + 0x30], getpeername
jmp 0x10151d14
mov eax, edx
xor ecx, ecx
bts ebx, eax
cmp eax, 0x20
cmovae ecx, ebx
xor ebx, ecx
cmp eax, 0x40
cmovae ecx, ebx
mov dword [esp + 0x30], ecx
cmp byte [esp + 0x23], 0
jne 0x10151d40
mov ecx, dword [esp + 0x58]
add edx, edx
mov eax, dword [ecx + 4]
push dword [eax + edx*8]
push dword [ecx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.100e2740
add esp, 0x10
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x30]
mov ecx, ebx
and ecx, dword [esp + 0x34]
and eax, dword [esp + 0x10]
or ecx, eax
jne 0x10151da2
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
inc eax
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
call fcn.10152970
add esp, 4
test eax, eax
jne 0x1015259b
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
or dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [eax + 0x30]
or ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov dword [eax + ecx*4], esi
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
jmp 0x10151dae
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add esi, 0x30
cmp esi, dword [esp + 0x3c]
jb 0x10151c00
mov esi, dword [esp + 0x34]
jmp 0x10151dc9
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
movzx eax, cx
not esi
mov ecx, dword [esp + 0x38]
not ebx
or ebx, 0x80000000
mov word [ecx + 0x28], ax
mov word [ecx + 0x18], ax
mov dword [ecx + 0x24], 0x4241
mov ecx, dword [edx + 0x38]
and esi, ecx
and ebx, dword [edx + 0x3c]
mov edx, 0x3f
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x54], ecx
movzx ebx, word [esi + 0x2a]
mov dword [esp + 0x1c], ebx
movzx eax, bx
cmp dx, bx
jge 0x10151e1c
mov dword [esp + 0x30], edx
jmp 0x10151e2a
movsx edx, bx
mov dword [esp + 0x30], edx
xor edx, edx
cmp dx, ax
jge 0x10151e6e
mov edi, dword [esp + 0x30]
xor esi, esi
mov ebx, dword [esp + 0x10]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x34]
and ecx, ebx
or edx, ecx
je 0x10151e59
inc dword [esp + 0xc]
inc esi
cmp esi, edi
jl 0x10151e34
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x3c], 0
jg 0x10151e8e
jl 0x10151e7e
test ecx, ecx
jae 0x10151e8e
mov ecx, dword [esp + 0xc]
movsx eax, bx
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x40]
mov ebx, dword [esp + 0x14]
push eax
push 0
lea edx, [edx + 1]
mov ecx, dword [ebx]
call fcn.10126b30
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1015259f
mov ecx, dword [esp + 0x38]
xor ebx, ebx
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov dword [ecx + 0x20], eax
mov dword [eax], str.auto_index
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x14]
cmp esi, dword [esp + 0x3c]
jae 0x1015202b
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], eax
nop word [eax + eax]
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x1015201a
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x1015201a
test byte [edx + 0x24], 8
je 0x10151f2f
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x10151f2f
test cl, cl
js 0x1015201a
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x1015201a
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x1015201a
mov eax, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 0xd]
mov ecx, dword [esi]
call fcn.10115cc0
test eax, eax
je 0x10152016
mov eax, dword [esi + 0x1c]
xor edx, edx
mov dword [esp + 0x40], eax
cmp eax, 0x40
jl 0x10151f82
mov eax, bind
mov dword [esp + 0x54], eax
jmp 0x10151f9b
bts edx, eax
xor ecx, ecx
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
mov dword [esp + 0x54], ecx
mov eax, ecx
and eax, dword [esp + 0x1c]
mov ecx, edx
and ecx, dword [esp + 0x5c]
or ecx, eax
jne 0x10152016
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x54]
mov ecx, dword [esi]
or dword [esp + 0x5c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 4]
mov word [eax + ebx*2], dx
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x40], eax
test dword [edx + 4], 0x100
jne 0x10151ffb
test eax, eax
je 0x10151fea
test dword [eax + 4], 0x100
je 0x10151fea
mov edx, eax
jmp 0x10151ffb
mov ecx, dword [esp + 0x14]
call fcn.10115af0
test eax, eax
jne 0x1015200d
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
call fcn.10115af0
mov ecx, 0x102626b8
test eax, eax
je 0x1015200f
mov ecx, dword [eax]
mov eax, dword [edi + 0x20]
mov dword [eax + ebx*4], ecx
inc ebx
mov edx, dword [esp + 0x18]
add esi, 0x30
cmp esi, dword [esp + 0x3c]
jb 0x10151f00
mov edi, dword [esp + 0x28]
xor esi, esi
cmp dword [esp + 0x30], esi
jle 0x10152077
mov edi, dword [esp + 0x2c]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x34]
and ecx, dword [esp + 0x10]
or edx, ecx
je 0x1015206c
mov eax, dword [edi + 4]
mov word [eax + ebx*2], si
mov eax, dword [edi + 0x20]
mov dword [eax + ebx*4], 0x102626b8
inc ebx
inc esi
cmp esi, dword [esp + 0x30]
jl 0x10152037
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x3c], 0
jg 0x101520bd
jl 0x10152089
cmp dword [eax + 0x38], 0
jae 0x101520bd
mov esi, dword [esp + 0x58]
mov eax, 0x3f
mov edx, dword [esp + 0x2c]
cmp ax, word [esi + 0x2a]
jge 0x101520c1
mov ecx, eax
nop
mov eax, dword [edx + 4]
mov word [eax + ebx*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + ebx*4], 0x102626b8
inc ebx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x101520a0
jmp 0x101520c1
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov esi, dword [esp + 0x48]
mov word [eax + ebx*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
inc edx
mov dword [eax + ebx*4], 0x102626b8
mov eax, dword [ecx + 0x28]
mov dword [esi + 8], eax
inc dword [ecx + 0x28]
mov ecx, dword [edi + 0x6c]
mov esi, dword [esi + 8]
cmp dword [edi + 0x70], ecx
jg 0x1015210b
push 0
push edx
push esi
mov edx, 0x70
mov ecx, edi
call fcn.101008a0
add esp, 0xc
jmp 0x1015213a
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [esp + 0x2c]
mov esi, dword [eax + 8]
call fcn.10128f20
mov edx, eax
test edx, edx
je 0x1015217c
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x1015216a
push edx
mov edx, 0xfffffff7
call fcn.10101430
add esp, 4
jmp 0x1015217c
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov edx, dword [esp + 0x48]
movzx eax, byte [edx + 0x2c]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x30], 0x10
lea esi, [eax + ecx*8]
mov dword [esp + 0x3c], esi
je 0x1015228f
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x60], ecx
cmp dword [edi + 0x70], ecx
jg 0x101521d4
push 0
push 0
push 0
mov edx, 0x46
mov ecx, edi
call fcn.101008a0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x60], eax
jmp 0x10152207
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov esi, dword [esi + 0x20]
cmp dword [edi + 0x70], ecx
jg 0x1015222b
push esi
push 0
push edx
mov edx, 0xd
mov ecx, edi
call fcn.101008a0
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x1015225a
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x1015227a
push 0
push 0
push edx
mov edx, 0xe
mov ecx, edi
call fcn.101008a0
add esp, 0xc
mov esi, eax
jmp 0x101522e5
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xe
jmp 0x101522c5
mov esi, dword [edi + 0x6c]
mov edx, dword [edx + 4]
cmp dword [edi + 0x70], esi
jg 0x101522b2
push 0
push 0
push edx
mov edx, 0x24
mov ecx, edi
call fcn.101008a0
add esp, 0xc
mov esi, eax
jmp 0x101522e5
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x24
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x10152313
mov eax, dword [esp + 0x14]
push 0x10
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
push edx
push ecx
push eax
mov dword [esp + 0x5c], edx
call fcn.1011c7d0
mov eax, dword [esp + 0x48]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x13]
test al, al
jne 0x10152326
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x10152335
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x90]
mov edx, dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
push dword [eax + 4]
call fcn.1012aef0
mov ecx, dword [edi + 0x6c]
add esp, 0x18
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
cmp dword [edi + 0x70], ecx
jg 0x10152385
mov edx, dword [esp + 0x24]
mov ecx, edi
push 0
push edx
push eax
mov edx, 0x84
call fcn.101008a0
add esp, 0xc
jmp 0x101523b8
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
test ecx, ecx
jle 0x101523d2
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 0x10
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [edi + 0x6c]
cmp dword [esp + 0x50], 0
je 0x10152406
mov edx, dword [edi + 0xc]
not dword [esp + 0x4c]
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x38]
jns 0x101523fc
mov edx, dword [esp + 0x4c]
mov ecx, dword [edi + 0xc]
push edx
mov edx, edi
call fcn.10100ef0
add esp, 4
jmp 0x10152406
mov eax, dword [edx + 0x40]
mov edx, dword [esp + 0x4c]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x3c]
test byte [eax + 0x30], 0x10
je 0x101524b9
mov ecx, dword [esp + 0x60]
test ecx, ecx
jns 0x10152420
mov ecx, dword [edi + 0x6c]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x1015242f
mov ecx, 0x102ad334
jmp 0x10152438
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x1c]
mov edx, esi
add eax, ebx
mov ebx, dword [esp + 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
push 1
push dword [ebx + 0x28]
push dword [eax + 4]
call fcn.10151a50
mov ecx, dword [edi + 0x6c]
add esp, 0xc
cmp dword [edi + 0x70], ecx
jg 0x10152484
push 0
push esi
push 0
mov edx, 0xb
mov ecx, edi
call fcn.101008a0
add esp, 0xc
and dword [ebx + 0x30], 0xffffffef
jmp 0x1015250e
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
and dword [ebx + 0x30], 0xffffffef
jmp 0x1015250e
mov eax, dword [esp + 0x48]
lea edx, [esi + 1]
mov ecx, dword [edi + 0x6c]
mov ebx, dword [eax + 4]
cmp dword [edi + 0x70], ecx
jg 0x101524e0
push 0
push edx
push ebx
mov edx, 5
mov ecx, edi
call fcn.101008a0
add esp, 0xc
jmp 0x1015250e
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
lea edx, [esi + 1]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x6c]
test edx, edx
jle 0x10152528
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, 3
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [edi + 0x6c]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x10152537
mov eax, 0x102ad334
jmp 0x10152548
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
mov dword [eax + 8], edx
test ecx, ecx
je 0x1015256b
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x1015256b
movzx eax, al
mov dword [ebx + eax*4 + 0x90], ecx
inc byte [ebx + 0x13]
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x10152580
mov eax, 0x102ad334
mov dword [eax + 8], edx
jmp 0x1015259f
mov ecx, dword [esp + 0x64]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1015259f
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x101525b0
mov ecx, dword [ebx]
mov edx, eax
call fcn.10116ca0
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret