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

Disassembly:
sub esp, 0x34
mov eax, dword [0x1005f900]
mov ecx, 0x1720
push ebx
push ebp
mov ebp, dword [0x1005f8d4]
push esi
mov esi, dword [0x1005f904]
push edi
mov eax, dword [eax + ebp*4]
cdq
idiv ecx
mov edi, dword [0x1005f910]
mov al, 5
mov dword [esp + 0x3c], edx
xor edx, edx
sub al, byte [edi + ebp*4]
mov byte [esp + 0x12], al
mov eax, dword [0x1005f908]
lea eax, [eax + esi*2]
mov al, byte [esi + eax]
mov byte [esp + 0x13], al
mov eax, dword [0x1005f8f0]
mov dword [esp + 0x30], eax
mov eax, dword [0x1005f924]
mov dword [esp + 0x20], eax
dec eax
mov dword [0x1005f924], eax
mov eax, dword [0x1005f8e0]
movzx ecx, word [eax + 0x147e]
mov eax, 0x8d9
div ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
imul eax, dword [esp + 0x60], 0x7ea
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x5c]
mov bl, byte [eax + ecx*4 + 0x90]
mov ecx, esi
mov eax, dword [0x1005f914]
add ecx, ecx
cdq
idiv dword [0x1005f914]
xor edx, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + esi*8]
mov esi, 0x287
and eax, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [edi + eax*8]
inc eax
sub ecx, ebp
mov dword [esp + 0x4c], eax
movzx ebp, word [0x1005f920]
movzx eax, bl
add ebp, 0x298
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
lea ecx, [eax*4]
mov eax, dword [0x1005f8f8]
mov dword [esp + 0x24], ecx
mov ebx, dword [ecx + eax + 4]
mov ecx, dword [0x1005f918]
mov eax, dword [0x1005f8d4]
add ecx, 0xffffe354
movzx edi, cx
xor eax, 0x1d9f
mov ecx, dword [0x1005f928]
add edi, 0xe96
mov dword [esp + 0x2c], eax
mov eax, dword [0x1005f924]
movzx ecx, byte [ecx + 0x107e]
sub esi, ecx
mov ecx, dword [esp + 0x5c]
div dword [ecx + 0x18dc]
push edx
push esi
mov esi, dword [esp + 0x54]
push 0x93
push edi
push dword [esp + 0x3c]
push 0xf41
push ebx
push esi
push dword [0x1005f8f4]
push ebp
push 1
call fcn.10001cc0
mov ecx, dword [0x1005f918]
xor edx, edx
mov dword [0x1005f8dc], eax
add esp, 0x2c
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x18]
lea ecx, [eax + ecx*4]
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x48]
mov eax, dword [eax + esi*4]
div dword [ecx]
movzx eax, byte [esp + 0x12]
mov dword [ecx], edx
xor edx, edx
mov dword [esp + 0x4c], eax
add eax, ebp
imul eax, dword [edi + 0x180]
mov dword [edi + 0x180], eax
movzx ecx, byte [0x1005f8e8]
mov eax, dword [esp + 0x6c]
and eax, 0x7f9
mov esi, dword [0x1005f924]
div ecx
mov cx, word [0x1005f920]
xor edx, edx
inc cx
mov bl, al
mov word [0x1005f920], cx
movzx eax, cx
mov ecx, dword [0x1005f91c]
mov dword [esp + 0x2c], eax
mov byte [0x1005f8e8], bl
sub eax, dword [ecx + 0x1f20]
mov ecx, dword [0x1005f8fc]
imul eax, dword [ecx + esi*4]
dec esi
mov ecx, dword [esp + 0x28]
mov dword [0x1005f924], esi
div dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + ecx]
mov eax, dword [esp + 0x64]
cmp ecx, dword [eax + ebp*4]
ja 0x10011648
mov ecx, dword [0x1005f918]
mov esi, dword [0x1005f928]
mov eax, dword [0x1005f8e0]
movzx edx, byte [esi + ecx*4]
mov cx, word [eax + ecx*2]
movzx eax, byte [esi + 0x880]
sub cx, dx
mov edx, dword [esp + 0x34]
sub cx, ax
mov eax, dword [esp + 0x60]
xor word [edx + eax*2], cx
mov eax, dword [0x1005f8f8]
dec dword [0x1005f918]
add dword [eax + 0x180], 0x1c4d
mov eax, dword [esp + 0x54]
mov ecx, dword [0x1005f924]
cmp ecx, dword [eax + 0x180]
je 0x10011a5d
movzx eax, byte [0x1005f8e8]
xor ebp, ebp
sub eax, dword [edi + 0xc50]
or eax, ecx
mov ecx, dword [esp + 0x14]
xor dword [ecx*8 + 0x9d1acc], eax
mov eax, dword [0x1005f924]
and dword [0x1005f914], eax
jmp 0x10011a62
mov eax, dword [esp + 0x54]
mov ecx, dword [0x1005f904]
cmp dword [eax + 0x51bc], 0x1da0
jle 0x10011687
mov eax, dword [0x1005f8e0]
mov edx, 0x11d
cmp word [eax + ecx*2], dx
jae 0x10011687
mov eax, dword [0x1005f8f8]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov eax, dword [eax + ecx*4]
and eax, 0x1589
pop ebx
add esp, 0x34
ret
mov edx, dword [0x1005f918]
cmp edx, 0x544
jae 0x10011a5d
imul esi, dword [0x1005f90c], 0x16f
mov edi, dword [esp + 0x24]
movzx eax, bl
mov ebx, dword [esp + 0x1c]
mov dword [0x1005f90c], esi
cmp dword [edi + ebx], eax
mov edi, dword [esp + 0x18]
je 0x100116c5
cmp esi, dword [0x1005f8d4]
ja 0x100116ee
mov eax, dword [0x1005f928]
mov ebx, dword [esp + 0x60]
movzx eax, byte [eax + 0xc0]
cmp eax, ebx
je 0x100116f2
mov eax, dword [0x1005f8f8]
pop edi
pop esi
pop ebp
mov eax, dword [eax + ebx*4]
and eax, 0x1589
pop ebx
add esp, 0x34
ret
mov ebx, dword [esp + 0x60]
cmp dword [esp + 0x38], 0x1da0
ja 0x10011896
cmp byte [esp + 0x13], 0x93
jne 0x10011896
mov ebx, dword [0x1005f8d4]
mov eax, dword [esp + 0x20]
cmp dword [eax + ebx*4 + 0x84], 0x3d7
mov ebx, dword [esp + 0x60]
jl 0x10011896
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x6c]
add eax, 0xfffffffe
cmp dword [edi + ebp*8], eax
mov edi, dword [esp + 0x18]
jne 0x10011896
cmp dword [0x1005f8f0], edx
jbe 0x1001181e
mov eax, dword [esp + 0x70]
cmp dword [eax + ecx*4], 0x93
jg 0x1001181e
mov esi, dword [esp + 0x14]
mov eax, dword [0x1005f8e0]
movzx eax, word [eax + esi*2]
cmp dword [0x1005f8ec], eax
jge 0x1001181e
cmp dword [esp + 0x4c], ecx
jbe 0x1001181e
mov eax, dword [esp + 0x50]
mov ecx, edx
add ecx, ecx
mov ebp, 0x4c8
sub ebp, dword [esp + 0x58]
or ebp, 0x1589
and dword [eax + ecx*8 + 0x18], edx
mov eax, 0xf56
mov ecx, dword [esp + 0x1c]
cdq
idiv dword [ecx + 0x68c]
xor dword [0x1005f914], eax
cmp esi, 0xd69
jbe 0x1001180c
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x3c], eax
ja 0x1001180c
mov ecx, dword [ebx]
mov eax, dword [esp + 0x68]
add ecx, 6
add ecx, ecx
add ebp, dword [eax + ecx*8]
mov ecx, dword [0x1005f8f4]
mov eax, dword [0x1005f904]
or ecx, 0x544
add ecx, ebx
mov dword [edi + eax*4], ecx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4]
add eax, 0x1713
dec dword [0x1005f924]
mov dword [0x1005f8ec], eax
jmp 0x10011a62
mov eax, dword [0x1005f8f8]
pop edi
pop esi
mov eax, dword [eax + ebx*4]
and eax, ebp
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [0x1005f8dc]
xor edx, edx
mov ecx, dword [esp + 0x2c]
or eax, 0x2ad
mov esi, 0x1589
xor dword [edi + ecx*8 + 0x20], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [0x1005f8f4]
mov dword [ecx + 0x180], eax
mov eax, dword [0x1005f8f8]
mov ecx, dword [0x1005f8dc]
add ecx, ecx
mov eax, dword [eax + 0x198]
div esi
sub edx, dword [edi + ecx*8]
mov dword [edi + ecx*8], edx
mov ecx, dword [0x1005f924]
mov eax, dword [0x1005f8e0]
inc ecx
mov dword [0x1005f924], ecx
pop edi
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x60]
mov ax, word [eax + 0x73a0]
add word [ecx], ax
mov eax, dword [0x1005f8f8]
mov eax, dword [eax + ebx*4]
and eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
lea eax, [ecx + ecx*2]
xor edx, edx
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx + eax*4]
mov eax, dword [0x1005f8f4]
and eax, 0x451
or eax, esi
or dword [ecx], eax
mov ecx, dword [0x1005f904]
mov eax, dword [esp + 0x50]
inc ecx
lea esi, [eax + ecx*8]
mov dword [0x1005f904], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
movzx ecx, word [ecx + eax*2 + 8]
mov eax, dword [0x1005f910]
mov eax, dword [eax + 0x2414]
div dword [0x1005f8dc]
mov eax, dword [esp + 0x20]
sub edx, ecx
or dword [esi + 0x1c], edx
or dword [eax + 0x480], 0x458
mov eax, dword [0x1005f924]
add eax, 0x544
movzx eax, ax
cmp eax, dword [0x1005f90c]
jb 0x10011a50
mov ecx, dword [0x1005f904]
xor edx, edx
mov eax, dword [0x1005f928]
movzx ecx, byte [eax + ecx*4]
mov eax, dword [0x1005f8dc]
imul eax, dword [0x1005f914]
add ecx, eax
sub ecx, dword [ebx + 0x180]
mov dword [ebx + 0x180], ecx
mov eax, dword [0x1005f8d8]
mov ebp, dword [0x1005f908]
mov esi, dword [0x1005f8ec]
dec esi
movzx eax, byte [eax + 0xea1]
div dword [ebx + 0x4718]
xor edx, edx
mov byte [esp + 0x48], al
mov eax, dword [0x1005f900]
mov ecx, dword [eax + 0x2664]
mov eax, dword [0x1005f904]
or ecx, eax
dec eax
mov dword [esp + 0x64], ecx
mov dword [0x1005f904], eax
movzx eax, byte [ebp + 0x122]
div dword [esp + 0x40]
mov eax, dword [0x1005f910]
mov dword [esp + 0x58], edx
mov edx, dword [0x1005f918]
mov dword [esp + 0x6c], edx
dec edx
mov dword [0x1005f918], edx
mov dword [0x1005f8ec], esi
mov ebx, dword [edi + 0x480]
movzx edi, byte [0x1005f8e8]
lea ecx, [edx + edx*2]
mov eax, dword [eax + ecx*4]
dec edx
mov ecx, dword [esp + 0x24]
and eax, esi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
imul edi, dword [eax + 0x7538]
mov eax, dword [esp + 0x20]
mov esi, dword [ecx + eax]
mov eax, dword [0x1005f924]
xor esi, dword [0x9d8424]
movzx ecx, byte [eax + ebp]
mov eax, 0x2fa0be83
mov ebp, dword [0x1005f904]
mov dword [0x1005f918], edx
mul ebp
inc ebp
shr edx, 8
push edx
push dword [0x1005f918]
mov dword [0x1005f904], ebp
push ecx
push esi
push edi
push ebx
push dword [esp + 0x64]
push dword [esp + 0x88]
push dword [esp + 0x78]
push dword [esp + 0x88]
push dword [esp + 0x70]
call fcn.10001cc0
mov ecx, dword [esp + 0x54]
add esp, 0x2c
mov word [ecx + 0xc0], ax
mov eax, 0xfffffeb8
mov esi, dword [0x1005f8d8]
add esi, dword [esp + 0x14]
cdq
movzx ecx, byte [esi]
idiv ecx
mov byte [esi], al
dec dword [0x1005f924]
mov ebp, 0x1589
jmp 0x10011a62
mov ebp, 0x1589
mov eax, dword [0x1005f8f8]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov eax, dword [eax + ecx*4]
and eax, ebp
pop ebp
pop ebx
add esp, 0x34
ret