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

Disassembly:
mov ecx, dword [esp + 0xc]
sub esp, 0x54
lea eax, [ecx - 2]
cmp ax, 0xe
ja 0x101c99a5
mov eax, dword [esp + 0x68]
push ebx
push ebp
movzx edx, cx
xor ebp, ebp
mov ebx, dword [eax]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, edx
push esi
push edi
mov edi, dword [esp + 0x74]
mov esi, edi
mov dword [esp + 0x24], edx
add ebx, edi
cdq
mov dword [esp + 0x18], eax
mov eax, edx
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x34], edi
push ecx
push dword [esp + 0x1c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], eax
call fcn.101df090
mov dword [esp + 0x1c], edx
lea edx, [edi + 1]
mov dword [esp + 0x14], eax
cmp edx, ebx
ja 0x101c99b2
mov eax, dword [esp + 0x24]
lea ecx, [esi]
imul eax, dword [esp + 0x14]
mov esi, edx
mov dword [esp + 0x30], esi
sub dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov al, byte [eax + 0x1023d807]
mov byte [ecx], al
mov al, byte [esp + 0x88]
test al, al
je 0x101c984f
cmp word [esp + 0x70], 0xa
jne 0x101c984f
inc ebp
cmp ebp, 3
jne 0x101c984f
lea esi, [edx + 1]
cmp esi, ebx
ja 0x101c99cc
mov dword [esp + 0x30], esi
xor ebp, ebp
mov byte [edx], al
mov ecx, dword [esp + 0x14]
mov eax, ecx
mov edx, dword [esp + 0x1c]
or eax, edx
je 0x101c9888
push dword [esp + 0x28]
mov dword [esp + 0x14], ecx
push dword [esp + 0x1c]
push edx
push ecx
call fcn.101df090
mov dword [esp + 0x1c], edx
lea edx, [esi + 1]
mov dword [esp + 0x14], eax
cmp edx, ebx
ja 0x101c99b2
jmp 0x101c9802
mov dl, byte [esp + 0x84]
mov dh, byte [esp + 0x7c]
cmp dl, 0x30
jne 0x101c98ef
test dh, dh
je 0x101c98c2
mov eax, dword [esp + 0x70]
cmp ax, 8
jne 0x101c98b0
mov ebp, dword [esp + 0x80]
dec ebp
jmp 0x101c98c9
cmp ax, 0x10
jne 0x101c98c2
mov ebp, dword [esp + 0x80]
sub ebp, 2
jmp 0x101c98c9
mov ebp, dword [esp + 0x80]
mov eax, esi
sub eax, edi
cmp eax, ebp
jge 0x101c98f6
lea ecx, [esi + 1]
cmp ecx, ebx
ja 0x101c99e6
mov eax, esi
mov esi, ecx
sub ecx, edi
mov dword [esp + 0x30], esi
mov byte [eax], 0x30
cmp ecx, ebp
jl 0x101c98d1
jmp 0x101c98f6
mov ebp, dword [esp + 0x80]
test dh, dh
je 0x101c9935
mov eax, dword [esp + 0x70]
cmp ax, 8
je 0x101c9918
cmp ax, 0x10
jne 0x101c9935
push 0
lea ecx, [esp + 0x30]
call fcn.1010bc40
mov byte [eax], 0x78
push 0
lea ecx, [esp + 0x30]
call fcn.1010bc40
mov dl, byte [esp + 0x84]
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov byte [eax], 0x30
cmp dl, 0x30
je 0x101c9959
mov eax, esi
sub eax, edi
cmp eax, ebp
jge 0x101c9959
lea ecx, [esi + 1]
cmp ecx, ebx
ja 0x101c9a1a
mov eax, esi
mov esi, ecx
sub ecx, edi
mov byte [eax], dl
cmp ecx, ebp
jl 0x101c9942
mov ecx, dword [esp + 0x78]
mov eax, esi
sub eax, edi
mov dword [ecx], eax
lea eax, [esi - 1]
cmp eax, ebx
ja 0x101c9a00
lea edx, [esi - 1]
mov byte [esi], 0
cmp edi, edx
jae 0x101c999b
lea esi, [edx - 1]
nop dword [eax + eax]
mov ah, byte [edx]
cmp esi, ebx
ja 0x101c9a34
mov al, byte [edi]
mov ecx, edx
dec esi
mov byte [ecx], al
lea edx, [ecx - 1]
mov byte [edi], ah
inc edi
cmp edi, edx
jb 0x101c9980
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x64]
mov byte [eax], 0
xor al, al
add esp, 0x54
ret
push 0
lea ecx, [esp + 0x3c]
call fcn.101d3380
push 0x10271490
lea eax, [esp + 0x3c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0
lea ecx, [esp + 0x3c]
call fcn.101d3380
push 0x10271490
lea eax, [esp + 0x3c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0
lea ecx, [esp + 0x3c]
call fcn.101d3380
push 0x10271490
lea eax, [esp + 0x3c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0
lea ecx, [esp + 0x3c]
call fcn.101d3380
push 0x10271490
lea eax, [esp + 0x3c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0
lea ecx, [esp + 0x3c]
call fcn.101d3380
push 0x10271490
lea eax, [esp + 0x3c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0
lea ecx, [esp + 0x3c]
call fcn.101d3380
push 0x10271490
lea eax, [esp + 0x3c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3