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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x58
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x7c]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp]
mov ebx, dword [ebp + 4]
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x50], ebx
mov ebx, dword [ebp + 8]
mov ebp, dword [ecx + 8]
mov dword [esp + 0x54], ebx
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x1009f14f
mov ecx, ebp
imul ecx, esi
add edx, ecx
mov ebx, esi
neg ebx
add edx, ebx
neg esi
mov ebx, dword [esp + 0x70]
mov ebx, dword [ebx + 4]
lea ecx, [ebx + ebx]
add ecx, ecx
neg ecx
lea edi, [ecx + esi*2]
mov dword [esp + 0x4c], edi
dec ebx
dec ebp
mov ecx, 0
je 0x1009f602
mov edi, dword [esp + 0x74]
shr edi, 1
mov dword [esp + 0x44], edi
mov edi, ebx
and edi, 1
mov dword [esp + 0x48], edi
mov dword [esp + 8], ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], esi
xor ecx, ecx
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x1009f379
mov ebx, dword [esp + 0x74]
lea ebp, [eax + ebx]
mov dword [esp + 0x34], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], edx
movzx ebx, byte [edx + 2]
movzx esi, byte [edx + 1]
movzx ebp, byte [edx]
mov ebx, dword [ebx*4 + 0x100d08c0]
mov dword [esp + 0x3c], ecx
add ebx, dword [esi*4 + 0x100d0cc0]
add ebx, dword [ebp*4 + 0x100d10c0]
sar ebx, 8
add bl, 0x10
mov ebp, dword [esp + 4]
mov byte [ecx + ebp], bl
movzx ebx, byte [edx + 6]
movzx esi, byte [edx + 5]
movzx ebp, byte [edx + 4]
mov ebx, dword [ebx*4 + 0x100d08c0]
add ebx, dword [esi*4 + 0x100d0cc0]
add ebx, dword [ebp*4 + 0x100d10c0]
sar ebx, 8
add bl, 0x10
mov ebp, dword [esp + 4]
mov byte [ecx + ebp + 1], bl
movzx ebx, byte [eax + edx + 2]
movzx esi, byte [eax + edx + 1]
movzx ebp, byte [eax + edx]
mov ebx, dword [ebx*4 + 0x100d08c0]
add ebx, dword [esi*4 + 0x100d0cc0]
add ebx, dword [ebp*4 + 0x100d10c0]
sar ebx, 8
add bl, 0x10
mov ebp, dword [esp + 0x34]
mov byte [ebp + ecx], bl
movzx ebx, byte [eax + edx + 6]
movzx esi, byte [eax + edx + 5]
movzx ebp, byte [eax + edx + 4]
mov ebx, dword [ebx*4 + 0x100d08c0]
add ebx, dword [esi*4 + 0x100d0cc0]
add ebx, dword [ebp*4 + 0x100d10c0]
sar ebx, 8
add bl, 0x10
mov ebp, dword [esp + 0x34]
mov byte [ebp + ecx + 1], bl
movzx edi, byte [edx + 2]
movzx esi, byte [edx + 6]
movzx ebp, byte [eax + edx + 2]
movzx ebx, byte [eax + edx + 6]
lea ecx, [edi + esi]
add ecx, ebp
add ecx, ebx
sar ecx, 1
shr ecx, 0x1e
add ecx, edi
add ecx, esi
add ecx, ebp
add ecx, ebx
sar ecx, 2
movzx edi, byte [edx + 1]
mov dword [esp + 0x40], ecx
movzx ebp, byte [edx + 5]
movzx ebx, byte [eax + edx + 1]
movzx ecx, byte [eax + edx + 5]
lea esi, [edi + ebp]
add esi, ebx
add esi, ecx
sar esi, 1
shr esi, 0x1e
add esi, edi
add esi, ebp
add esi, ebx
add esi, ecx
sar esi, 2
movzx ecx, byte [edx]
movzx edi, byte [edx + 4]
movzx ebx, byte [eax + edx]
movzx eax, byte [eax + edx + 4]
lea ebp, [ecx + edi]
add ebp, ebx
add ebp, eax
sar ebp, 1
shr ebp, 0x1e
add ebp, ecx
add ebp, edi
add ebp, ebx
add ebp, eax
sar ebp, 2
mov edx, dword [esp + 0x40]
mov eax, dword [edx*4 + 0x100d14c0]
add eax, dword [esi*4 + 0x100d18c0]
mov ecx, dword [esp + 0x3c]
mov ebx, ecx
add eax, dword [ebp*4 + 0x100d1cc0]
sar eax, 8
add al, 0x80
shr ebx, 1
mov edi, dword [esp + 0x50]
mov byte [ebx + edi], al
mov edx, dword [edx*4 + 0x100d20c0]
mov eax, dword [esp + 0x54]
add edx, dword [esi*4 + 0x100d24c0]
add ecx, 2
add edx, dword [ebp*4 + 0x100d28c0]
sar edx, 8
add dl, 0x80
mov byte [ebx + eax], dl
mov edx, dword [esp + 0x38]
add edx, 8
mov eax, dword [esp + 0xc]
cmp ecx, eax
mov eax, dword [esp + 0x14]
jb 0x1009f1c4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x74]
cmp ecx, ebx
jae 0x1009f5cc
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x1009f450
mov ebx, dword [esp + 0x74]
lea ebp, [eax + ebx]
mov dword [esp + 0x40], ebp
lea ebp, [eax + ecx]
mov bl, byte [ebp - 1]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x30], ebp
lea edi, [ecx + esi]
mov ebp, ecx
mov byte [esp + 0x20], bl
mov bl, byte [edi - 1]
shr ebp, 1
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1c], bl
mov ebx, dword [esp + 0x50]
lea ebx, [ebx + ebp]
mov dword [esp + 0x28], ebx
mov bl, byte [ebx - 1]
mov byte [esp + 0x18], bl
add ebp, dword [esp + 0x54]
mov dword [esp + 0x34], ebp
mov bl, byte [ebp - 1]
mov esi, ebp
mov byte [esp + 0x24], bl
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x38], edx
jmp 0x1009f419
lea ebx, [eax + ecx]
mov esi, dword [esp + 0x40]
lea edi, [ecx + esi]
mov esi, ecx
shr esi, 1
mov edx, dword [esp + 0x50]
lea ebp, [edx + esi]
add esi, dword [esp + 0x54]
mov dl, byte [esp + 0x20]
add ecx, 2
mov byte [ebx], dl
mov byte [ebx + 1], dl
mov bl, byte [esp + 0x1c]
mov dl, byte [esp + 0x18]
mov byte [edi], bl
mov byte [edi + 1], bl
mov byte [ebp], dl
mov dl, byte [esp + 0x24]
mov ebp, dword [esp + 0x74]
mov byte [esi], dl
cmp ecx, ebp
jb 0x1009f400
jmp 0x1009fa44
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x50]
movzx esi, byte [edx + 2]
mov dword [esp + 4], eax
movzx ebp, byte [edx + 1]
movzx edi, byte [edx]
mov edx, dword [esi*4 + 0x100d08c0]
mov esi, dword [esp + 0x14]
add edx, dword [ebp*4 + 0x100d0cc0]
mov ebp, dword [esp + 0x3c]
add edx, dword [edi*4 + 0x100d10c0]
sar edx, 8
add edx, 0x10
movzx edx, dl
mov edi, dword [esp + 0x38]
mov byte [ebp + eax], dl
mov byte [ebp + eax + 1], dl
movzx edx, byte [esi + edi + 2]
movzx ebp, byte [esi + edi + 1]
movzx esi, byte [esi + edi]
mov edx, dword [edx*4 + 0x100d08c0]
mov edi, dword [esp + 0x3c]
add edx, dword [ebp*4 + 0x100d0cc0]
mov ebp, dword [esp + 0x74]
lea eax, [eax + ebp]
add edx, dword [esi*4 + 0x100d10c0]
sar edx, 8
add edx, 0x10
mov dword [esp + 0x40], eax
movzx eax, dl
mov ebp, edi
mov edx, dword [esp + 0x40]
shr edi, 1
mov byte [edx + ebp], al
mov byte [edx + ebp + 1], al
mov edx, dword [esp + 0x38]
movzx eax, byte [edx + 2]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + edx + 2]
mov edx, dword [esp + 0x34]
add edx, eax
add edx, 0x80000000
adc edx, 0x80000000
sar edx, 1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x38]
movzx ebp, byte [edx + 1]
movzx eax, byte [eax + edx + 1]
add ebp, eax
add ebp, 0x80000000
adc ebp, 0x80000000
sar ebp, 1
movzx esi, byte [edx]
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + edx]
add esi, eax
add esi, 0x80000000
mov eax, dword [esp + 0x34]
adc esi, 0x80000000
sar esi, 1
mov eax, dword [eax*4 + 0x100d14c0]
add eax, dword [ebp*4 + 0x100d18c0]
add eax, dword [esi*4 + 0x100d1cc0]
sar eax, 8
add al, 0x80
mov byte [edi + ecx], al
mov eax, dword [esp + 0x34]
mov edx, dword [eax*4 + 0x100d20c0]
add edx, dword [ebp*4 + 0x100d24c0]
mov eax, dword [esp + 0x3c]
add eax, 2
add edx, dword [esi*4 + 0x100d28c0]
sar edx, 8
add dl, 0x80
mov byte [edi + ebx], dl
add dword [esp + 0x38], 4
mov edx, dword [esp + 0x74]
cmp eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 4]
jae 0x1009fa6e
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x1009f39c
add edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x74]
lea eax, [eax + ecx*2]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 8]
add ebp, 2
add dword [esp + 0x50], ebx
mov esi, dword [esp + 0x10]
add dword [esp + 0x54], ebx
cmp ebp, esi
mov dword [esp + 8], ebp
jb 0x1009f194
mov ecx, ebp
mov ebp, esi
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x78]
cmp ecx, esi
jae 0x1009fa3a
test ebp, 1
jne 0x1009f950
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x44], ebp
je 0x1009f76c
mov ebp, dword [esp + 0x74]
lea ebp, [eax + ebp]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x38], edx
movzx ecx, byte [edx + 2]
movzx ebp, byte [edx + 1]
movzx ebx, byte [edx]
mov ecx, dword [ecx*4 + 0x100d08c0]
add ecx, dword [ebp*4 + 0x100d0cc0]
add ecx, dword [ebx*4 + 0x100d10c0]
sar ecx, 8
add ecx, 0x10
movzx ebx, cl
mov ecx, dword [esp + 4]
mov byte [eax + ecx], bl
movzx ecx, byte [edx + 6]
movzx esi, byte [edx + 5]
movzx ebp, byte [edx + 4]
mov ecx, dword [ecx*4 + 0x100d08c0]
add ecx, dword [esi*4 + 0x100d0cc0]
add ecx, dword [ebp*4 + 0x100d10c0]
sar ecx, 8
add cl, 0x10
mov ebp, dword [esp + 4]
mov byte [eax + ebp + 1], cl
mov ecx, dword [esp + 0x10]
mov byte [ecx + eax], bl
mov ebx, ebp
mov bl, byte [eax + ebx + 1]
mov byte [ecx + eax + 1], bl
movzx edi, byte [edx + 2]
movzx ecx, byte [edx + 6]
add edi, ecx
add edi, 0x80000000
movzx ebp, byte [edx + 1]
adc edi, 0x80000000
sar edi, 1
movzx ecx, byte [edx + 5]
add ebp, ecx
add ebp, 0x80000000
movzx esi, byte [edx]
adc ebp, 0x80000000
sar ebp, 1
movzx edx, byte [edx + 4]
add esi, edx
add esi, 0x80000000
mov edx, dword [edi*4 + 0x100d14c0]
adc esi, 0x80000000
sar esi, 1
mov ebx, eax
add edx, dword [ebp*4 + 0x100d18c0]
shr ebx, 1
mov ecx, dword [esp + 0x50]
add edx, dword [esi*4 + 0x100d1cc0]
sar edx, 8
add dl, 0x80
add eax, 2
mov byte [ebx + ecx], dl
mov ecx, dword [edi*4 + 0x100d20c0]
mov edx, dword [esp + 0x54]
add ecx, dword [ebp*4 + 0x100d24c0]
add ecx, dword [esi*4 + 0x100d28c0]
sar ecx, 8
add cl, 0x80
mov byte [ebx + edx], cl
mov edx, dword [esp + 0x38]
add edx, 8
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jb 0x1009f643
mov dword [esp + 0x44], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x44]
cmp ebp, esi
jae 0x1009f92c
test bl, 1
je 0x1009f840
mov edx, dword [esp + 0x74]
lea ebx, [eax + edx]
mov dword [esp + 0x48], ebx
mov edi, dword [esp + 0x44]
lea ebp, [eax + edi]
mov dl, byte [ebp - 1]
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0x48]
lea ebx, [edi + esi]
mov byte [esp + 0x38], dl
mov dl, byte [ebx - 1]
mov dword [esp + 0x2c], ebx
shr edi, 1
mov byte [esp + 0x3c], dl
mov edx, dword [esp + 0x50]
lea edx, [edx + edi]
mov dword [esp + 0x30], edx
mov dl, byte [edx - 1]
mov ebp, dword [esp + 0x30]
mov byte [esp + 0x40], dl
mov esi, dword [esp + 0x44]
add edi, dword [esp + 0x54]
mov dl, byte [edi - 1]
mov byte [esp + 0x34], dl
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x4c]
jmp 0x1009f809
lea ecx, [eax + esi]
mov ebx, dword [esp + 0x48]
lea ebx, [esi + ebx]
mov edi, esi
shr edi, 1
mov edx, dword [esp + 0x50]
lea ebp, [edx + edi]
add edi, dword [esp + 0x54]
mov dl, byte [esp + 0x38]
add esi, 2
mov byte [ecx], dl
mov byte [ecx + 1], dl
mov cl, byte [esp + 0x3c]
mov dl, byte [esp + 0x34]
mov byte [ebx], cl
mov byte [ebx + 1], cl
mov bl, byte [esp + 0x40]
mov byte [ebp], bl
mov byte [edi], dl
mov ebp, dword [esp + 0x74]
cmp esi, ebp
jb 0x1009f7f0
jmp 0x1009fa50
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
movzx ebx, byte [edx + 2]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
movzx esi, byte [edx + 1]
movzx ebp, byte [edx]
mov ebx, dword [ebx*4 + 0x100d08c0]
mov edi, dword [esp + 4]
add ebx, dword [esi*4 + 0x100d0cc0]
mov esi, dword [esp + 0x74]
add ebx, dword [ebp*4 + 0x100d10c0]
sar ebx, 8
add ebx, 0x10
movzx ebx, bl
mov ebp, dword [esp + 0x44]
mov byte [ebp + edi], bl
mov byte [ebp + edi + 1], bl
lea edi, [edi + esi]
mov dword [esp + 0x48], edi
mov byte [edi + ebp], bl
mov ebx, dword [esp + 4]
mov bl, byte [ebp + ebx]
mov byte [edi + ebp + 1], bl
movzx ebx, byte [edx + 2]
movzx ebp, byte [edx + 1]
mov dword [esp + 0x4c], ebx
movzx esi, byte [edx]
mov edx, ebx
mov edx, dword [edx*4 + 0x100d14c0]
mov edi, dword [esp + 0x44]
add edx, dword [ebp*4 + 0x100d18c0]
shr edi, 1
add edx, dword [esi*4 + 0x100d1cc0]
sar edx, 8
add dl, 0x80
mov byte [edi + eax], dl
mov edx, ebx
mov ebx, dword [edx*4 + 0x100d20c0]
mov edx, dword [esp + 0x74]
add ebx, dword [ebp*4 + 0x100d24c0]
add ebx, dword [esi*4 + 0x100d28c0]
sar ebx, 8
add bl, 0x80
mov byte [edi + ecx], bl
mov ebx, dword [esp + 0x44]
add ebx, 2
mov dword [esp + 0x44], ebx
cmp ebx, edx
mov edx, dword [esp + 0x48]
jae 0x1009fa59
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x48], edx
jmp 0x1009f790
add ecx, 2
mov ebx, dword [esp + 0x74]
lea ebp, [ebx + ebx]
lea eax, [eax + ebx*2]
shr ebx, 1
add dword [esp + 0x50], ebx
mov edx, dword [esp + 0x78]
add dword [esp + 0x54], ebx
cmp ecx, edx
jb 0x1009f95b
jmp 0x1009fa3a
mov edx, dword [esp + 0x74]
mov ebx, edx
shr ebx, 1
lea ebp, [edx + edx]
mov edx, eax
mov esi, dword [esp + 0x50]
sub edx, dword [esp + 0x74]
sub esi, ebx
mov edi, dword [esp + 0x54]
mov dword [esp + 0x4c], esi
sub edi, ebx
mov dword [esp + 0x40], edi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x74]
xor ebx, ebx
test ebp, ebp
jbe 0x1009fa1f
lea edi, [eax + ebp]
mov dword [esp + 0x38], edi
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x50], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x4c]
lea esi, [esi]
lea edi, [edi]
mov cl, byte [edx + ebx]
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x38]
mov byte [ebx + esi], cl
mov cl, byte [edx + ebx + 1]
mov ebp, ebx
mov byte [ebx + esi + 1], cl
mov cl, byte [edx + ebx]
shr ebp, 1
mov byte [edi + ebx], cl
mov cl, byte [edx + ebx + 1]
mov esi, dword [esp + 0x50]
mov byte [edi + ebx + 1], cl
mov cl, byte [eax + ebp]
add ebx, 2
mov byte [ebp + esi], cl
mov ecx, dword [esp + 0x40]
mov cl, byte [ecx + ebp]
mov esi, dword [esp + 0x54]
mov byte [ebp + esi], cl
mov ecx, dword [esp + 0x74]
cmp ebx, ecx
jb 0x1009f9c0
mov edx, esi
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebp, dword [esp + 0x74]
add eax, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
add esi, edi
add edx, edi
add ecx, 2
mov ebx, dword [esp + 0x78]
cmp ecx, ebx
jb 0x1009f98d
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x38]
jmp 0x1009f5cc
mov ecx, dword [esp + 8]
jmp 0x1009f92c
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 4]
jmp 0x1009f92c
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
jmp 0x1009f5cc