Function at 0x10084fd0
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 0x1008500f
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 0x100854c2
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 0x10085239
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 + 0x100b58e0]
mov dword [esp + 0x3c], ecx
add ebx, dword [esi*4 + 0x100b5ce0]
add ebx, dword [ebp*4 + 0x100b60e0]
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 + 0x100b58e0]
add ebx, dword [esi*4 + 0x100b5ce0]
add ebx, dword [ebp*4 + 0x100b60e0]
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 + 0x100b58e0]
add ebx, dword [esi*4 + 0x100b5ce0]
add ebx, dword [ebp*4 + 0x100b60e0]
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 + 0x100b58e0]
add ebx, dword [esi*4 + 0x100b5ce0]
add ebx, dword [ebp*4 + 0x100b60e0]
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 + 0x100b64e0]
add eax, dword [esi*4 + 0x100b68e0]
mov ecx, dword [esp + 0x3c]
mov ebx, ecx
add eax, dword [ebp*4 + 0x100b6ce0]
sar eax, 8
add al, 0x80
shr ebx, 1
mov edi, dword [esp + 0x50]
mov byte [ebx + edi], al
mov edx, dword [edx*4 + 0x100b70e0]
mov eax, dword [esp + 0x54]
add edx, dword [esi*4 + 0x100b74e0]
add ecx, 2
add edx, dword [ebp*4 + 0x100b78e0]
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 0x10085084
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x74]
cmp ecx, ebx
jae 0x1008548c
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x10085310
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 0x100852d9
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 0x100852c0
jmp 0x10085904
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 + 0x100b58e0]
mov esi, dword [esp + 0x14]
add edx, dword [ebp*4 + 0x100b5ce0]
mov ebp, dword [esp + 0x3c]
add edx, dword [edi*4 + 0x100b60e0]
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 + 0x100b58e0]
mov edi, dword [esp + 0x3c]
add edx, dword [ebp*4 + 0x100b5ce0]
mov ebp, dword [esp + 0x74]
lea eax, [eax + ebp]
add edx, dword [esi*4 + 0x100b60e0]
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 + 0x100b64e0]
add eax, dword [ebp*4 + 0x100b68e0]
add eax, dword [esi*4 + 0x100b6ce0]
sar eax, 8
add al, 0x80
mov byte [edi + ecx], al
mov eax, dword [esp + 0x34]
mov edx, dword [eax*4 + 0x100b70e0]
add edx, dword [ebp*4 + 0x100b74e0]
mov eax, dword [esp + 0x3c]
add eax, 2
add edx, dword [esi*4 + 0x100b78e0]
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 0x1008592e
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x1008525c
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 0x10085054
mov ecx, ebp
mov ebp, esi
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x78]
cmp ecx, esi
jae 0x100858fa
test ebp, 1
jne 0x10085810
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x44], ebp
je 0x1008562c
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 + 0x100b58e0]
add ecx, dword [ebp*4 + 0x100b5ce0]
add ecx, dword [ebx*4 + 0x100b60e0]
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 + 0x100b58e0]
add ecx, dword [esi*4 + 0x100b5ce0]
add ecx, dword [ebp*4 + 0x100b60e0]
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 + 0x100b64e0]
adc esi, 0x80000000
sar esi, 1
mov ebx, eax
add edx, dword [ebp*4 + 0x100b68e0]
shr ebx, 1
mov ecx, dword [esp + 0x50]
add edx, dword [esi*4 + 0x100b6ce0]
sar edx, 8
add dl, 0x80
add eax, 2
mov byte [ebx + ecx], dl
mov ecx, dword [edi*4 + 0x100b70e0]
mov edx, dword [esp + 0x54]
add ecx, dword [ebp*4 + 0x100b74e0]
add ecx, dword [esi*4 + 0x100b78e0]
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 0x10085503
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 0x100857ec
test bl, 1
je 0x10085700
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 0x100856c9
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 0x100856b0
jmp 0x10085910
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 + 0x100b58e0]
mov edi, dword [esp + 4]
add ebx, dword [esi*4 + 0x100b5ce0]
mov esi, dword [esp + 0x74]
add ebx, dword [ebp*4 + 0x100b60e0]
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 + 0x100b64e0]
mov edi, dword [esp + 0x44]
add edx, dword [ebp*4 + 0x100b68e0]
shr edi, 1
add edx, dword [esi*4 + 0x100b6ce0]
sar edx, 8
add dl, 0x80
mov byte [edi + eax], dl
mov edx, ebx
mov ebx, dword [edx*4 + 0x100b70e0]
mov edx, dword [esp + 0x74]
add ebx, dword [ebp*4 + 0x100b74e0]
add ebx, dword [esi*4 + 0x100b78e0]
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 0x10085919
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 0x10085650
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 0x1008581b
jmp 0x100858fa
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 0x100858df
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 0x10085880
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 0x1008584d
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x38]
jmp 0x1008548c
mov ecx, dword [esp + 8]
jmp 0x100857ec
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 4]
jmp 0x100857ec
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
jmp 0x1008548c