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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x58
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x4c], edx
lea edi, [edx + 0x1c]
shr ebx, 1
lea edx, [eax*4]
lea esi, [ebx*4]
add ebx, ebx
mov dword [esp], ebx
sub ecx, esi
mov ebx, 0xd
movzx esi, word [ecx]
movzx ebp, word [ecx + 2]
movzx eax, word [ecx + 4]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx - 2]
add eax, ebp
movzx ebp, word [ecx - 4]
lea eax, [eax + eax*4]
lea esi, [ebp + esi*4]
movzx ebp, word [ecx + 6]
sub esi, eax
add esi, ebp
mov dword [edi - 0x1c], esi
movzx eax, word [ecx + 2]
movzx esi, word [ecx + 4]
movzx ebp, word [ecx + 6]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx - 2]
lea eax, [ebp + eax*4]
movzx ebp, word [ecx + 8]
sub eax, esi
add eax, ebp
mov dword [edi - 0x18], eax
movzx eax, word [ecx + 4]
movzx esi, word [ecx + 6]
movzx ebp, word [ecx + 8]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx + 2]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx]
lea eax, [ebp + eax*4]
movzx ebp, word [ecx + 0xa]
sub eax, esi
add eax, ebp
mov dword [edi - 0x14], eax
movzx eax, word [ecx + 6]
movzx esi, word [ecx + 8]
movzx ebp, word [ecx + 0xa]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx + 4]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx + 2]
lea eax, [ebp + eax*4]
movzx ebp, word [ecx + 0xc]
sub eax, esi
add eax, ebp
mov dword [edi - 0x10], eax
movzx eax, word [ecx + 8]
movzx esi, word [ecx + 0xa]
movzx ebp, word [ecx + 0xc]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx + 6]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx + 4]
lea eax, [ebp + eax*4]
movzx ebp, word [ecx + 0xe]
sub eax, esi
add eax, ebp
mov dword [edi - 0xc], eax
movzx eax, word [ecx + 0xa]
movzx esi, word [ecx + 0xc]
movzx ebp, word [ecx + 0xe]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx + 8]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx + 6]
lea eax, [ebp + eax*4]
movzx ebp, word [ecx + 0x10]
sub eax, esi
add eax, ebp
mov dword [edi - 8], eax
movzx eax, word [ecx + 0xc]
movzx esi, word [ecx + 0xe]
movzx ebp, word [ecx + 0x10]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx + 0xa]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx + 8]
lea eax, [ebp + eax*4]
movzx ebp, word [ecx + 0x12]
sub eax, esi
add eax, ebp
mov dword [edi - 4], eax
movzx eax, word [ecx + 0xe]
movzx esi, word [ecx + 0x10]
movzx ebp, word [ecx + 0x12]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx + 0xc]
add ebp, esi
movzx esi, word [ecx + 0xa]
lea eax, [esi + eax*4]
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx + 0x14]
add ecx, dword [esp]
sub eax, esi
add eax, ebp
mov dword [edi], eax
add edi, edx
dec ebx
jne 0x10104e88
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
xor ebx, ebx
mov esi, eax
sar eax, 1
mov ecx, esi
and esi, 0x7ffffffe
lea ebp, [edx + eax*8]
and ecx, 0xfffffffe
mov dword [esp + 0x3c], ebp
add ecx, edx
mov dword [esp + 0x48], ecx
lea ecx, [edx + esi*2]
mov dword [esp + 0x44], ecx
lea ecx, [eax + eax*2]
lea edi, [eax + ecx*4]
lea esi, [edx + ecx*2]
lea ecx, [edx + ecx*4]
add edi, eax
lea eax, [eax + eax*4]
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], ecx
lea eax, [edx + eax*2]
add edi, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], ebx
lea eax, [eax + ebx*2]
mov ebx, dword [esp + 0x74]
lea ecx, [eax + edx]
mov dword [esp + 4], eax
add ecx, edx
mov dword [esp], ecx
mov edi, dword [eax + ebx*8]
lea eax, [ecx + edx]
mov ecx, dword [ecx + ebx*4]
add eax, edx
mov ebp, dword [eax + ebx*4]
add eax, edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x50], edi
mov esi, dword [esp + 8]
mov dword [esp + 0xc], ebp
lea esi, [esi + edi]
mov edi, ebp
mov edi, dword [ecx]
lea ebp, [ebp + 0x200]
lea esi, [esi + esi*4]
mov dword [esp + 0x1c], ebp
add edi, ebp
lea ebp, [edi + esi*4]
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esp]
mov edi, dword [ecx + ebx*8]
lea ecx, [edi + esi]
lea ecx, [ecx + ecx*4]
sub ebp, ecx
mov ecx, dword [eax + ebx*4]
add eax, edx
sar ebp, 0xa
mov dword [esp + 4], ecx
mov ecx, dword [eax + ebx*4]
add eax, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + ebx*4]
add eax, edx
mov dword [esp], ecx
mov ecx, dword [eax + ebx*4]
add eax, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + ebx*4]
add eax, edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + ebx*4]
add eax, edx
cmp ebp, 0x4000
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], eax
jb 0x10105115
neg ebp
sar ebp, 0x1f
and ebp, 0x3fff
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x50]
mov word [eax + ebx], bp
mov eax, dword [esp + 8]
lea esi, [ecx + esi + 0x200]
mov ecx, dword [esp + 0xc]
lea eax, [edi + eax]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
lea esi, [ecx + edx]
mov ecx, edx
lea esi, [esi + esi*4]
sub eax, esi
sar eax, 0xa
cmp eax, 0x4000
jb 0x1010515f
neg eax
sar eax, 0x1f
and eax, 0x3fff
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x24]
mov word [edx + ebx], ax
mov eax, dword [esp + 0xc]
lea esi, [ebp + ecx + 0x200]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
lea eax, [eax + edi]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
lea esi, [ecx + edx]
lea esi, [esi + esi*4]
sub eax, esi
sar eax, 0xa
cmp eax, 0x4000
jb 0x101051a3
neg eax
sar eax, 0x1f
and eax, 0x3fff
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x1c]
mov word [edx + ebx], ax
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
add esi, dword [esp]
lea eax, [eax + edx]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
lea esi, [ebp + edi]
lea esi, [esi + esi*4]
sub eax, esi
add eax, 0x200
sar eax, 0xa
cmp eax, 0x4000
jb 0x101051e9
neg eax
sar eax, 0x1f
and eax, 0x3fff
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
mov word [edx + ebx], ax
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
add edi, esi
add edx, dword [esp]
lea eax, [ebp + eax]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
lea edx, [edx + edx*4]
sub eax, edx
add eax, 0x200
sar eax, 0xa
cmp eax, 0x4000
jb 0x1010522a
neg eax
sar eax, 0x1f
and eax, 0x3fff
mov edx, dword [esp + 0x3c]
add ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
mov word [edx + ebx], ax
mov eax, dword [esp]
lea eax, [eax + ebp]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 4]
lea edx, [esi + ecx]
add ecx, 0x200
lea edx, [edx + edx*4]
sub eax, edx
sar eax, 0xa
cmp eax, 0x4000
jb 0x1010526c
neg eax
sar eax, 0x1f
and eax, 0x3fff
mov edx, dword [esp + 0x34]
add ecx, edi
mov word [edx + ebx], ax
mov eax, dword [esp]
lea eax, [esi + eax]
mov esi, dword [esp + 0x2c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
lea edx, [esi + ebp]
add ebp, 0x200
mov esi, esi
lea edx, [edx + edx*4]
sub eax, edx
sar eax, 0xa
cmp eax, 0x4000
jb 0x101052aa
neg eax
sar eax, 0x1f
and eax, 0x3fff
mov ecx, dword [esp + 0x30]
add esi, dword [esp + 0x14]
add edi, dword [esp]
add ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
mov word [ecx + ebx], ax
lea eax, [esi + esi*4]
lea ecx, [edi + edi*4]
lea eax, [ebp + eax*4]
sub eax, ecx
sar eax, 0xa
cmp eax, 0x4000
jb 0x101052e1
neg eax
sar eax, 0x1f
and eax, 0x3fff
mov ecx, dword [esp + 0x38]
mov word [ecx + ebx], ax
add ebx, 2
cmp ebx, 0x10
jne 0x1010505a
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret