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

Disassembly:
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esp, 0xb4
push ebp
mov ebp, dword [esp + 0xc8]
push edi
mov edi, dword [esp + 0xc4]
push eax
push ecx
mov ecx, dword [esp + 0xe0]
lea eax, [esp + 0x70]
push edx
mov edx, dword [esp + 0xe0]
push eax
push ecx
push edx
push edi
push ebp
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4e8706
pop edi
mov eax, 1
pop ebp
add esp, 0xb4
ret
mov ebp, dword [ebp + 8]
mov edi, dword [edi + 8]
push ebx
mov edx, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x28], ebp
mov ebp, esi
imul ebp, edi
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x88]
sub edx, ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x20], edi
sub ebx, eax
imul eax, dword [esp + 0x28]
lea edi, [ebp + ecx*4]
mov ebp, dword [esp + 0xcc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], esi
add edi, dword [ebp + 4]
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x44], edx
lea ebp, [ebp + ebp*2]
mov dword [esp + 0x14], edi
add eax, ebp
mov ebp, dword [esp + 0xd4]
add eax, dword [ebp + 4]
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x70]
test al, al
je 0x4e8c49
mov eax, edx
mov ebp, edx
sar eax, 3
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
and ebp, 7
sub ecx, eax
mov eax, dword [esp + 0x20]
add ecx, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
lea ecx, [eax + ecx*4]
mov dword [esp + 0x30], ecx
mov ecx, ebp
sub ecx, edx
mov edx, dword [esp + 0x28]
lea eax, [edx + ecx*2]
add ecx, eax
test ebx, ebx
mov dword [esp + 0x34], ecx
jle 0x4e8e24
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x60]
test ecx, ecx
mov dword [esp + 0x18], eax
jle 0x4e8bc2
mov edx, dword [esp + 0x10]
mov ebx, esi
and ebx, 0xf
lea ebp, [eax + 2]
shl ebx, 4
lea esi, [edx + 4]
add edi, 6
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xd8]
and eax, 0xf
xor ecx, ecx
add eax, ebx
mov cl, byte [eax + edx]
xor eax, eax
mov al, byte [edi - 3]
xor edx, edx
shl eax, 8
mov dl, byte [ecx + eax + 0xa2ee04]
mov cl, byte [esi - 2]
mov eax, edx
xor edx, edx
mov dl, byte [edi - 4]
and ecx, 0xff
sub edx, ecx
shl eax, 9
mov dword [esp + 0x38], eax
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi - 2]
add cl, dl
xor edx, edx
mov byte [esi - 2], cl
mov cl, byte [esi - 3]
mov dl, byte [edi - 5]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi - 3]
mov al, byte [edx + eax + 0x60ef03]
xor edx, edx
add al, cl
mov ecx, dword [esp + 0x10]
mov byte [esi - 3], al
mov al, byte [ecx]
mov ecx, dword [esp + 0x14]
and eax, 0xff
mov dl, byte [ecx]
sub edx, eax
mov eax, dword [esp + 0x38]
mov cl, byte [edx + eax + 0x60ef03]
mov eax, dword [esp + 0x10]
mov dl, byte [eax]
add cl, dl
lea edx, [ebp - 1]
and edx, 0xf
mov byte [eax], cl
mov ecx, dword [esp + 0xd8]
add edx, ebx
xor eax, eax
mov al, byte [edx + ecx]
xor edx, edx
mov dl, byte [edi + 1]
xor ecx, ecx
shl edx, 8
mov cl, byte [eax + edx + 0xa2ee04]
xor edx, edx
mov dl, byte [edi]
mov eax, ecx
mov cl, byte [esi + 1]
and ecx, 0xff
shl eax, 9
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 1]
add cl, dl
xor edx, edx
mov byte [esi + 1], cl
mov cl, byte [esi]
mov dl, byte [edi - 1]
and ecx, 0xff
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi]
add cl, dl
xor edx, edx
mov byte [esi], cl
mov cl, byte [esi - 1]
mov dl, byte [edi - 2]
and ecx, 0xff
sub edx, ecx
mov al, byte [edx + eax + 0x60ef03]
mov cl, byte [esi - 1]
add al, cl
mov ecx, ebp
and ecx, 0xf
mov byte [esi - 1], al
mov eax, dword [esp + 0xd8]
add ecx, ebx
xor edx, edx
mov dl, byte [ecx + eax]
xor ecx, ecx
mov cl, byte [edi + 5]
xor eax, eax
shl ecx, 8
mov al, byte [edx + ecx + 0xa2ee04]
mov cl, byte [esi + 4]
xor edx, edx
and ecx, 0xff
mov dl, byte [edi + 4]
shl eax, 9
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 4]
add cl, dl
xor edx, edx
mov byte [esi + 4], cl
mov cl, byte [esi + 3]
mov dl, byte [edi + 3]
and ecx, 0xff
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 3]
add cl, dl
xor edx, edx
mov byte [esi + 3], cl
mov cl, byte [esi + 2]
mov dl, byte [edi + 2]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi + 2]
mov al, byte [edx + eax + 0x60ef03]
xor edx, edx
add al, cl
lea ecx, [ebp + 1]
and ecx, 0xf
mov byte [esi + 2], al
mov eax, dword [esp + 0xd8]
add ecx, ebx
mov dl, byte [ecx + eax]
lea ecx, [edi + 6]
push edx
push ecx
lea ecx, [esi + 5]
call fcn.004ed710
mov ecx, dword [esp + 0xd8]
lea edx, [ebp + 2]
and edx, 0xf
xor eax, eax
add edx, ebx
mov al, byte [edx + ecx]
xor edx, edx
mov dl, byte [edi + 0xd]
xor ecx, ecx
shl edx, 8
mov cl, byte [eax + edx + 0xa2ee04]
xor edx, edx
mov dl, byte [edi + 0xc]
mov eax, ecx
mov cl, byte [esi + 0xa]
and ecx, 0xff
shl eax, 9
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 0xa]
add cl, dl
xor edx, edx
mov byte [esi + 0xa], cl
mov cl, byte [esi + 9]
mov dl, byte [edi + 0xb]
and ecx, 0xff
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 9]
add cl, dl
xor edx, edx
mov byte [esi + 9], cl
mov cl, byte [esi + 8]
mov dl, byte [edi + 0xa]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi + 8]
mov al, byte [edx + eax + 0x60ef03]
xor edx, edx
add al, cl
lea ecx, [ebp + 3]
and ecx, 0xf
mov byte [esi + 8], al
mov eax, dword [esp + 0xd8]
add ecx, ebx
mov dl, byte [ecx + eax]
xor ecx, ecx
mov cl, byte [edi + 0x11]
xor eax, eax
shl ecx, 8
mov al, byte [edx + ecx + 0xa2ee04]
mov cl, byte [esi + 0xd]
xor edx, edx
and ecx, 0xff
mov dl, byte [edi + 0x10]
shl eax, 9
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 0xd]
add cl, dl
xor edx, edx
mov byte [esi + 0xd], cl
mov cl, byte [esi + 0xc]
mov dl, byte [edi + 0xf]
and ecx, 0xff
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 0xc]
add cl, dl
xor edx, edx
mov byte [esi + 0xc], cl
mov cl, byte [esi + 0xb]
mov dl, byte [edi + 0xe]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi + 0xb]
mov al, byte [edx + eax + 0x60ef03]
xor edx, edx
add al, cl
lea ecx, [ebp + 4]
and ecx, 0xf
mov byte [esi + 0xb], al
mov eax, dword [esp + 0xd8]
add ecx, ebx
mov dl, byte [ecx + eax]
lea ecx, [edi + 0x12]
push edx
push ecx
lea ecx, [esi + 0xe]
call fcn.004ed710
mov ecx, dword [esp + 0xd8]
lea edx, [ebp + 5]
and edx, 0xf
xor eax, eax
add edx, ebx
mov al, byte [edx + ecx]
xor edx, edx
mov dl, byte [edi + 0x19]
xor ecx, ecx
shl edx, 8
mov cl, byte [eax + edx + 0xa2ee04]
xor edx, edx
mov dl, byte [edi + 0x18]
mov eax, ecx
mov cl, byte [esi + 0x13]
and ecx, 0xff
shl eax, 9
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 0x13]
add cl, dl
xor edx, edx
mov byte [esi + 0x13], cl
mov cl, byte [esi + 0x12]
mov dl, byte [edi + 0x17]
and ecx, 0xff
sub edx, ecx
add esi, 0x18
add edi, 0x20
add ebp, 8
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi - 6]
add cl, dl
xor edx, edx
mov byte [esi - 6], cl
mov cl, byte [esi - 7]
mov dl, byte [edi - 0xa]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi - 7]
mov al, byte [edx + eax + 0x60ef03]
mov edx, dword [esp + 0x18]
add al, cl
mov ecx, dword [esp + 0x14]
mov byte [esi - 7], al
mov eax, dword [esp + 0x10]
add eax, 0x18
add ecx, 0x20
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
add edx, 8
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], eax
jne 0x4e8810
mov ebp, dword [esp + 0x1c]
mov edi, ecx
xor ebx, ebx
test ebp, ebp
jle 0x4e8c0c
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
and ebp, 0xf
shl ebp, 4
mov ecx, dword [esp + 0x18]
xor eax, eax
lea edx, [ebx + ecx]
mov ecx, dword [esp + 0xd8]
and edx, 0xf
add edx, ebp
mov al, byte [edx + ecx]
mov ecx, esi
push eax
push edi
call fcn.004ed710
mov eax, dword [esp + 0x1c]
inc ebx
add edi, 4
add esi, 3
cmp ebx, eax
jl 0x4e8bd6
mov edi, dword [esp + 0x14]
mov ebp, eax
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add esi, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x20]
add edi, edx
inc esi
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jne 0x4e87e3
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xb4
ret
mov ecx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x54], ebp
lea eax, [ecx*4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb8]
imul ecx, ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xb4]
test ebx, ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
jle 0x4e8e24
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ebx
inc eax
mov dword [esp + 0x10], eax
jmp 0x4e8cd6
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
add ebx, ebp
mov dword [esp + 0x1c], ebx
js 0x4e8cfb
mov ebp, dword [esp + 0x20]
add edi, ebp
mov ebp, dword [esp + 0x34]
inc esi
sub ebx, ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x60]
test edx, edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x18], ebx
jle 0x4e8def
mov ecx, esi
mov dword [esp + 0x14], edx
and ecx, 0xf
shl ecx, 4
mov dword [esp + 0x50], ecx
jmp 0x4e8d29
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x5c]
add edx, esi
mov dword [esp + 0x18], edx
js 0x4e8d47
mov esi, dword [esp + 0x48]
add edi, 4
inc ebp
sub edx, esi
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0xd8]
mov edx, ebp
and edx, 0xf
xor ebx, ebx
add edx, ecx
xor ecx, ecx
add eax, 3
mov cl, byte [edx + esi]
xor edx, edx
mov dl, byte [edi + 3]
shl edx, 8
mov bl, byte [ecx + edx + 0xa2ee04]
mov cl, byte [eax - 2]
mov esi, ebx
xor edx, edx
mov dl, byte [edi + 2]
mov ebx, ecx
and ebx, 0xff
shl esi, 9
sub edx, ebx
mov dl, byte [edx + esi + 0x60ef03]
add dl, cl
mov cl, byte [eax - 3]
mov byte [eax - 2], dl
xor edx, edx
mov dl, byte [edi + 1]
mov ebx, ecx
and ebx, 0xff
sub edx, ebx
xor ebx, ebx
mov dl, byte [edx + esi + 0x60ef03]
add dl, cl
mov cl, byte [eax - 4]
mov byte [eax - 3], dl
mov bl, byte [edi]
mov edx, ecx
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x3c]
add dl, cl
mov ecx, dword [esp + 0x14]
mov byte [eax - 4], dl
add edi, ebx
add ebp, esi
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4e8d25
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
add esi, ebp
add eax, ebx
dec edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edi
jne 0x4e8cd2
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xb4
ret