Function at 0x4ae6c0
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 0x4ae6ff
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 0x4aebb2
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 0x4ae929
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 + 0x4db000]
mov dword [esp + 0x3c], ecx
add ebx, dword [esi*4 + 0x4db400]
add ebx, dword [ebp*4 + 0x4db800]
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 + 0x4db000]
add ebx, dword [esi*4 + 0x4db400]
add ebx, dword [ebp*4 + 0x4db800]
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 + 0x4db000]
add ebx, dword [esi*4 + 0x4db400]
add ebx, dword [ebp*4 + 0x4db800]
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 + 0x4db000]
add ebx, dword [esi*4 + 0x4db400]
add ebx, dword [ebp*4 + 0x4db800]
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 + 0x4dbc00]
add eax, dword [esi*4 + 0x4dc000]
mov ecx, dword [esp + 0x3c]
mov ebx, ecx
add eax, dword [ebp*4 + 0x4dc400]
sar eax, 8
add al, 0x80
shr ebx, 1
mov edi, dword [esp + 0x50]
mov byte [ebx + edi], al
mov edx, dword [edx*4 + 0x4dc800]
mov eax, dword [esp + 0x54]
add edx, dword [esi*4 + 0x4dcc00]
add ecx, 2
add edx, dword [ebp*4 + 0x4dd000]
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 0x4ae774
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x74]
cmp ecx, ebx
jae 0x4aeb7c
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x4aea00
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 0x4ae9c9
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 0x4ae9b0
jmp 0x4aeff4
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 + 0x4db000]
mov esi, dword [esp + 0x14]
add edx, dword [ebp*4 + 0x4db400]
mov ebp, dword [esp + 0x3c]
add edx, dword [edi*4 + 0x4db800]
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 + 0x4db000]
mov edi, dword [esp + 0x3c]
add edx, dword [ebp*4 + 0x4db400]
mov ebp, dword [esp + 0x74]
lea eax, [eax + ebp]
add edx, dword [esi*4 + 0x4db800]
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 + 0x4dbc00]
add eax, dword [ebp*4 + 0x4dc000]
add eax, dword [esi*4 + 0x4dc400]
sar eax, 8
add al, 0x80
mov byte [edi + ecx], al
mov eax, dword [esp + 0x34]
mov edx, dword [eax*4 + 0x4dc800]
add edx, dword [ebp*4 + 0x4dcc00]
mov eax, dword [esp + 0x3c]
add eax, 2
add edx, dword [esi*4 + 0x4dd000]
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 0x4af01e
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x4ae94c
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 0x4ae744
mov ecx, ebp
mov ebp, esi
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x78]
cmp ecx, esi
jae 0x4aefea
test ebp, 1
jne 0x4aef00
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x44], ebp
je 0x4aed1c
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 + 0x4db000]
add ecx, dword [ebp*4 + 0x4db400]
add ecx, dword [ebx*4 + 0x4db800]
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 + 0x4db000]
add ecx, dword [esi*4 + 0x4db400]
add ecx, dword [ebp*4 + 0x4db800]
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 + 0x4dbc00]
adc esi, 0x80000000
sar esi, 1
mov ebx, eax
add edx, dword [ebp*4 + 0x4dc000]
shr ebx, 1
mov ecx, dword [esp + 0x50]
add edx, dword [esi*4 + 0x4dc400]
sar edx, 8
add dl, 0x80
add eax, 2
mov byte [ebx + ecx], dl
mov ecx, dword [edi*4 + 0x4dc800]
mov edx, dword [esp + 0x54]
add ecx, dword [ebp*4 + 0x4dcc00]
add ecx, dword [esi*4 + 0x4dd000]
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 0x4aebf3
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 0x4aeedc
test bl, 1
je 0x4aedf0
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 0x4aedb9
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 0x4aeda0
jmp 0x4af000
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 + 0x4db000]
mov edi, dword [esp + 4]
add ebx, dword [esi*4 + 0x4db400]
mov esi, dword [esp + 0x74]
add ebx, dword [ebp*4 + 0x4db800]
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 + 0x4dbc00]
mov edi, dword [esp + 0x44]
add edx, dword [ebp*4 + 0x4dc000]
shr edi, 1
add edx, dword [esi*4 + 0x4dc400]
sar edx, 8
add dl, 0x80
mov byte [edi + eax], dl
mov edx, ebx
mov ebx, dword [edx*4 + 0x4dc800]
mov edx, dword [esp + 0x74]
add ebx, dword [ebp*4 + 0x4dcc00]
add ebx, dword [esi*4 + 0x4dd000]
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 0x4af009
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 0x4aed40
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 0x4aef0b
jmp 0x4aefea
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 0x4aefcf
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 0x4aef70
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 0x4aef3d
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x38]
jmp 0x4aeb7c
mov ecx, dword [esp + 8]
jmp 0x4aeedc
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 4]
jmp 0x4aeedc
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
jmp 0x4aeb7c