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

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
push edi
mov esi, dword [ebx + 8]
test esi, esi
jne 0x100ec3de
cmp dword [ebx + 0x78], esi
jne 0x100ec3d3
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x100ec3d3
mov byte [ebx + 0x17], 1
push ebx
call fcn.1013a130
add esp, 4
mov esi, eax
mov eax, dword [ebx + 0x28]
dec dword [ebx + 0x38]
dec eax
cmp dword [esp + 0x48], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x10], eax
jge 0x100ec40c
push eax
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + 0x18]
push eax
push 0x31
push esi
call fcn.10139b00
add esp, 0x10
mov ecx, dword [esp + 0x3c]
xor ebp, ebp
mov edi, dword [ecx + 0x14]
mov dword [esp + 0x18], edi
test edi, edi
jle 0x100ec498
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
movzx eax, word [eax + ebp*4]
push eax
push dword [ecx]
call fcn.10135680
mov edx, dword [esp + 0x4c]
add esp, 8
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x100ec455
push 0
push edi
push edx
push 0x32
push esi
call fcn.100f0a80
add esp, 0x14
jmp 0x100ec480
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
inc ebp
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x18], ebx
cmp ebp, ebx
jl 0x100ec421
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x4c], 0
jne 0x100eca14
mov ebp, dword [esp + 0x38]
test ebp, ebp
jne 0x100ec6cd
mov al, byte [ebx + 0x13]
test al, al
jne 0x100ec4be
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
jmp 0x100ec4cd
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov edi, dword [ebx + eax*4 + 0x9c]
mov eax, dword [esp + 0x40]
movzx eax, word [eax]
push eax
push dword [ecx]
call fcn.10135680
mov edx, dword [esp + 0x4c]
add esp, 8
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x100ec500
push 0
push edi
push edx
push 0x51
push esi
call fcn.100f0a80
add esp, 0x14
jmp 0x100ec52b
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x70], edx
jg 0x100ec54d
push 0
push 0
push edi
push 0xd
push esi
call fcn.100f0a80
add esp, 0x14
mov dword [esp + 0x2c], eax
jmp 0x100ec57c
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x10]
cmp ecx, dword [eax]
jne 0x100ec5bb
cmp dword [esp + 0x48], 1
jne 0x100ec5bb
push edi
push ebp
push dword [esp + 0x4c]
push 0x35
push esi
call fcn.10139b60
mov eax, dword [esi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x100ec5bb
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
push 0x70
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x20]
push ebx
call fcn.101255d0
mov ecx, dword [esi + 0x6c]
add esp, 0x14
cmp dword [esi + 0x70], ecx
jg 0x100ec5ee
push edi
push 0
push dword [esp + 0x1c]
push 0x1f
push esi
call fcn.100f0a80
add esp, 0x14
jmp 0x100ec61d
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100ec637
push 0
push ebp
push 0
push 9
push esi
call fcn.100f0a80
add esp, 0x14
jmp 0x100ec666
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x100ec678
mov eax, 0x101a3d50
jmp 0x100ec684
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
add eax, 0xffffffe0
mov dword [eax], edx
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x100ec698
mov eax, 0x101a3d48
jmp 0x100ec6a5
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
test edi, edi
je 0x100eca18
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x100eca18
movzx eax, al
mov dword [ebx + eax*4 + 0x9c], edi
inc byte [ebx + 0x13]
jmp 0x100eca18
push edi
push ebx
call fcn.101201a0
mov ecx, dword [esi + 0x6c]
add esp, 8
mov edx, dword [ebp + 0x2c]
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x70], ecx
jg 0x100ec6fc
push dword [esp + 0x30]
push edx
push dword [esp + 0x1c]
push 0x70
push esi
call fcn.100f0a80
add esp, 0x14
jmp 0x100ec72c
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0xc], eax
push dword [esp + 0x38]
mov ebp, dword [ebx + 8]
push ebx
call fcn.10123a40
mov edx, eax
add esp, 8
test edx, edx
je 0x100ec779
mov eax, dword [ebp]
cmp byte [eax + 0x57], 0
je 0x100ec767
cmp dword [eax + 0x210], 0
jne 0x100ec779
add dword [edx], 0xffffffff
jne 0x100ec779
push edx
push dword [edx + 0xc]
call fcn.10112f20
add esp, 8
jmp 0x100ec779
mov eax, dword [ebp + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
test edi, edi
jle 0x100ec7f4
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
mov eax, dword [esp + 0x40]
movzx eax, word [eax + ebx*4]
push eax
mov eax, dword [esp + 0x40]
push dword [eax]
call fcn.10135680
mov edx, dword [esp + 0x4c]
add esp, 8
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x100ec7bb
push 0
push ebp
push edx
push 0x50
push esi
call fcn.100f0a80
add esp, 0x14
jmp 0x100ec7ea
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc ebx
inc ebp
cmp ebx, edi
jl 0x100ec783
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax]
jne 0x100ec958
cmp dword [esp + 0x48], 1
jne 0x100ec958
mov ebp, dword [esi + 0x6c]
lea eax, [ebp + 1]
add eax, edi
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x1c], eax
test edi, edi
jle 0x100ec902
mov ebx, dword [esp + 0x3c]
nop dword [eax]
mov ecx, dword [esp + 0x40]
movzx eax, word [ecx + eax*4]
push eax
push dword [ebx]
call fcn.10135680
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
inc ecx
cwde
add eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
movzx edi, word [eax + ecx*2]
push edi
push dword [edx + 0xc]
call fcn.10135680
mov ecx, dword [esp + 0x54]
add esp, 0x10
cwde
lea edx, [ecx + 1]
add edx, eax
mov eax, dword [esp + 0x34]
cmp di, word [eax + 0x20]
mov edi, dword [esp + 0x20]
cmove edx, ecx
cmp dword [esi + 0x70], ebp
jg 0x100ec898
push edx
push dword [esp + 0x28]
push edi
push 0x34
push esi
call fcn.100f0a80
add esp, 0x14
jmp 0x100ec8c9
lea eax, [ebp + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [esi + 0x68]
add ecx, ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ebp, dword [esi + 0x6c]
test ebp, ebp
jle 0x100ec8e9
mov eax, dword [esi + 0x68]
lea ecx, [ebp*4]
add ecx, ebp
mov edx, 0x10
mov word [eax + ecx*4 - 0x12], dx
mov ebp, dword [esi + 0x6c]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, edi
jl 0x100ec830
mov ebx, dword [esp + 0x2c]
cmp dword [esi + 0x70], ebp
jg 0x100ec91d
mov ebp, dword [esp + 0x10]
push 0
push ebp
push 0
push 9
push esi
call fcn.100f0a80
add esp, 0x14
jmp 0x100ec95c
lea eax, [ebp + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [esi + 0x68]
add ecx, ebp
mov ebp, dword [esp + 0x10]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100ec95c
mov ebp, dword [esp + 0x10]
push dword [esp + 0x38]
push dword [ebx]
call fcn.10121550
mov edx, dword [esi + 0x6c]
add esp, 8
mov dword [esp + 0x24], eax
cmp dword [esi + 0x70], edx
jg 0x100ec98c
push 0
push edi
push dword [esp + 0x54]
push 0x60
push esi
call fcn.100f0a80
add esp, 0x14
mov edx, eax
jmp 0x100ec9bf
mov ebx, dword [esp + 0x4c]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push edi
push dword [esp + 0x28]
push edx
push esi
call fcn.10139fc0
push edi
push dword [esp + 0x60]
push ebp
push dword [esp + 0x30]
push 0x1d
push esi
call fcn.10139c40
add esp, 0x28
cmp edi, 1
jne 0x100eca03
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x100eca18
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x100eca18
movzx eax, al
mov dword [ebx + eax*4 + 0x9c], ecx
inc byte [ebx + 0x13]
jmp 0x100eca18
cmp edi, dword [ebx + 0x1c]
jle 0x100eca18
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], eax
jmp 0x100eca18
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov dl, byte [ecx + 0x18]
test dl, dl
jne 0x100eca97
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
and eax, 0x80000
or eax, 0
jne 0x100eca97
cmp dword [ebx + 0x78], eax
jne 0x100eca97
cmp byte [ebx + 0x14], al
jne 0x100eca97
mov edi, dword [ebx + 8]
test edi, edi
jne 0x100eca5a
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x100eca4f
mov byte [ebx + 0x17], 1
push ebx
call fcn.1013a130
add esp, 4
mov edi, eax
mov ecx, dword [ebx + 0x78]
test ecx, ecx
push 0xffffffffffffffff
push 0
push 0
push 2
cmovne ebx, ecx
push 0x313
push 0x46
push edi
mov byte [ebx + 0x15], 1
call fcn.10139bc0
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x100ecafa
lea ecx, [eax + eax*4]
mov edx, 4
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x100ecafa
mov edi, dword [esp + 0x48]
test edi, edi
jle 0x100ecaaf
test dl, dl
jne 0x100ecaaf
mov eax, dword [ebx + 0x78]
test eax, eax
cmovne ebx, eax
mov byte [ebx + 0x15], 1
movzx edx, byte [ecx + 0x18]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100ecacf
push 0
push edi
push edx
push 0x9e
push esi
call fcn.100f0a80
add esp, 0x14
jmp 0x100ecafa
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x9e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
not ebp
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100ecb14
push ebp
push esi
push ecx
call fcn.101020c0
add esp, 0xc
jmp 0x100ecb1d
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebp*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100ecb40
push 0
push 0
push dword [esp + 0x1c]
push 0x7a
push esi
call fcn.100f0a80
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop ebx
add esp, 0x18
ret