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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x827834
sub esp, 0x84
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x8277c5
xor eax, eax
xor edx, edx
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
xor esi, esi
mov edi, esi
movzx esi, byte [ecx + 4]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x826ed3
jmp 0x826edd
dec ebx
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add ebp, ebx
mov ebx, esi
test ebx, ebx
jle 0x826edd
cmp byte [ebp], 0x2e
je 0x826ec4
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebx
test eax, eax
je 0x82772f
mov dword [esp + 0x34], eax
mov esi, edi
lea edi, [esp + 0x64]
xor eax, eax
call fcn.00460de8
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x34]
jmp 0x826f28
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
mov esi, ecx
mov edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x68]
cmp dword [esp + 0x78], ecx
jge 0x827222
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
lea eax, [esp + 0x64]
mov dword [esp], eax
call fcn.00828220
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
test ecx, ecx
jne 0x827082
mov edx, dword [esp + 0x34]
test edx, edx
je 0x827008
mov eax, dword [esp + 0x54]
movzx ecx, byte [esp + 0x22]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x80]
lea ebp, [ebx + 1]
mov dword [esp + 0x80], ebp
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
test esi, esi
je 0x826fd0
cmp ebp, edi
jl 0x826fa7
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x78], ebx
jmp 0x826f12
lea edx, [edi - 1]
cmp ebp, edx
jne 0x826fc7
cmp ebp, edi
jae 0x827820
lea edx, [esi + ebx*8 + 8]
mov edx, dword [edx + 4]
test edx, edx
jne 0x826fc7
mov edx, dword [esp + 0x34]
jmp 0x826f9a
mov edx, dword [esp + 0x34]
jmp 0x826f12
mov ebx, dword [esp + 0x7c]
lea ebp, [ebx + 1]
mov dword [esp + 0x78], ebp
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
lea edx, [esi - 1]
cmp ebp, edx
jne 0x826fff
cmp ebp, esi
jae 0x827817
lea edx, [edi + ebx + 1]
cmp byte [edx], 0x2e
jne 0x826fff
mov dword [esp + 0x78], esi
mov edx, dword [esp + 0x34]
jmp 0x826f12
mov ebx, dword [esp + 0x88]
movzx ebp, byte [ebx + 3]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x826f6c
lea eax, [0xb20e60]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x827069
mov edx, dword [esp + 0x8c]
mov dword [edi], edx
mov dword [edi + 0xc], 2
lea ebx, [0xb8e198]
mov dword [edi + 8], ebx
lea edx, [0xc82b20]
mov eax, edi
jmp 0x826f70
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.00460b40
mov eax, ecx
mov edx, dword [esp + 0x8c]
jmp 0x82704c
cmp ecx, 4
jge 0x8271ee
xor edx, edx
test dl, dl
jne 0x8270c8
mov edx, dword [esp + 0x34]
test edx, edx
je 0x8270a7
mov eax, dword [esp + 0x54]
movzx ecx, byte [esp + 0x22]
jmp 0x826f75
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00828640
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
jmp 0x82709d
cmp ecx, 4
jb 0x827829
add ecx, 0xfffffffc
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00828b60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x82711e
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x827118
mov eax, dword [esp + 0x54]
movzx ecx, byte [esp + 0x22]
mov edx, ebp
jmp 0x826f75
mov ebp, edx
mov eax, ebx
jmp 0x82710c
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], eax
movzx edx, byte [esp + 0x22]
test dl, dl
je 0x8271cc
mov edx, 1
mov byte [esp + 0x22], dl
lea ebx, [esp + 0x64]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00828300
mov eax, dword [esp + 0x34]
test eax, eax
je 0x827197
mov ecx, dword [esp + 0x54]
test eax, eax
je 0x82716e
mov edx, eax
mov eax, ecx
movzx ecx, byte [esp + 0x22]
jmp 0x826f75
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.00828640
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x827160
mov ebx, dword [esp + 0x88]
movzx ebp, byte [ebx + 2]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x827158
mov edx, dword [ebx + 0xc]
mov dword [esp], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
mov ebp, dword [edx]
call ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x82715c
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0081a740
mov eax, dword [esp + 8]
test eax, eax
setne dl
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
jmp 0x827138
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], eax
mov dword [esp], eax
lea ecx, [0xb8f960]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call fcn.00402a10
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
jmp 0x82708d
xchg esi, eax
test al, al
xchg esi, eax
je 0x827723
mov ecx, dword [esp + 0x88]
mov esi, dword [ecx + 0x14]
test esi, esi
je 0x827242
test eax, eax
je 0x8275b3
movzx ebx, byte [esp + 0x94]
test bl, bl
je 0x827477
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
jmp 0x82727d
mov ecx, ebp
mov eax, edx
mov edx, ebx
movzx ebx, byte [esp + 0x94]
mov ebp, dword [esp + 0x68]
cmp dword [esp + 0x78], ebp
jge 0x827477
mov dword [esp + 0x60], edx
mov dword [esp + 0x40], eax
lea eax, [esp + 0x64]
mov dword [esp], eax
call fcn.00828220
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00828b00
movzx eax, byte [esp + 8]
test al, al
je 0x8273f6
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x88]
movzx esi, byte [ebp + 3]
xchg esi, eax
test al, al
xchg esi, eax
je 0x8272f1
test edx, edx
je 0x827389
mov esi, dword [esp + 0x80]
lea eax, [esi + 1]
mov dword [esp + 0x80], eax
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
test edi, edi
je 0x82734e
cmp eax, ecx
jl 0x82731f
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], eax
jmp 0x82726f
lea ebp, [ecx - 1]
cmp eax, ebp
jne 0x827342
cmp eax, ecx
jae 0x827808
lea eax, [edi + esi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x827342
mov ebp, dword [esp + 0x88]
jmp 0x827312
mov ebp, dword [esp + 0x88]
jmp 0x82726f
mov esi, dword [esp + 0x7c]
lea eax, [esi + 1]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
lea ebp, [ecx - 1]
cmp eax, ebp
jne 0x82737d
cmp ecx, eax
jbe 0x827803
lea eax, [esi + edi + 1]
cmp byte [eax], 0x2e
jne 0x82737d
mov dword [esp + 0x78], ecx
mov ebp, dword [esp + 0x88]
jmp 0x82726f
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], ecx
test eax, eax
je 0x82739e
cmp eax, 0x3f
jle 0x8272f1
lea eax, [0xb20e60]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x10fd360]
test eax, eax
jne 0x8273eb
mov edx, dword [esp + 0x50]
mov dword [edi], edx
mov dword [edi + 0xc], 2
lea esi, [0xb8e198]
mov dword [edi + 8], esi
mov ebp, dword [esp + 0x88]
lea edx, [0xc82b20]
mov ebx, edi
jmp 0x8272f1
mov eax, dword [esp + 0x50]
call fcn.00460b40
jmp 0x8273c7
lea eax, [0xb8f960]
mov dword [esp], eax
mov dword [esp + 4], 4
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
call fcn.008292f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x827471
mov edx, dword [esp + 0x60]
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x58], eax
lea ebx, [esp + 0x64]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00828300
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
jmp 0x8272d8
mov ebp, edx
mov edx, ebx
jmp 0x827438
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
test ebp, ebp
jne 0x827563
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
test bl, bl
je 0x8274a3
movzx ecx, byte [ecx + 3]
test cl, cl
je 0x8274a3
test eax, eax
je 0x8274c6
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
add esp, 0x84
ret
test esi, esi
jle 0x82755c
lea ecx, [esi + ebp - 1]
cmp byte [ecx], 0x2e
jne 0x82755c
lea ecx, [esi - 1]
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], ebp
cmp esi, 1
jge 0x82754a
lea eax, [0xb20e60]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x827537
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [edi + 0xc], 2
lea edx, [0xb8e198]
mov dword [edi + 8], edx
lea edx, [0xc82b20]
mov ebp, ecx
mov esi, eax
mov eax, edx
mov edx, edi
jmp 0x8274a3
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.00460b40
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x827514
cmp ecx, 0xfd
jg 0x8274eb
mov ecx, ebp
mov edi, edx
mov edx, eax
mov eax, esi
jmp 0x82752a
mov ecx, esi
jmp 0x8274de
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], edx
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
lea eax, [0xb8e061]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004b36c0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
movzx eax, byte [esp + 0x94]
test al, al
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x5c]
jmp 0x827495
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
jmp 0x8275ed
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x68]
cmp dword [esp + 0x78], esi
jge 0x82771f
lea eax, [esp + 0x64]
mov dword [esp], eax
call fcn.00828220
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 0x14]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x8276be
mov edx, dword [esp + 0x80]
lea eax, [edx + 1]
mov dword [esp + 0x80], eax
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
test ebx, ebx
je 0x827682
cmp ecx, eax
jg 0x82765f
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], eax
jmp 0x8275d0
lea ebp, [ecx - 1]
cmp eax, ebp
jne 0x8275d0
cmp ecx, eax
jbe 0x827812
lea eax, [ebx + edx*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x827652
jmp 0x8275d0
mov edx, dword [esp + 0x7c]
lea eax, [edx + 1]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
lea ebp, [ecx - 1]
cmp eax, ebp
jne 0x8275d0
cmp eax, ecx
jae 0x82780d
lea eax, [ebx + edx + 1]
cmp byte [eax], 0x2e
jne 0x8275d0
mov dword [esp + 0x78], ecx
jmp 0x8275d0
lea eax, [0xb20e60]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov eax, dword [0x10fd360]
test eax, eax
jne 0x827711
mov eax, dword [esp + 0x8c]
mov dword [edi], eax
mov dword [edi + 0xc], 1
lea eax, [0xb8e072]
mov dword [edi + 8], eax
lea eax, [0xc82b20]
mov ecx, dword [esp + 0x88]
mov edx, edi
jmp 0x827242
mov eax, dword [esp + 0x8c]
call fcn.00460b40
jmp 0x8276ed
mov edi, edx
jmp 0x827703
mov ecx, dword [esp + 0x88]
jmp 0x827242
movzx esi, byte [ecx + 3]
xchg esi, eax
test al, al
xchg esi, eax
je 0x826ef3
test ebx, ebx
jne 0x826ef3
xchg edi, eax
mov byte [esp + 0x23], al
xchg edi, eax
lea eax, [0xb20e60]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x8277ac
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
mov dword [edi + 0xc], 2
lea esi, [0xb8e198]
mov dword [edi + 8], esi
mov ecx, dword [esp + 0x88]
mov ebx, eax
mov ebp, dword [esp + 0x8c]
lea eax, [0xc82b20]
mov edx, edi
movzx edi, byte [esp + 0x23]
jmp 0x826ef3
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.00460b40
mov eax, ecx
mov ecx, dword [esp + 0x8c]
jmp 0x82777a
mov dword [esp], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
mov eax, dword [edx]
call eax
mov ebp, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
movzx esi, byte [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
jmp 0x826eb6
call fcn.00460bc0
call fcn.00460bc0
call fcn.00460bc0
call fcn.00460bc0
mov eax, ebp
mov ecx, esi
call fcn.00460bc0
mov eax, ebp
mov ecx, edi
call fcn.00460bc0
mov eax, 4
call fcn.00460c20
nop
call fcn.0045f5f0
jmp fcn.00826e70