Function at 0x4ec240
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 edi
mov edi, 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 edi
push eax
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4ec294
mov eax, 1
pop edi
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 [edi + 8]
mov edi, dword [esp + 0xc8]
push ebx
mov ebx, dword [esp + 0x84]
push ebp
mov edi, dword [edi + 8]
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x14], edi
mov edi, edx
imul edi, ecx
push esi
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x74]
sub ebx, esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x10], ecx
sub ebp, esi
imul esi, dword [esp + 0x18]
lea ecx, [edi + eax*4]
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
add ecx, dword [edi + 4]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x5c], ebx
lea esi, [esi + edi*4]
mov edi, dword [esp + 0xd4]
mov dword [esp + 0x1c], ecx
add esi, dword [edi + 4]
cmp byte [esp + 0x70], 0
mov dword [esp + 0x14], esi
je 0x4ec837
mov edx, ebx
mov edi, ebx
sar edx, 3
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x7c]
and edi, 7
sub eax, edx
mov edx, dword [esp + 0x10]
add eax, edi
mov dword [esp + 0x2c], edi
lea eax, [edx + eax*4]
mov edx, edi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
sub edx, ebx
test ebp, ebp
lea edx, [eax + edx*4]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], eax
jle 0x4ec9f7
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x60]
test eax, eax
mov dword [esp + 0x28], edx
jle 0x4ec734
mov ebp, dword [esp + 0x20]
add edx, 2
and ebp, 0xf
mov dword [esp + 0x18], edx
shl ebp, 4
add esi, 5
lea edi, [ecx + 5]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x28]
xor eax, eax
and ecx, 0xf
xor edx, edx
mov dl, byte [edi - 3]
add ecx, ebp
mov al, byte [ecx + ebx]
mov cl, byte [esi - 3]
and ecx, 0xff
sub edx, ecx
shl eax, 9
mov dword [esp + 0x10], eax
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 - 4]
mov dl, byte [edi - 4]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi - 4]
mov al, byte [edx + eax + 0x60ef03]
xor edx, edx
add al, cl
mov ecx, dword [esp + 0x14]
mov byte [esi - 4], al
mov al, byte [ecx]
mov ecx, dword [esp + 0x1c]
and eax, 0xff
mov dl, byte [ecx]
sub edx, eax
mov eax, dword [esp + 0x10]
mov cl, byte [edx + eax + 0x60ef03]
mov eax, dword [esp + 0x14]
mov byte [esi - 2], 0
add cl, byte [eax]
mov byte [eax], cl
mov eax, dword [esp + 0x18]
xor ecx, ecx
lea edx, [eax - 1]
and edx, 0xf
add edx, ebp
mov cl, byte [edx + ebx]
xor edx, edx
mov dl, byte [edi + 1]
shl ecx, 9
mov dword [esp + 0x10], ecx
mov cl, byte [esi + 1]
and ecx, 0xff
sub edx, ecx
mov ecx, dword [esp + 0x10]
mov dl, byte [edx + ecx + 0x60ef03]
mov cl, byte [esi + 1]
add dl, cl
mov cl, byte [esi]
mov byte [esi + 1], dl
xor edx, edx
mov dl, byte [edi]
and ecx, 0xff
sub edx, ecx
mov ecx, dword [esp + 0x10]
mov dl, byte [edx + ecx + 0x60ef03]
mov cl, byte [esi]
add dl, cl
mov cl, byte [esi - 1]
mov byte [esi], dl
xor edx, edx
mov dl, byte [edi - 1]
and ecx, 0xff
sub edx, ecx
mov ecx, dword [esp + 0x10]
mov dl, byte [edx + ecx + 0x60ef03]
mov cl, byte [esi - 1]
add dl, cl
mov ecx, eax
and ecx, 0xf
mov byte [esi - 1], dl
mov byte [esi + 2], 0
add ecx, ebp
xor edx, edx
mov dl, byte [ecx + ebx]
mov ecx, edx
xor edx, edx
mov dl, byte [edi + 5]
shl ecx, 9
mov dword [esp + 0x10], ecx
mov cl, byte [esi + 5]
and ecx, 0xff
sub edx, ecx
mov ecx, dword [esp + 0x10]
mov dl, byte [edx + ecx + 0x60ef03]
mov cl, byte [esi + 5]
add dl, cl
mov cl, byte [esi + 4]
mov byte [esi + 5], dl
xor edx, edx
mov dl, byte [edi + 4]
and ecx, 0xff
sub edx, ecx
mov ecx, dword [esp + 0x10]
mov dl, byte [edx + ecx + 0x60ef03]
mov cl, byte [esi + 4]
add dl, cl
mov cl, byte [esi + 3]
mov byte [esi + 4], dl
xor edx, edx
mov dl, byte [edi + 3]
and ecx, 0xff
sub edx, ecx
mov ecx, dword [esp + 0x10]
mov dl, byte [edx + ecx + 0x60ef03]
mov cl, byte [esi + 3]
add dl, cl
lea ecx, [eax + 1]
and ecx, 0xf
mov byte [esi + 3], dl
add ecx, ebp
xor edx, edx
mov byte [esi + 6], 0
mov dl, byte [ecx + ebx]
mov ecx, edx
xor edx, edx
mov dl, byte [edi + 9]
shl ecx, 9
mov dword [esp + 0x10], ecx
mov cl, byte [esi + 9]
and ecx, 0xff
sub edx, ecx
mov ecx, dword [esp + 0x10]
mov dl, byte [edx + ecx + 0x60ef03]
mov cl, byte [esi + 9]
add dl, cl
mov cl, byte [esi + 8]
mov byte [esi + 9], dl
xor edx, edx
mov dl, byte [edi + 8]
and ecx, 0xff
sub edx, ecx
mov ecx, dword [esp + 0x10]
mov dl, byte [edx + ecx + 0x60ef03]
mov cl, byte [esi + 8]
add dl, cl
mov cl, byte [esi + 7]
mov byte [esi + 8], dl
xor edx, edx
mov dl, byte [edi + 7]
and ecx, 0xff
sub edx, ecx
mov ecx, dword [esp + 0x10]
mov dl, byte [edx + ecx + 0x60ef03]
mov cl, byte [esi + 7]
add dl, cl
lea ecx, [eax + 2]
and ecx, 0xf
mov byte [esi + 7], dl
add ecx, ebp
xor edx, edx
mov byte [esi + 0xa], 0
mov dl, byte [ecx + ebx]
mov ecx, edx
shl ecx, 9
mov dword [esp + 0x10], ecx
mov cl, byte [esi + 0xd]
xor edx, edx
and ecx, 0xff
mov dl, byte [edi + 0xd]
add eax, 3
sub edx, ecx
mov ecx, dword [esp + 0x10]
and eax, 0xf
mov dl, byte [edx + ecx + 0x60ef03]
mov cl, byte [esi + 0xd]
add dl, cl
mov cl, byte [esi + 0xc]
mov byte [esi + 0xd], dl
xor edx, edx
mov dl, byte [edi + 0xc]
and ecx, 0xff
sub edx, ecx
mov ecx, dword [esp + 0x10]
add eax, ebp
mov dl, byte [edx + ecx + 0x60ef03]
mov cl, byte [esi + 0xc]
add dl, cl
mov cl, byte [esi + 0xb]
mov byte [esi + 0xc], dl
xor edx, edx
mov dl, byte [edi + 0xb]
and ecx, 0xff
sub edx, ecx
mov ecx, dword [esp + 0x10]
mov dl, byte [edx + ecx + 0x60ef03]
mov cl, byte [esi + 0xb]
add dl, cl
xor ecx, ecx
mov byte [esi + 0xb], dl
mov byte [esi + 0xe], 0
mov cl, byte [eax + ebx]
lea edx, [edi + 0xf]
push ecx
push edx
lea ecx, [esi + 0xf]
call fcn.004d7790
mov eax, dword [esp + 0x18]
xor ecx, ecx
add eax, 4
xor edx, edx
and eax, 0xf
mov dl, byte [edi + 0x15]
add eax, ebp
mov cl, byte [eax + ebx]
mov eax, ecx
mov cl, byte [esi + 0x15]
and ecx, 0xff
shl eax, 9
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 0x15]
add cl, dl
xor edx, edx
mov byte [esi + 0x15], cl
mov cl, byte [esi + 0x14]
mov dl, byte [edi + 0x14]
and ecx, 0xff
sub edx, ecx
mov cl, byte [edx + eax + 0x60ef03]
mov dl, byte [esi + 0x14]
add cl, dl
xor edx, edx
mov byte [esi + 0x14], cl
mov cl, byte [esi + 0x13]
mov dl, byte [edi + 0x13]
and ecx, 0xff
sub edx, ecx
mov cl, byte [esi + 0x13]
mov al, byte [edx + eax + 0x60ef03]
mov byte [esi + 0x16], 0
add al, cl
mov ecx, dword [esp + 0x18]
mov byte [esi + 0x13], al
add ecx, 5
and ecx, 0xf
xor edx, edx
add ecx, ebp
lea eax, [edi + 0x17]
mov dl, byte [ecx + ebx]
lea ecx, [esi + 0x17]
push edx
push eax
call fcn.004d7790
mov edx, dword [esp + 0x14]
mov eax, 0x20
add edx, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
add edx, eax
add esi, eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x28]
add edi, eax
mov eax, 8
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], edx
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
jne 0x4ec3ac
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
xor eax, eax
test edi, edi
mov dword [esp + 0x24], eax
jle 0x4ec7fe
mov edi, dword [esp + 0x20]
mov edx, ecx
and edi, 0xf
add esi, 2
shl edi, 4
sub edx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov ebp, ecx
mov dword [esp + 0x18], edx
jmp 0x4ec765
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
add ebp, 4
add eax, edx
xor edx, edx
and eax, 0xf
add esi, 4
add eax, edi
mov dl, byte [eax + ebx]
xor eax, eax
mov edi, edx
mov edx, dword [esp + 0x18]
shl edi, 9
mov al, byte [edx + esi - 4]
mov edx, eax
mov al, byte [esi - 4]
and eax, 0xff
sub edx, eax
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 al, byte [edx + edi + 0x60ef03]
mov dl, byte [esi - 6]
mov edi, dword [esp + 0x2c]
add al, dl
mov byte [esi - 6], al
mov eax, dword [esp + 0x24]
mov byte [esi - 3], 0
inc eax
cmp eax, edi
mov dword [esp + 0x24], eax
jl 0x4ec761
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
add esi, eax
mov eax, dword [esp + 0x30]
add ecx, ebp
inc edx
dec eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], eax
jne 0x4ec37d
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0xb4
ret
mov eax, dword [esp + 0xb0]
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], edi
shl eax, 2
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
imul eax, edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0xb4]
test ebp, ebp
mov dword [esp + 0x28], edx
jle 0x4ec9f7
inc esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], esi
jmp 0x4ec8bc
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
add edi, dword [esp + 0x3c]
mov dword [esp + 0x30], edi
js 0x4ec8db
mov ebp, dword [esp + 0x10]
add ecx, ebp
mov ebp, dword [esp + 0x34]
inc edx
sub edi, ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], edi
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x60]
test ebx, ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], ebp
jle 0x4ec9c2
and edx, 0xf
mov eax, esi
shl edx, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebx
jmp 0x4ec909
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x50]
add esi, ebx
mov dword [esp + 0x20], esi
js 0x4ec927
mov ebx, dword [esp + 0x48]
add ecx, 4
inc edi
sub esi, ebx
mov dword [esp + 0x20], 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 + 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 + 0x2c]
mov byte [eax - 5], bl
mov ebx, dword [esp + 0x40]
add edi, ebx
dec edx
mov dword [esp + 0x2c], edx
jne 0x4ec905
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
add edx, ebp
add esi, edi
dec ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], ecx
jne 0x4ec8b4
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0xb4
ret