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

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x40]
xor edx, edx
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x5c]
push edi
mov ecx, dword [ebp]
dec dword [esp + 0x54]
inc dword [esp + 0x68]
movzx eax, byte [ecx + eax]
add eax, 0x3ff
mov dword [esp + 0x10], eax
lea eax, [esi + ecx*2]
movzx eax, byte [ecx + eax]
mov ecx, 0x17b8
div ecx
mov eax, dword [0x100ad308]
mov ecx, dword [esp + 0x74]
inc eax
mov dword [0x100ad308], eax
or eax, 0x1b6d
mov dword [esp + 0x20], eax
mov eax, dword [0x100ad2bc]
mov byte [esp + 0x60], dl
mov edx, dword [0x100ad2e4]
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x728]
mov dword [esp + 0x14], eax
mov eax, dword [0x100ad300]
mov edi, dword [eax + 0x4e78]
mov eax, dword [ebp]
imul edi, edx
dec edx
mov dword [esp + 0x30], edx
movzx ebx, byte [ecx + eax*2]
mov cx, word [0x100ad2d8]
and ebx, 0x1b25
inc cx
mov word [0x100ad2d8], cx
movzx eax, cx
mov dword [esp + 0x28], eax
mov eax, dword [ebp]
movzx eax, byte [eax + esi]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x44], eax
mov eax, 0x65870a1d
mov dword [0x100ad2e4], edx
mul esi
shr edx, 9
imul eax, edx, 0x50b
mov edx, dword [0x100ad2fc]
dec edx
mov dword [0x100ad2fc], edx
sub esi, eax
mov eax, 0xffff
add cx, ax
mov dword [esp + 0x18], esi
mov eax, dword [0x100ad2e0]
mov esi, dword [0x100ad2e8]
and eax, 0x5c
mov dword [esp + 0x24], eax
dec esi
mov word [0x100ad2d8], cx
mov eax, dword [ebp]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x3c], esi
mov eax, dword [ecx + eax*4 + 0x30]
mov dword [esp + 0x1c], eax
mov al, byte [0x100ad2c9]
inc al
mov dword [0x100ad2e8], esi
mov byte [0x100ad2c9], al
movzx eax, al
mov dword [esp + 0x38], eax
xor eax, 0x567
mov dword [esp + 0x2c], eax
dec ebx
mov eax, dword [esp + 0x6c]
mov ecx, dword [ebp]
add eax, ebx
mov dword [esp + 0x40], eax
movzx eax, byte [eax + 1]
cmp al, byte [edi + ecx]
je 0x100081a8
cmp dword [esp + 0x38], ebx
jl 0x100081a8
mov eax, dword [esp + 0x24]
movzx edi, byte [esp + 0x60]
cmp edi, dword [esi + eax*4]
jb 0x100081a8
inc edx
mov ecx, dword [esp + 0x30]
mov dword [0x100ad2fc], edx
mov eax, edi
cdq
inc ecx
idiv dword [esp + 0x5c]
mov dword [0x100ad2e4], ecx
mov ecx, dword [0x100ad2bc]
dec ecx
mov dword [0x100ad2bc], ecx
sub al, cl
mov edx, dword [ebp]
mov ecx, dword [esp + 0x64]
or al, byte [ecx + edx*4 + 0x1c]
mov ecx, dword [esp + 0x74]
xor byte [ebx + ecx], al
jmp 0x100084ec
mov edi, dword [esp + 0x20]
movzx eax, word [edi + edx*2]
dec edx
mov dword [0x100ad2fc], edx
cmp ebx, eax
je 0x100081d4
mov eax, dword [ebp]
add ebp, 4
mov ecx, dword [0x100ad300]
mov dword [esp + 0x4c], ebp
cmp edx, dword [ecx + eax*4]
jne 0x10008334
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebx]
movzx eax, word [edi + eax*2]
cmp eax, dword [edx + ecx*8 + 0x50]
jge 0x10008334
mov eax, dword [ebp]
mov edx, dword [esp + 0x50]
movzx eax, byte [eax + edx + 8]
add eax, dword [0x100ad304]
push eax
push dword [esp + 0x60]
call fcn.1001a500
mov eax, 0xfbf
sub ebx, 4
sub eax, dword [0x100ad308]
add esp, 8
mov dword [0x100ad308], eax
mov eax, 0x1eb3
sub eax, dword [esp + 0x54]
or dword [0x100ad30c], eax
mov ecx, dword [ebx]
mov eax, dword [0x100ad2c4]
mov dword [esp + 0x10], ebx
lea ecx, [eax + ecx*4]
mov eax, dword [0x100ad2fc]
or dword [ecx + 0x54], eax
inc dword [0x100ad2fc]
mov eax, dword [0x100ad2b0]
cmp eax, dword [esp + 0x64]
je 0x10008334
mov eax, dword [0x100ad304]
xor edx, edx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x14]
mov edi, dword [eax*8 + 0x2a247b5]
mov eax, dword [0x100ad2dc]
xor edi, dword [esp + 0x28]
movzx esi, byte [ecx + eax*2]
mov eax, dword [ebx]
xor esi, 0x11f0
mov bl, byte [0x100ad2c8]
movzx ecx, bl
dec bl
mov eax, dword [ebp + eax*4]
div ecx
mov ecx, dword [esp + 0x58]
movzx edx, word [0x100ad2d8]
mov byte [0x100ad2c8], bl
mov ebx, dword [esp + 0x5c]
imul edx, dword [ecx + 0x5d44]
mov ecx, dword [esp + 0x3c]
push dword [ecx + ebx*4]
push edx
push eax
push esi
push dword [0x100ad2bc]
push edi
call fcn.10008d30
movzx ecx, byte [0x100ad2c9]
add esp, 0x18
mov edx, dword [esp + 0x20]
mov word [edx + ecx*2], ax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x1c]
movzx esi, byte [0x100ad2c9]
add esi, dword [esp + 0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, 0xbe5
cdq
idiv ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
xor dl, 0xfb
sub dl, byte [ecx + eax*4 + 0x60]
movzx eax, byte [esi + 5]
movzx ecx, dl
mov edx, dword [esp + 0x40]
imul ecx, eax
mov byte [esi + 5], cl
mov ecx, dword [esp + 0x78]
mov al, byte [ecx + 0x7a3c]
sub al, byte [edx]
sub al, byte [esp + 0x68]
add al, 0x75
mov byte [edx], al
jmp 0x100084f0
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov esi, dword [esi + eax*8]
mov eax, dword [0x100ad30c]
inc eax
mov dword [0x100ad30c], eax
movzx ecx, byte [edx + eax]
xor edx, edx
mov eax, 0x51c
div ecx
push eax
push esi
call fcn.1001a500
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov word [edi + ecx*2], ax
mov ecx, dword [esp + 0x38]
mov eax, dword [0x100ad2ec]
movzx ebx, cl
mov ecx, dword [0x100ad2e4]
mov edi, dword [eax + ecx*4]
dec ecx
mov eax, dword [esp + 0x60]
add edi, ebx
mov dword [0x100ad2e4], ecx
mov ecx, dword [esp + 0x64]
imul esi, dword [eax + ecx*4 + 4], 0x1d4e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov eax, dword [edx]
mov edx, dword [esp + 0x74]
movzx edx, byte [ecx + edx]
sub edx, dword [ebp + eax*4]
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov ecx, dword [esp + 0x58]
movzx eax, byte [eax + ecx + 0xc]
sub dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [esp + 0x7c]
lea eax, [eax + ecx*2]
movzx eax, byte [ecx + eax]
push eax
push dword [esp + 0x7c]
mov eax, 0x17ee
sub eax, dword [esp + 0x54]
push edx
push esi
push edi
push eax
call fcn.10008d30
mov esi, dword [0x100ad2f8]
mov edi, dword [esp + 0x34]
dec esi
mov edx, dword [esp + 0x70]
mov dword [0x100ad308], eax
mov eax, dword [0x100ad2b8]
mov dword [0x100ad2f8], esi
mov ecx, dword [edi]
sub edi, 4
mov dword [esp + 0x34], edi
movzx eax, word [eax + ecx*2]
mov ecx, dword [0x100ad2bc]
movzx ecx, byte [ecx + edx + 2]
and eax, ecx
mov ecx, dword [esp + 0x54]
cdq
idiv esi
mov eax, dword [ebp]
mov dword [ecx + eax*4], edx
mov eax, dword [0x100ad2dc]
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + eax*8]
inc eax
mov ecx, dword [0x100ad30c]
or esi, ebx
mov dword [0x100ad2dc], eax
dec ecx
mov eax, 0x94d
mov dword [0x100ad30c], ecx
cdq
idiv ecx
push edx
push esi
call fcn.1001a500
mov ecx, dword [0x100ad2e4]
mov edi, dword [0x100ad2bc]
mov ebx, dword [esp + 0x3c]
mov dword [0x100ad2c0], eax
mov eax, edi
cdq
mov esi, dword [0x100ad2b4]
idiv dword [ebx + ecx*4 + 0x18]
inc ecx
mov dword [0x100ad2e4], ecx
mov ebp, edx
mov eax, dword [ebx]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov ebx, dword [edx + eax*4 + 0x6c]
mov ecx, dword [ecx]
mov eax, dword [esp + 0x74]
imul ebx, dword [eax + ecx*4]
mov ecx, dword [0x100ad2f8]
or esi, ecx
dec ecx
mov dword [0x100ad2f8], ecx
movzx eax, byte [edi + 0x32cf]
cdq
idiv ecx
mov eax, dword [esp + 0x74]
inc dword [eax]
mov eax, dword [eax]
push dword [eax*8 + 0x2a247a1]
push edx
push 0xf25
push esi
push ebx
push ebp
call fcn.10008d30
mov ecx, dword [0x100ad2ec]
add esp, 0x40
mov ebx, dword [esp + 0x5c]
mov dword [ecx + ebx*4 + 4], eax
mov ecx, dword [esp + 0x78]
mov eax, dword [0x100ad2bc]
pop edi
pop esi
pop ebp
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4 + 0xc]
and eax, 0x1c63
pop ebx
add esp, 0x38
ret