Function at 0x4e95c0
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 + 0xc0]
push eax
push ecx
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0x6c]
push edx
mov edx, dword [esp + 0xdc]
push eax
mov eax, dword [esp + 0xd8]
push ecx
push edx
push ebp
push eax
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4e9614
mov eax, 1
pop ebp
add esp, 0xb4
ret
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebp + 8]
mov ebp, dword [esp + 0xc8]
push ebx
mov ebx, dword [esp + 0x88]
push esi
mov ebp, dword [ebp + 8]
mov esi, dword [esp + 0x88]
mov dword [esp + 0xc], ebp
mov ebp, edx
imul ebp, ecx
push edi
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x74]
sub esi, edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x20], ecx
sub ebx, edi
imul edi, dword [esp + 0x10]
lea ecx, [ebp + eax*4]
mov ebp, dword [esp + 0xcc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
add ecx, dword [ebp + 4]
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x44], esi
lea edi, [edi + ebp*4]
mov ebp, dword [esp + 0xd4]
mov dword [esp + 0x14], ecx
add edi, dword [ebp + 4]
cmp byte [esp + 0x70], 0
mov dword [esp + 0x18], edi
je 0x4e9b9e
mov edx, esi
mov ebp, esi
sar edx, 3
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x7c]
and ebp, 7
sub eax, edx
mov edx, dword [esp + 0x20]
add eax, ebp
mov dword [esp + 0x30], ebp
lea eax, [edx + eax*4]
mov edx, ebp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
sub edx, esi
test ebx, ebx
lea edx, [eax + edx*4]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], eax
jle 0x4e9d73
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0xd8]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x60]
test eax, eax
mov dword [esp + 0x24], edx
jle 0x4e9a81
mov ebp, dword [esp + 0x20]
lea esi, [edi + 9]
and ebp, 0xf
lea edi, [ecx + 0xa]
shl ebp, 4
add edx, 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x24]
xor eax, eax
mov al, byte [edi - 7]
and ecx, 0xf
add ecx, ebp
xor edx, edx
shl eax, 8
mov dl, byte [ecx + ebx]
xor ecx, ecx
mov cl, byte [edx + eax + 0xa2ee04]
xor edx, edx
mov dl, byte [edi - 8]
mov eax, ecx
mov cl, byte [esi - 7]
and ecx, 0xff
shl eax, 9
sub edx, ecx
mov dword [esp + 0x2c], eax
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi - 7]
add cl, dl
xor edx, edx
mov byte [esi - 7], cl
mov cl, byte [esi - 8]
mov dl, byte [edi - 9]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi - 8]
mov al, byte [edx + eax + 0x60ef03]
xor edx, edx
add al, cl
mov ecx, dword [esp + 0x18]
mov byte [esi - 8], al
mov al, byte [ecx]
mov ecx, dword [esp + 0x14]
and eax, 0xff
mov dl, byte [ecx]
sub edx, eax
mov eax, dword [esp + 0x2c]
mov cl, byte [edx + eax + 0x60ef03]
mov eax, dword [esp + 0x18]
mov byte [esi - 6], 0
mov dl, byte [eax]
add cl, dl
mov edx, dword [esp + 0x10]
dec edx
mov byte [eax], cl
and edx, 0xf
xor eax, eax
add edx, ebp
lea ecx, [edi - 6]
mov al, byte [edx + ebx]
push eax
push ecx
lea ecx, [esi - 5]
call fcn.004ed810
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov cl, byte [edi + 1]
and edx, 0xf
add edx, ebp
xor eax, eax
shl ecx, 8
mov al, byte [edx + ebx]
xor edx, edx
mov dl, byte [eax + ecx + 0xa2ee04]
mov cl, byte [esi + 1]
mov eax, edx
xor edx, edx
mov dl, byte [edi]
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 cl, byte [esi - 1]
mov al, byte [edx + eax + 0x60ef03]
mov byte [esi + 2], 0
add al, cl
mov ecx, dword [esp + 0x10]
inc ecx
mov byte [esi - 1], al
and ecx, 0xf
xor eax, eax
mov al, byte [edi + 5]
add ecx, ebp
xor edx, edx
mov dl, byte [ecx + ebx]
xor ecx, ecx
shl eax, 8
mov cl, byte [edx + eax + 0xa2ee04]
xor edx, edx
mov dl, byte [edi + 4]
mov eax, ecx
mov cl, byte [esi + 5]
and ecx, 0xff
shl eax, 9
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 5]
add cl, dl
xor edx, edx
mov byte [esi + 5], cl
mov cl, byte [esi + 4]
mov dl, byte [edi + 3]
and ecx, 0xff
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 + 2]
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]
add ecx, 2
mov byte [esi + 3], al
and ecx, 0xf
mov byte [esi + 6], 0
add ecx, ebp
lea eax, [edi + 6]
mov dl, byte [ecx + ebx]
lea ecx, [esi + 7]
push edx
push eax
call fcn.004ed810
mov ecx, dword [esp + 0x10]
xor eax, eax
mov al, byte [edi + 0xd]
add ecx, 3
and ecx, 0xf
xor edx, edx
add ecx, ebp
shl eax, 8
mov dl, byte [ecx + ebx]
xor ecx, ecx
mov cl, byte [edx + eax + 0xa2ee04]
mov eax, ecx
mov cl, byte [esi + 0xd]
shl eax, 9
xor edx, edx
and ecx, 0xff
mov dl, byte [edi + 0xc]
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 + 0xb]
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 + 0xa]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi + 0xb]
mov al, byte [edx + eax + 0x60ef03]
mov byte [esi + 0xe], 0
add al, cl
mov ecx, dword [esp + 0x10]
add ecx, 4
mov byte [esi + 0xb], al
and ecx, 0xf
xor eax, eax
mov al, byte [edi + 0x11]
add ecx, ebp
xor edx, edx
mov dl, byte [ecx + ebx]
xor ecx, ecx
shl eax, 8
mov cl, byte [edx + eax + 0xa2ee04]
xor edx, edx
mov dl, byte [edi + 0x10]
mov eax, ecx
mov cl, byte [esi + 0x11]
and ecx, 0xff
shl eax, 9
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 0x11]
add cl, dl
xor edx, edx
mov byte [esi + 0x11], cl
mov cl, byte [esi + 0x10]
mov dl, byte [edi + 0xf]
and ecx, 0xff
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 0x10]
add cl, dl
xor edx, edx
mov byte [esi + 0x10], cl
mov cl, byte [esi + 0xf]
mov dl, byte [edi + 0xe]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi + 0xf]
mov al, byte [edx + eax + 0x60ef03]
xor edx, edx
add al, cl
mov ecx, dword [esp + 0x10]
add ecx, 5
mov byte [esi + 0xf], al
and ecx, 0xf
mov byte [esi + 0x12], 0
add ecx, ebp
lea eax, [edi + 0x12]
mov dl, byte [ecx + ebx]
lea ecx, [esi + 0x13]
push edx
push eax
call fcn.004ed810
mov edx, dword [esp + 0x18]
mov eax, 0x20
add edx, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
add edx, eax
add esi, eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
add edi, eax
mov eax, 8
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jne 0x4e972d
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
xor eax, eax
test ebp, ebp
mov dword [esp + 0x1c], eax
jle 0x4e9b65
mov edx, dword [esp + 0x20]
mov ebp, ecx
and edx, 0xf
mov dword [esp + 0x14], ecx
shl edx, 4
sub ebp, edi
mov dword [esp + 0x2c], edx
lea esi, [edi + 2]
mov dword [esp + 0x10], ebp
jmp 0x4e9ab6
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
add esi, 4
add eax, edi
and eax, 0xf
add eax, edx
xor edx, edx
mov dl, byte [eax + ebx]
xor eax, eax
mov al, byte [esi + ebp - 3]
mov edi, eax
xor eax, eax
shl edi, 8
mov al, byte [edx + edi + 0xa2ee04]
xor edx, edx
mov dl, byte [esi + ebp - 4]
mov edi, eax
mov al, byte [esi - 4]
mov ebp, dword [esp + 0x14]
and eax, 0xff
add ebp, 4
shl edi, 9
sub edx, eax
mov dword [esp + 0x14], ebp
mov al, byte [edx + edi + 0x60ef03]
mov dl, byte [esi - 4]
add al, dl
xor edx, edx
mov byte [esi - 4], al
mov al, byte [esi - 5]
mov dl, byte [ebp - 3]
and eax, 0xff
sub edx, eax
mov al, byte [edx + edi + 0x60ef03]
mov dl, byte [esi - 5]
add al, dl
xor edx, edx
mov byte [esi - 5], al
mov al, byte [esi - 6]
mov dl, byte [ebp - 4]
and eax, 0xff
sub edx, eax
mov ebp, dword [esp + 0x30]
mov al, byte [edx + edi + 0x60ef03]
mov dl, byte [esi - 6]
add al, dl
mov byte [esi - 3], 0
mov byte [esi - 6], al
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, ebp
mov dword [esp + 0x1c], eax
jl 0x4e9aae
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x28]
add ecx, esi
inc edx
dec eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
jne 0x4e96fe
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0xb4
ret
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebp
shl eax, 2
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
imul eax, ebp
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0xac]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0xbc]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0xb4]
test ebx, ebx
mov dword [esp + 0x18], edx
jle 0x4e9d73
inc edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], edi
jmp 0x4e9c23
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
add ebp, dword [esp + 0x3c]
mov dword [esp + 0x28], ebp
js 0x4e9c42
mov edi, dword [esp + 0x20]
add ecx, edi
mov edi, dword [esp + 0x38]
inc edx
sub ebp, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ebp
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x60]
test esi, esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], ebx
jle 0x4e9d3e
mov eax, dword [esp + 0x1c]
and edx, 0xf
shl edx, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], esi
jmp 0x4e9c72
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x5c]
add esi, ebx
mov dword [esp + 0x24], esi
js 0x4e9c90
mov ebx, dword [esp + 0x48]
add ecx, 4
inc edi
sub esi, ebx
mov dword [esp + 0x24], esi
mov ebx, dword [esp + 0xd8]
mov esi, edi
and esi, 0xf
add eax, 4
add esi, edx
xor edx, edx
mov dl, byte [esi + ebx]
xor ebx, ebx
mov bl, byte [ecx + 3]
mov esi, edx
shl ebx, 8
xor edx, edx
mov dl, byte [esi + ebx + 0xa2ee04]
xor ebx, ebx
mov bl, byte [ecx + 2]
mov esi, edx
mov dl, byte [eax - 3]
mov ebp, edx
and ebp, 0xff
shl esi, 9
sub ebx, ebp
mov bl, byte [ebx + esi + 0x60ef03]
add bl, dl
mov dl, byte [eax - 4]
mov byte [eax - 3], bl
xor ebx, ebx
mov bl, byte [ecx + 1]
mov ebp, edx
and ebp, 0xff
sub ebx, ebp
mov bl, byte [ebx + esi + 0x60ef03]
add bl, dl
mov dl, byte [eax - 5]
mov byte [eax - 4], bl
mov ebp, edx
xor ebx, ebx
and ebp, 0xff
mov bl, byte [ecx]
sub ebx, ebp
mov ebp, dword [esp + 0x58]
add ecx, ebp
mov bl, byte [ebx + esi + 0x60ef03]
mov byte [eax - 2], 0
add bl, dl
mov edx, dword [esp + 0x30]
mov byte [eax - 5], bl
mov ebx, dword [esp + 0x50]
add edi, ebx
dec edx
mov dword [esp + 0x30], edx
jne 0x4e9c6e
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x54]
add ecx, eax
add edx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
add edi, ecx
mov ecx, dword [esp + 0x34]
dec ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], ecx
jne 0x4e9c1b
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0xb4
ret