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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x3a5e8], 0
mov dword [ebp - 0x20], 0
jbe 0x100ec333
push ebx
lea eax, [esi + 0x309a8]
push edi
mov dword [ebp - 0x1c], eax
lea esp, [esp]
cmp dword [esi + 0x3a69c], 0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
movzx ecx, word [eax]
mov edx, dword [eax + 0x70]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], ecx
je 0x100ebf26
movsx edi, word [ebp + 0xc]
mov edx, dword [eax + ecx*4 + 0x10]
mov dword [ebp + 8], edx
cmp edx, dword [esi + edi*4 + 0x30908]
jg 0x100ebf3f
jmp 0x100ec31a
mov ecx, dword [eax + ecx*4 + 0x10]
mov dword [ebp + 8], ecx
cmp ecx, 0xc0000001
jle 0x100ec31a
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov edi, dword [eax + ecx*4 + 0x30]
mov dword [ebp - 8], edi
lea edi, [ecx + ecx*2]
mov ebx, dword [eax + edi*4 + 0x74]
lea edi, [eax + edi*4]
movsx edi, word [edi + 0x7e]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov ebx, dword [edi]
movsx edi, word [ebp + 0xc]
cmp ebx, dword [esi + edi*4 + 0x3a6c0]
jne 0x100ebfa0
mov ecx, dword [esi + edi*4 + 0x3a850]
mov dword [esi + edi*4 + 0x3a8a0], 0xffffffff
cmp edx, ecx
jle 0x100ebf8b
mov dword [esi + edi*4 + 0x3a800], edx
jmp 0x100ebf92
mov dword [esi + edi*4 + 0x3a800], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + edi*4 + 0x3a850], 0xfa0a1f00
mov edx, dword [ebp - 0x18]
cmp dword [edx + 4], 0
je 0x100ec024
mov eax, dword [esi + 0x340]
mov ecx, dword [esi]
push 0
push 0
push eax
push ecx
call fcn.100e8160
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 4]
mov dword [eax + 0x20], edx
mov dx, word [esi + 0x308fc]
mov word [eax + 0x1c], dx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ecx + edx*4 + 0x50]
xor edx, edx
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x18], ecx
mov cx, word [ebp - 0x14]
push eax
push esi
mov dword [ebp - 4], eax
mov dword [eax + 0x28], edx
mov word [eax + 0x1e], cx
call fcn.100e9c70
mov eax, dword [ebp - 4]
mov edx, dword [esi + 0x1b678]
add esp, 0x18
add eax, 0xfffffffc
mov dword [eax], edx
mov dword [esi + 0x1b678], eax
jmp 0x100ec02b
mov eax, dword [eax + ecx*4 + 0x50]
mov dword [ebp - 4], eax
mov ecx, dword [esi + edi*4 + 0x60]
cmp dword [ecx + ebx*4], 0
mov edx, dword [ebp + 8]
lea eax, [ecx + ebx*4]
jne 0x100ec124
mov edx, dword [esi + 0x33c]
mov eax, dword [esi]
push 0
push 0
push edx
push eax
call fcn.100e8160
mov ecx, dword [esi + edi*4 + 0x60]
mov dword [ecx + ebx*4], eax
mov edx, dword [esi + edi*4 + 0x60]
mov eax, dword [edx + ebx*4]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x78], ecx
mov edx, dword [esi + edi*4 + 0x60]
mov eax, dword [edx + ebx*4]
mov dword [eax], ebx
mov ecx, dword [esi + edi*4 + 0x60]
mov edx, dword [ecx + ebx*4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [esi + edi*4 + 0x60]
mov edx, dword [ecx + ebx*4]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [esi + edi*4 + 0x60]
mov edx, dword [ecx + ebx*4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + edi*4 + 0x60]
mov edx, dword [ecx + ebx*4]
mov ax, word [ebp - 0x14]
mov word [edx + 0x10], ax
mov ecx, dword [esi + edi*4 + 0x60]
mov edx, dword [ecx + ebx*4]
xor eax, eax
mov dword [edx + 0x14], eax
mov ecx, dword [esi + edi*4 + 0x60]
mov edx, dword [ecx + ebx*4]
mov dword [edx + 0x154], eax
mov edx, dword [esi + edi*4 + 8]
mov edx, dword [edx]
lea eax, [ebx + ebx*2]
add eax, eax
add eax, eax
movsx edx, byte [edx + eax + 8]
mov ecx, edi
shl ecx, 4
add edx, ecx
imul edx, edx, 0x15c
mov edx, dword [edx + esi + 0x4d0]
mov dword [ebp + 8], ecx
mov ecx, dword [esi + edi*4 + 0x60]
mov ecx, dword [ecx + ebx*4]
mov dword [ecx + 0x158], edx
mov edx, dword [esi + edi*4 + 8]
mov edx, dword [edx]
movsx eax, byte [edx + eax + 8]
add eax, dword [ebp + 8]
mov ecx, dword [esi + edi*4 + 0x60]
mov ecx, dword [ecx + ebx*4]
imul eax, eax, 0x15c
add esp, 0x10
mov dword [eax + esi + 0x4d0], ecx
inc dword [esi + 0xbc]
jmp 0x100ec31a
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ecx + 4]
cmp ecx, 0xc0000001
jne 0x100ec183
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x78], eax
mov eax, dword [esi + edi*4 + 0x60]
mov ecx, dword [eax + ebx*4]
mov dword [ecx + 4], edx
mov edx, dword [esi + edi*4 + 0x60]
mov eax, dword [edx + ebx*4]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + edi*4 + 0x60]
mov eax, dword [edx + ebx*4]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + edi*4 + 0x60]
mov eax, dword [edx + ebx*4]
mov cx, word [ebp - 0x14]
mov word [eax + 0x10], cx
mov edx, dword [esi + edi*4 + 0x60]
mov eax, dword [edx + ebx*4]
mov dword [eax + 0x14], 0
jmp 0x100ec31a
cmp edx, ecx
jle 0x100ec269
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 0x14]
mov ecx, eax
sar ecx, 3
sub eax, ecx
mov ecx, dword [ebp - 0x24]
inc eax
mov dword [ecx + 0x14], eax
mov eax, dword [esi + edi*4 + 0x60]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx + 0x14]
dec eax
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x100ec1fd
lea eax, [eax*4 + 0x18]
lea ebx, [ebx]
mov edx, dword [esi + edi*4 + 0x60]
mov ecx, dword [edx + ebx*4]
mov edx, dword [eax + ecx - 4]
mov dword [eax + ecx], edx
mov ecx, dword [esi + edi*4 + 0x60]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [eax + ecx + 0x1c]
mov dword [eax + ecx + 0x20], edx
mov ecx, dword [esi + edi*4 + 0x60]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [eax + ecx + 0x3c]
mov dword [eax + ecx + 0x40], edx
mov ecx, dword [ebp - 0x18]
dec ecx
sub eax, 4
mov dword [ebp - 0x18], ecx
test ecx, ecx
jg 0x100ec1c0
mov edx, dword [ebp + 8]
mov eax, dword [esi + edi*4 + 0x60]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 4]
mov dword [eax + 0x18], ecx
mov eax, dword [esi + edi*4 + 0x60]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 8]
mov dword [eax + 0x38], ecx
mov eax, dword [esi + edi*4 + 0x60]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 0x78]
mov dword [eax + 0x58], ecx
mov eax, dword [esi + edi*4 + 0x60]
mov ecx, dword [eax + ebx*4]
mov dword [ecx + 4], edx
mov edx, dword [esi + edi*4 + 0x60]
mov eax, dword [edx + ebx*4]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + edi*4 + 0x60]
mov eax, dword [edx + ebx*4]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + edi*4 + 0x60]
mov eax, dword [edx + ebx*4]
mov cx, word [ebp - 0x14]
mov word [eax + 0x10], cx
mov edx, dword [esi + edi*4 + 0x60]
mov eax, dword [edx + ebx*4]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x78], ecx
jmp 0x100ec31a
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x14], 8
jne 0x100ec27d
cmp edx, dword [ecx + 0x34]
jl 0x100ec31a
jmp 0x100ec282
mov eax, dword [eax]
inc dword [eax + 0x14]
mov eax, dword [esi + edi*4 + 0x60]
mov ecx, dword [eax + ebx*4]
mov ecx, dword [ecx + 0x14]
dec ecx
mov dword [ebp - 0x18], ecx
test ecx, ecx
jle 0x100ec2f3
lea eax, [ecx*4 + 0x14]
jmp 0x100ec2a3
mov edx, dword [ebp + 8]
mov ecx, dword [esi + edi*4 + 0x60]
lea ecx, [ecx + ebx*4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ecx]
cmp edx, dword [eax + ecx]
jl 0x100ec33a
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx]
mov edx, dword [eax + ecx]
mov dword [eax + ecx + 4], edx
mov ecx, dword [esi + edi*4 + 0x60]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [eax + ecx + 0x20]
mov dword [eax + ecx + 0x24], edx
mov ecx, dword [esi + edi*4 + 0x60]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [eax + ecx + 0x40]
mov dword [eax + ecx + 0x44], edx
mov ecx, dword [ebp - 0x18]
dec ecx
sub eax, 4
mov dword [ebp - 0x18], ecx
test ecx, ecx
jg 0x100ec2a0
mov edx, dword [ebp + 8]
mov eax, dword [esi + edi*4 + 0x60]
mov eax, dword [eax + ebx*4]
mov dword [eax + ecx*4 + 0x18], edx
mov edx, dword [esi + edi*4 + 0x60]
mov eax, dword [edx + ebx*4]
mov edx, dword [ebp - 8]
mov dword [eax + ecx*4 + 0x38], edx
mov eax, dword [esi + edi*4 + 0x60]
mov edx, dword [eax + ebx*4]
mov eax, dword [ebp - 4]
mov dword [edx + ecx*4 + 0x58], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x1c], 4
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [esi + 0x3a5e8]
jb 0x100ebef0
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
jmp 0x100ec2f3