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

Disassembly:
sub esp, 0x1b0
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x50]
mov ebp, dword [edi + 4]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x15c]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x64], edx
mov edx, dword [edi + 0x48]
mov dword [esp + 0xa4], eax
mov eax, dword [edi + 0x4c]
push 0
mov dword [esp + 0xac], ecx
mov ecx, dword [edi + 0x160]
push 0x1017b900
mov dword [esp + 0x18], edi
mov dword [esp + 0xa8], ebp
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
call fcn.10004080
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
mov dword [esp + 0x70], esi
jg 0x10081c14
push ebx
mov ebx, edi
jmp 0x10081167
mov ebp, dword [esp + 0xa4]
cmp dword [ebx + 0x164], 0
mov dword [esp + 0x18], 0
jne 0x10081c13
mov edi, dword [esp + 0x48]
add edi, 0x325c
push 0x3e8
push edi
call fcn.10056fb0
add esp, 8
test esi, esi
jl 0x10081c2c
cmp esi, dword [ebp + 8]
jge 0x10081c2c
mov ecx, dword [ebp + 4]
mov edx, dword [ebx + 0x10]
mov esi, dword [ecx + esi*4]
mov ebp, dword [esp + 0x48]
push 0
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x8c]
push edx
push esi
push ebp
call fcn.1007e0f0
add esp, 0x1c
test eax, eax
push edi
jne 0x100811e0
call fcn.10057040
jmp 0x10081af5
call fcn.10057040
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x1c]
add esp, 4
cmp eax, dword [ebx + 0x20]
mov dword [esp + 0x54], edi
jg 0x10081ae0
mov esi, dword [esp + 0x84]
cmp esi, dword [ebx + 0x24]
jg 0x10081ae0
cmp dword [ebx + 0x18], 0
jne 0x10081257
test esi, esi
jle 0x100812e8
mov ebx, dword [esp + 0x2c]
mov edx, edi
mov edi, esi
add edx, 3
mov esi, eax
jmp 0x10081230
test esi, esi
jle 0x1008124b
mov eax, edx
mov ecx, esi
jmp 0x10081240
mov byte [eax], 0
add eax, 4
sub ecx, 1
jne 0x10081240
add edx, ebx
sub edi, 1
jne 0x10081230
jmp 0x100812e8
mov ecx, esi
imul ecx, dword [esp + 0x2c]
push ecx
call fcn.10111579
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
je 0x10081ae0
test esi, esi
jle 0x100812e8
mov edx, dword [esp + 0x84]
mov ebx, eax
lea ebp, [edi + 1]
mov dword [esp + 0x38], edx
jmp 0x10081290
cmp dword [esp + 0x80], 0
jle 0x100812d9
mov edi, dword [esp + 0x80]
mov esi, ebx
mov ecx, ebp
movzx eax, byte [ecx + 1]
movzx edx, byte [ecx - 1]
add edx, eax
movzx eax, byte [ecx]
add edx, eax
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [esi], edx
add ecx, 4
add esi, 4
sub edi, 1
jne 0x100812a5
mov eax, dword [esp + 0x2c]
add ebx, eax
add ebp, eax
sub dword [esp + 0x38], 1
jne 0x10081290
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x18]
add eax, 0x5c
push 0x1017bb50
xor ebx, ebx
push eax
mov dword [esp + 0x84], ebx
call fcn.10113843
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x90]
movzx ecx, byte [esp + 0x86]
mov edi, dword [esp + 0x8c]
movzx edx, ah
and eax, 0xff
mov dword [esp + 0x7c], eax
mov eax, dword [esi]
mov dword [esp + 0x58], eax
lea eax, [ebp - 1]
imul eax, dword [esp + 0x38]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + edi*4 - 4]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x58]
add esp, 0xc
cmp ebx, ecx
mov dword [esp + 0x6c], edx
mov edx, dword [eax + esi]
jne 0x1008148f
cmp ecx, edx
jne 0x1008148f
lea ecx, [eax + edi*4]
cmp edx, dword [ecx + esi - 4]
jne 0x1008148f
xor edx, edx
test ebp, ebp
mov dword [esp + 0x50], 1
jle 0x100813af
xor eax, eax
test edi, edi
jle 0x100813a4
mov ecx, esi
cmp dword [ecx], ebx
jne 0x100813a0
add eax, 1
add ecx, 4
cmp eax, edi
jl 0x10081390
jmp 0x100813a4
cmp eax, edi
jl 0x100813af
add esi, dword [esp + 0x2c]
add edx, 1
cmp edx, ebp
jl 0x10081388
xor esi, esi
test ebp, ebp
jle 0x100813e4
xor edx, edx
lea eax, [edi - 1]
test eax, eax
jl 0x100813d9
lea ecx, [edx + eax*4]
add ecx, dword [esp + 0x18]
cmp dword [ecx], ebx
jne 0x100813d5
sub eax, 1
sub ecx, 4
test eax, eax
jge 0x100813c5
jmp 0x100813d9
test eax, eax
jge 0x100813e4
add edx, dword [esp + 0x2c]
add esi, 1
cmp esi, ebp
jl 0x100813b7
lea esi, [ebp - 1]
test esi, esi
jl 0x1008143d
mov eax, dword [esp + 0x2c]
mov edx, esi
imul edx, eax
mov ebx, eax
neg ebx
add edx, dword [esp + 0x18]
lea esp, [esp]
xor eax, eax
test edi, edi
jle 0x1008142b
mov ebp, dword [esp + 0x4c]
mov ecx, edx
lea esp, [esp]
cmp dword [ecx], ebp
jne 0x10081420
add eax, 1
add ecx, 4
cmp eax, edi
jl 0x10081410
jmp 0x10081424
cmp eax, edi
jl 0x10081436
mov ebp, dword [esp + 0x84]
sub esi, 1
add edx, ebx
test esi, esi
jge 0x10081400
jmp 0x1008143d
mov ebp, dword [esp + 0x84]
lea esi, [ebp - 1]
test esi, esi
jl 0x1008148f
mov ebx, dword [esp + 0x2c]
mov edx, esi
imul edx, ebx
neg ebx
nop
lea eax, [edi - 1]
test eax, eax
jl 0x1008147d
mov ebp, dword [esp + 0x4c]
lea ecx, [edx + eax*4]
add ecx, dword [esp + 0x18]
cmp dword [ecx], ebp
jne 0x10081472
sub eax, 1
sub ecx, 4
test eax, eax
jge 0x10081462
jmp 0x10081476
test eax, eax
jge 0x10081488
mov ebp, dword [esp + 0x84]
sub esi, 1
add edx, ebx
test esi, esi
jge 0x10081450
jmp 0x1008148f
mov ebp, dword [esp + 0x84]
mov ecx, ebp
imul ecx, edi
mov dword [esp + 0x64], ecx
imul ecx, dword [esp + 0xa8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x30], ecx
xor ecx, ecx
cmp eax, ecx
jne 0x1008162c
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x24]
sub eax, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], eax
js 0x10081aaf
mov esi, dword [esp + 0x68]
mov ecx, edx
mov edx, dword [ecx + 0x20]
sub edx, dword [esp + 0x80]
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], edx
xor ecx, ecx
lea esp, [esp]
cmp edx, ecx
mov dword [esp + 0x20], ecx
jl 0x10081608
mov dword [esp + 0x28], esi
cmp dword [esp + 0x84], ecx
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x38], ecx
jle 0x100815d6
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
xor esi, esi
cmp dword [esp + 0x80], esi
jle 0x1008159c
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [edi]
push eax
push ecx
mov ecx, dword [ebx + esi*4]
sub ebp, 1
call fcn.10060f90
add esp, 0x14
test eax, eax
je 0x10081576
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x10081b15
lea edx, [ecx + ebp]
cmp edx, eax
jl 0x1008159c
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x80]
jl 0x10081544
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jge 0x10081b15
add eax, ebp
cmp eax, ecx
jl 0x100815d6
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
add ebx, dword [esp + 0x2c]
add dword [esp + 0x24], ecx
add eax, 1
cmp eax, dword [esp + 0x84]
mov dword [esp + 0x38], eax
jl 0x10081535
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x10], edx
jge 0x10081b15
mov eax, dword [esp + 0x20]
add dword [esp + 0x28], 4
add eax, 1
xor ecx, ecx
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
jle 0x10081510
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
add esi, dword [esp + 0x44]
add edi, 1
cmp edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], esi
jle 0x10081500
jmp 0x10081aaf
cmp eax, 1
jne 0x100817ad
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x24]
sub eax, ebp
mov dword [esp + 0x1c], eax
js 0x10081aaf
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
imul eax, esi
mov edx, dword [ecx + 0x20]
sub edx, dword [esp + 0x80]
add eax, dword [esp + 0x68]
mov ecx, esi
neg ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
xor esi, esi
cmp edx, esi
mov dword [esp + 0x20], esi
jl 0x1008178f
mov dword [esp + 0x24], eax
jmp 0x10081690
cmp dword [esp + 0x84], esi
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], esi
mov dword [esp + 0x34], esi
jle 0x10081757
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], edx
xor esi, esi
cmp dword [esp + 0x80], esi
jle 0x1008171c
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [edi]
push eax
push ecx
mov ecx, dword [ebx + esi*4]
sub ebp, 1
call fcn.10060f90
add esp, 0x14
test eax, eax
je 0x100816f6
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x10081b2d
lea edx, [ecx + ebp]
cmp edx, eax
jl 0x1008171c
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x80]
jl 0x100816c4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jge 0x10081b2d
lea edx, [eax + ebp]
cmp edx, ecx
jl 0x1008175f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
add ebx, dword [esp + 0x2c]
add dword [esp + 0x28], ecx
add eax, 1
cmp eax, dword [esp + 0x84]
mov dword [esp + 0x34], eax
jl 0x100816b5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jge 0x10081b2d
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 4
add eax, 1
xor esi, esi
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
jle 0x10081690
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
sub edi, 1
add eax, ecx
cmp edi, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], eax
jge 0x10081673
jmp 0x10081aaf
cmp eax, 2
jne 0x10081926
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0x24]
sub ecx, ebp
mov dword [esp + 0x38], ecx
js 0x10081aaf
mov eax, edx
mov eax, dword [eax + 0x20]
sub eax, dword [esp + 0x80]
xor edx, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], edx
test eax, eax
mov dword [esp + 0x20], eax
jl 0x10081902
lea eax, [edx + eax*4]
add eax, dword [esp + 0x68]
mov dword [esp + 0x24], eax
lea ebx, [ebx]
mov ebp, dword [esp + 0x64]
xor eax, eax
cmp dword [esp + 0x84], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], eax
jle 0x100818d2
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
jmp 0x10081830
xor esi, esi
cmp dword [esp + 0x80], esi
jle 0x10081897
mov edi, dword [esp + 0x28]
nop
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [ebx + esi*4]
push edx
mov edx, dword [edi]
push eax
sub ebp, 1
call fcn.10060f90
add esp, 0x14
test eax, eax
je 0x10081872
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x10081b2d
add ecx, ebp
cmp ecx, eax
jl 0x10081897
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x80]
jl 0x10081840
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jge 0x10081b2d
lea edx, [eax + ebp]
cmp edx, ecx
jl 0x100818da
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
add ebx, dword [esp + 0x2c]
add dword [esp + 0x28], ecx
add eax, 1
cmp eax, dword [esp + 0x84]
mov dword [esp + 0x3c], eax
jl 0x10081830
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x10081b2d
mov eax, dword [esp + 0x20]
sub dword [esp + 0x24], 4
sub eax, 1
test eax, eax
mov dword [esp + 0x20], eax
jge 0x10081800
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
add edx, dword [esp + 0x44]
add esi, 1
cmp esi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], edx
jle 0x100817e3
jmp 0x10081aaf
cmp eax, 3
jne 0x10081aaf
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x24]
sub ecx, dword [esp + 0x84]
mov dword [esp + 0x1c], ecx
js 0x10081aaf
mov eax, edx
mov esi, dword [eax + 0x20]
mov edx, dword [esp + 0x44]
sub esi, dword [esp + 0x80]
mov eax, ecx
imul eax, edx
neg edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
lea ebx, [ebx]
test esi, esi
mov dword [esp + 0x20], esi
jl 0x10081a9a
lea eax, [eax + esi*4]
add eax, dword [esp + 0x68]
mov dword [esp + 0x24], eax
jmp 0x10081990
mov ebp, dword [esp + 0x64]
xor eax, eax
cmp dword [esp + 0x84], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], eax
jle 0x10081a62
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
jmp 0x100819c0
xor esi, esi
cmp dword [esp + 0x80], esi
jle 0x10081a27
mov edi, dword [esp + 0x28]
nop
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [ebx + esi*4]
push edx
mov edx, dword [edi]
push eax
sub ebp, 1
call fcn.10060f90
add esp, 0x14
test eax, eax
je 0x10081a02
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x10081b2d
add ecx, ebp
cmp ecx, eax
jl 0x10081a27
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x80]
jl 0x100819d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jge 0x10081b2d
lea edx, [eax + ebp]
cmp edx, ecx
jl 0x10081a6a
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
add ebx, dword [esp + 0x2c]
add dword [esp + 0x28], ecx
add eax, 1
cmp eax, dword [esp + 0x84]
mov dword [esp + 0x3c], eax
jl 0x100819c0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x10081b2d
mov eax, dword [esp + 0x20]
sub dword [esp + 0x24], 4
sub eax, 1
test eax, eax
mov dword [esp + 0x20], eax
jge 0x10081990
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
sub ecx, 1
add eax, edx
test ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], eax
jge 0x10081970
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x10], 0
jne 0x10081ac6
mov edx, dword [esp + 0x48]
cmp dword [edx + 0x32f4], 0
jne 0x10081ad3
mov eax, dword [esp + 0x54]
push eax
call fcn.1011163c
add esp, 4
cmp dword [esi + 0x18], 0
je 0x10081af8
mov ecx, dword [esp + 0x18]
push ecx
jmp 0x10081af0
cmp dword [ebx + 0x10], 0
jne 0x10081aef
cmp dword [ebp + 0x32f4], 0
jne 0x10081af8
push edi
call fcn.1011163c
add esp, 4
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x14]
add esi, 1
cmp esi, dword [ebx + 0xc]
mov dword [esp + 0x74], esi
jle 0x10081160
jmp 0x10081c13
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
lea esi, [eax + edx]
mov edx, dword [esp + 0x1c]
lea edi, [edx + ecx]
jmp 0x10081b43
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
lea esi, [edx + eax]
mov edx, dword [esp + 0x60]
lea edi, [ecx + edx]
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x10], 0
jne 0x10081b5a
mov ecx, dword [esp + 0x48]
cmp dword [ecx + 0x32f4], 0
jne 0x10081b67
mov edx, dword [esp + 0x54]
push edx
call fcn.1011163c
add esp, 4
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], 0
je 0x10081b7e
mov ecx, dword [esp + 0x18]
push ecx
call fcn.1011163c
add esp, 4
mov dl, 0x7c
push edi
mov al, 0x64
mov cl, 0x25
mov byte [esp + 0xb6], dl
mov byte [esp + 0xb9], dl
mov edx, dword [esp + 0x78]
push esi
mov byte [esp + 0xb9], al
mov byte [esp + 0xbc], al
mov byte [esp + 0xbf], al
push edx
lea eax, [esp + 0xbc]
mov byte [esp + 0xbc], cl
mov byte [esp + 0xbf], cl
mov byte [esp + 0xc2], cl
push eax
lea ecx, [esp + 0xcc]
push ecx
mov byte [esp + 0xcc], 0
call fcn.10112d57
lea eax, [esp + 0xd0]
add esp, 0x14
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10081bf0
sub eax, edx
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x160]
lea edx, [esp + 0xc0]
push edx
call fcn.10004080
pop ebx
mov ecx, dword [esp + 0x1b8]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10111b17
add esp, 0x1b0
ret
jmp fcn.10100646