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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x54
mov eax, 1
mov ecx, dword [esp + 0x78]
movzx edx, word [ecx + eax*2]
test edx, edx
jne 0x100fc07e
inc eax
cmp eax, 0x10
jl 0x100fc070
mov ecx, dword [esp + 0x78]
lea esi, [eax + 1]
xor edx, edx
cmp esi, 0x10
mov word [ecx + eax*2 + 0x20], dx
movzx ecx, word [ecx + eax*2]
jge 0x100fc10b
neg esi
add esi, 0x10
mov ebx, esi
shr ebx, 0x1f
add ebx, esi
sar ebx, 1
test ebx, ebx
jbe 0x100fc881
mov dword [esp], eax
lea edx, [eax + eax + 2]
add edx, dword [esp + 0x78]
xor ebp, ebp
movzx edi, word [edx + ebp*4]
lea eax, [ecx + ecx]
test edi, edi
je 0x100fc0cb
mov word [edx + ebp*4 + 0x20], ax
lea eax, [edi + ecx*2]
movzx edi, word [edx + ebp*4 + 2]
lea ecx, [eax + eax]
test edi, edi
je 0x100fc0df
mov word [edx + ebp*4 + 0x22], cx
lea ecx, [edi + eax*2]
inc ebp
cmp ebp, ebx
jb 0x100fc0b8
mov eax, dword [esp]
lea edx, [ebp + ebp + 1]
cmp edx, esi
ja 0x100fc10b
add ecx, ecx
lea ebx, [edx + eax + 1]
mov eax, dword [esp + 0x78]
movzx edx, word [eax + ebx*2 - 2]
test edx, edx
je 0x100fc10b
mov eax, dword [esp + 0x78]
mov word [eax + ebx*2 + 0x1e], cx
cmp dword [esp + 0x70], 0x101
jae 0x100fc122
mov eax, 0xffffff38
add esp, 0x54
pop ebp
pop ebx
pop edi
pop esi
ret
xor ebx, ebx
mov eax, dword [esp + 0x68]
movzx esi, word [eax + ebx*2]
test esi, esi
je 0x100fc227
mov ecx, dword [esp + 0x78]
lea edi, [esi + esi]
movzx edx, word [edi + 0x1043f618]
movzx ebp, word [edi + ecx + 0x20]
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
lea eax, [ebp + 1]
mov word [ecx + edi + 0x20], ax
mov eax, ebp
and ebp, 0xff
shr eax, 8
movzx ecx, byte [ebp + 0x1043f4a0]
shl ecx, 8
movzx eax, byte [eax + 0x1043f4a0]
or eax, ecx
mov ecx, esi
mov ebp, dword [esp + 0x84]
neg ecx
add ecx, 0x10
shr eax, cl
mov ecx, dword [ebp + 0x10]
add ecx, ecx
sub ecx, edi
movzx ebp, word [ecx + 0x1043f618]
mov ecx, ebx
shl ecx, 8
or ecx, esi
inc ebp
mov esi, ebp
shr esi, 1
mov dword [esp + 0x14], esi
test esi, esi
jbe 0x100fc88b
mov dword [esp + 0xc], ecx
lea ecx, [edx*4 + 4]
mov edi, ecx
xor esi, esi
neg edi
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x80]
add edi, ebp
add edi, ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
lea edi, [edi + eax*2]
mov ebx, edi
lea edi, [edx + edx + 2]
neg edi
add edi, ebp
add ecx, edi
mov ebp, dword [esp + 0x14]
lea edi, [ecx + eax*2]
mov ecx, dword [esp + 0xc]
mov eax, esi
inc esi
mov word [ebx + eax*4], cx
cmp esi, ebp
mov word [edi + eax*4], cx
lea eax, [eax + edx + 1]
jb 0x100fc1ed
mov ebp, dword [esp + 8]
lea edx, [esi + esi + 1]
mov eax, dword [esp + 4]
mov ebx, dword [esp]
cmp edx, ebp
ja 0x100fc227
mov ebp, dword [esp + 0x10]
sub eax, ebp
imul ebp, edx
add eax, ebp
mov edx, dword [esp + 0x80]
mov word [edx + eax*2], cx
mov eax, ebx
inc ebx
cmp ebx, 0x100
jb 0x100fc124
mov edx, dword [esp + 0x68]
movzx edx, word [edx + eax*2 + 2]
test edx, edx
je 0x100fc115
mov ecx, dword [esp + 0x78]
lea edi, [edx + edx]
movzx ebx, word [edi + 0x1043f618]
movzx esi, word [edi + ecx + 0x20]
lea ebp, [ebx + 1]
mov dword [esp + 0x18], ebp
lea ebp, [esi + 1]
mov word [ecx + edi + 0x20], bp
mov ebp, esi
and esi, 0xff
shr ebp, 8
movzx ecx, byte [esi + 0x1043f4a0]
shl ecx, 8
movzx ebp, byte [ebp + 0x1043f4a0]
or ebp, ecx
mov ecx, edx
mov esi, dword [esp + 0x84]
neg ecx
add ecx, 0x10
or edx, 0xffff00f0
shr ebp, cl
mov ecx, dword [esi + 0x10]
add ecx, ecx
sub ecx, edi
movzx esi, word [ecx + 0x1043f618]
inc esi
mov ecx, esi
shr ecx, 1
mov dword [esp + 0x1c], ecx
test ecx, ecx
jbe 0x100fc895
mov dword [esp + 0x14], edx
lea edx, [ebx*4 + 4]
mov edi, edx
xor ecx, ecx
neg edi
mov dword [esp], esi
mov esi, dword [esp + 0x80]
add edi, esi
add edi, edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
lea edi, [edi + ebp*2]
mov dword [esp + 0xc], edi
lea edi, [ebx + ebx + 2]
neg edi
add edi, esi
add edx, edi
xor edi, edi
mov esi, dword [esp + 0x1c]
lea edx, [edx + ebp*2]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
inc ecx
mov word [ebp + edi*4], dx
cmp ecx, esi
mov word [eax + edi*4], dx
lea edi, [edi + ebx + 1]
jb 0x100fc30d
mov esi, dword [esp]
lea ebx, [ecx + ecx + 1]
mov ebp, dword [esp + 4]
mov eax, dword [esp + 8]
cmp ebx, esi
ja 0x100fc348
mov ecx, dword [esp + 0x18]
sub ebp, ecx
imul ecx, ebx
add ebp, ecx
mov ebx, dword [esp + 0x80]
mov word [ebx + ebp*2], dx
mov ebx, dword [esp + 0x70]
lea ecx, [eax + 2]
mov edx, ebx
sub edx, ecx
cmp ecx, ebx
jae 0x100fc49d
mov dword [esp + 0x20], edx
lea ecx, [eax + eax + 4]
mov eax, dword [esp + 0x68]
xor ebx, ebx
mov dword [esp + 0x14], ecx
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
movzx esi, word [eax + ebx*2]
test esi, esi
je 0x100fc492
mov ecx, dword [esp + 0x78]
lea edi, [esi + esi]
movzx eax, word [edi + 0x1043f618]
movzx ebp, word [edi + ecx + 0x20]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
lea edx, [ebp + 1]
mov word [ecx + edi + 0x20], dx
mov edx, ebp
and ebp, 0xff
shr edx, 8
movzx ecx, byte [ebp + 0x1043f4a0]
shl ecx, 8
movzx edx, byte [edx + 0x1043f4a0]
or edx, ecx
mov ecx, esi
mov ebp, dword [esp + 0x84]
neg ecx
add ecx, 0x10
shr edx, cl
mov ecx, dword [ebp + 0x10]
add ecx, ecx
sub ecx, edi
mov edi, dword [esp + 0x14]
movzx ebp, word [ecx + 0x1043f618]
movzx ecx, byte [edi + ebx*2 + 0x1043f439]
shl ecx, 8
movzx edi, byte [edi + ebx*2 + 0x1043f438]
or ecx, edi
or ecx, esi
inc ebp
mov esi, ebp
shr esi, 1
mov dword [esp + 0x1c], esi
test esi, esi
jbe 0x100fc89f
mov dword [esp + 0x10], ecx
lea ecx, [eax*4 + 4]
mov edi, ecx
xor esi, esi
neg edi
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x80]
add edi, ebp
add edi, ecx
mov dword [esp + 4], edx
mov dword [esp], ebx
lea edi, [edi + edx*2]
mov ebx, edi
lea edi, [eax + eax + 2]
neg edi
add edi, ebp
add ecx, edi
xor edi, edi
mov ebp, dword [esp + 0x1c]
lea ecx, [ecx + edx*2]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
inc esi
mov word [ebx + edi*4], cx
cmp esi, ebp
mov word [edx + edi*4], cx
lea edi, [edi + eax + 1]
jb 0x100fc458
mov ebp, dword [esp + 8]
lea eax, [esi + esi + 1]
mov edx, dword [esp + 4]
mov ebx, dword [esp]
cmp eax, ebp
ja 0x100fc492
mov ebp, dword [esp + 0x18]
sub edx, ebp
imul ebp, eax
add edx, ebp
mov eax, dword [esp + 0x80]
mov word [eax + edx*2], cx
inc ebx
cmp ebx, dword [esp + 0x20]
jb 0x100fc373
mov eax, dword [esp + 0x7c]
mov edi, 1
movzx edx, word [eax + edi*2]
test edx, edx
jne 0x100fc4b4
inc edi
cmp edi, 0x10
jl 0x100fc4a6
xor edx, edx
lea ecx, [edi + 1]
mov word [eax + edi*2 + 0x20], dx
cmp ecx, 0x10
movzx ebp, word [eax + edi*2]
jge 0x100fc538
neg ecx
add ecx, 0x10
mov ebx, ecx
shr ebx, 0x1f
add ebx, ecx
sar ebx, 1
test ebx, ebx
jbe 0x100fc8a9
mov dword [esp], edi
lea edx, [edi + edi + 2]
xor esi, esi
add edx, eax
movzx edi, word [edx + esi*4]
lea eax, [ebp + ebp]
test edi, edi
je 0x100fc4fc
mov word [edx + esi*4 + 0x20], ax
lea eax, [edi + ebp*2]
movzx edi, word [edx + esi*4 + 2]
lea ebp, [eax + eax]
test edi, edi
je 0x100fc510
mov word [edx + esi*4 + 0x22], bp
lea ebp, [edi + eax*2]
inc esi
cmp esi, ebx
jb 0x100fc4e8
mov edi, dword [esp]
lea edx, [esi + esi + 1]
mov eax, dword [esp + 0x7c]
cmp edx, ecx
ja 0x100fc538
add ebp, ebp
lea ecx, [edx + edi + 1]
movzx edx, word [eax + ecx*2 - 2]
test edx, edx
je 0x100fc538
mov word [eax + ecx*2 + 0x1e], bp
mov ebx, dword [esp + 0x84]
mov esi, 1
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
mov ecx, dword [ebx + 0x10]
shl esi, cl
test edx, edx
lea ebx, [ebp + esi*2]
jbe 0x100fc869
mov ecx, dword [esp + 0x6c]
xor ebp, ebp
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x6c]
movzx esi, word [eax + ebp*2]
test esi, esi
je 0x100fc85e
mov ecx, dword [esp + 0x7c]
lea eax, [esi + esi]
movzx edx, word [eax + 0x1043f618]
movzx edi, word [eax + ecx + 0x20]
lea ebx, [edx + 1]
mov dword [esp + 0x2c], ebx
lea ebx, [edi + 1]
mov word [ecx + eax + 0x20], bx
mov ebx, edi
and edi, 0xff
shr ebx, 8
movzx ecx, byte [edi + 0x1043f4a0]
shl ecx, 8
movzx ebx, byte [ebx + 0x1043f4a0]
or ebx, ecx
mov ecx, esi
mov edi, dword [esp + 0x84]
neg ecx
add ecx, 0x10
shr ebx, cl
mov ecx, dword [edi + 0x14]
add ecx, ecx
sub ecx, eax
movzx eax, word [ecx + 0x1043f618]
mov dword [esp + 0x30], eax
movzx eax, word [ebp*4 + 0x1043f5a0]
or eax, esi
movzx ecx, word [ebp*4 + 0x1043f5a2]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
lea esi, [eax + 1]
mov dword [esp + 0x28], esi
cmp esi, 6
jle 0x100fc77e
mov esi, dword [esp + 0x14]
mov edi, esi
mov eax, dword [esp + 0x2c]
sub edi, eax
mov dword [esp + 0x20], edi
add edi, ebx
mov dword [esp + 4], edi
mov edi, ebx
sub edi, eax
mov dword [esp + 0x10], edi
lea eax, [esi + edi*2 + 0x400]
mov dword [esp], eax
lea eax, [edx + edx + 2]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x4c]
jg 0x100fc669
mov eax, dword [esp + 4]
cmp eax, dword [esp]
jae 0x100fc8c7
mov esi, dword [esp + 0x2c]
imul esi, dword [esp + 0x28]
mov eax, dword [esp]
sub eax, dword [esp + 4]
cmp eax, esi
jge 0x100fc698
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x4c]
jl 0x100fc77e
mov eax, dword [esp + 4]
cmp eax, dword [esp]
jbe 0x100fc77e
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 4]
sub esi, dword [esp]
lea edi, [eax + eax + 2]
imul edi, dword [esp + 0x2c]
cmp esi, edi
jl 0x100fc77e
mov eax, dword [esp + 0x28]
shr eax, 1
test eax, eax
jbe 0x100fc8b3
mov dword [esp + 0x24], ecx
lea ecx, [edx + edx + 2]
mov dword [esp + 0x38], eax
neg ecx
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x4c]
add eax, edi
add eax, ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
add ecx, eax
add ecx, edi
neg edi
add ecx, ebx
add edi, eax
mov dword [esp + 0x1c], ecx
lea ecx, [edx*4 + 4]
mov dword [esp + 8], ebx
lea ebx, [ecx + ebx*2]
neg ecx
add edi, ebx
add ecx, eax
xor esi, esi
add ecx, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x4c], edi
mov ecx, dword [esp + 0x24]
mov ebp, esi
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
inc esi
mov eax, dword [esp + 0x34]
mov byte [ebx + ebp*2], al
mov word [edi + ebp*4 + 0x400], cx
mov byte [edx + ebp*2], al
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
cmp esi, dword [esp + 0x38]
mov word [eax + ebp*4 + 0x400], cx
lea ebp, [ebp + edi + 1]
jb 0x100fc70c
mov ebx, dword [esp + 8]
lea edx, [esi + esi + 1]
mov ebp, dword [esp + 0xc]
cmp edx, dword [esp + 0x28]
ja 0x100fc85e
mov esi, dword [esp + 0x2c]
imul edx, esi
neg esi
mov eax, dword [esp + 0x14]
add esi, eax
mov edi, dword [esp + 0x10]
add esi, ebx
add edi, edx
mov ebx, dword [esp + 0x34]
mov byte [edx + esi], bl
mov word [eax + edi*2 + 0x400], cx
jmp 0x100fc85e
mov eax, dword [esp + 0x28]
shr eax, 1
test eax, eax
jbe 0x100fc8bd
mov dword [esp + 0x40], eax
lea edi, [edx + edx + 2]
mov eax, dword [esp + 0x14]
neg edi
mov dword [esp + 0xc], ebp
mov ebp, eax
mov dword [esp + 0x24], ecx
lea ecx, [edx + edx + 2]
sub ebp, dword [esp + 0x2c]
add edi, eax
add ebp, ecx
add edi, ecx
add ebp, ebx
add edi, ebx
mov dword [esp + 0x18], ebp
lea ebp, [edx*4 + 4]
mov dword [esp + 8], ebx
lea ebx, [ebp + ebx*2]
neg ebp
neg ecx
add ebp, eax
add ecx, eax
xor esi, esi
add ebp, ebx
add ecx, ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x24]
mov ebp, esi
mov ebx, edi
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x48]
inc esi
mov eax, dword [esp + 0x34]
mov byte [ebx + ebp*2], al
mov word [edi + ebp*4 + 0x400], cx
mov byte [edx + ebp*2], al
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
cmp esi, dword [esp + 0x40]
mov word [eax + ebp*4 + 0x400], cx
lea ebp, [ebp + edi + 1]
jb 0x100fc7ef
mov ebx, dword [esp + 8]
lea eax, [esi + esi + 1]
mov ebp, dword [esp + 0xc]
cmp eax, dword [esp + 0x28]
ja 0x100fc85e
mov esi, dword [esp + 0x2c]
imul eax, esi
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc], ebp
mov ebp, edi
sub ebp, esi
add ebp, ebx
sub ebx, esi
add ebx, eax
mov edx, dword [esp + 0x34]
mov byte [eax + ebp], dl
mov word [edi + ebx*2 + 0x400], cx
mov ebp, dword [esp + 0xc]
inc ebp
cmp ebp, dword [esp + 0x74]
jb 0x100fc56a
mov edx, dword [esp + 0x88]
xor eax, eax
mov dword [edx + 8], 2
add esp, 0x54
pop ebp
pop ebx
pop edi
pop esi
ret
mov edx, 1
jmp 0x100fc0eb
mov edx, 1
jmp 0x100fc20d
mov ebx, 1
jmp 0x100fc32e
mov eax, 1
jmp 0x100fc478
mov edx, 1
jmp 0x100fc520
mov edx, 1
jmp 0x100fc749
mov eax, 1
jmp 0x100fc82c
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x4c]
jge 0x100fc66f
jmp 0x100fc77e