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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov eax, dword [edx]
mov ebx, dword [edx + 4]
mov edi, dword [edx + 8]
mov esi, edx
mov dword [esp + 0x78], ecx
lea ecx, [eax + 0x50]
mov edx, edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x20], ecx
mov ecx, ebx
push dword [eax + 0x50]
call fcn.004e23d0
add esp, 4
cmp eax, 0x70
je 0x4ed537
mov eax, dword [esp + 0x20]
mov ecx, ebx
mov edx, edi
push dword [eax]
call fcn.004e23d0
add esp, 4
cmp eax, 0x50
jne 0x4ee261
mov eax, dword [esp + 0x7c]
cmp dword [eax + 0x40], 0
jne 0x4ee252
mov dword [eax + 0x40], 0xffffffff
mov dword [eax + 0x4c], 0
mov ecx, ebx
mov edx, edi
push dword [eax + 0x50]
call fcn.004e23d0
add esp, 4
mov ecx, esi
mov dword [esp + 0xbc], eax
call fcn.004e2bb0
test al, al
je 0x4ed589
mov ecx, esi
call fcn.004e21b0
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
cmp eax, edi
jne 0x4ed647
mov ecx, dword [esp + 0x20]
test edi, edi
mov eax, dword [ecx + 8]
mov dword [esp + 0x44], eax
movsd xmm0, qword [ecx]
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [ecx]
movsd qword [esp + 0x30], xmm0
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], eax
je 0x4ed5f4
js 0x4ee25c
movzx eax, byte [0x5a11e8]
mov eax, dword [0x5a1188]
test eax, eax
jne 0x4ed5d8
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4ed5e8
mov dword [0x5a1188], eax
push edi
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
test eax, eax
jne 0x4ed5f9
mov ecx, 1
mov edx, edi
call fcn.00531970
mov esi, 1
push edi
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esp + 0x38]
mov eax, dword [esp + 0x78]
movsd xmm0, qword [esp + 0x30]
movsd qword [eax + 0x30], xmm1
movsd xmm1, qword [esp + 0x40]
movsd qword [eax + 0x28], xmm0
movsd qword [eax + 0x38], xmm1
mov dword [eax], 0xa
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], edi
mov eax, dword [esp + 0x7c]
inc dword [eax + 0x40]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, ebx
mov edx, edi
push eax
call fcn.004e23d0
add esp, 4
cmp eax, 0x7b
jne 0x4ed766
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x30]
mov edx, esi
add eax, 0x44
mov dword [esp + 8], eax
call fcn.004e2ae0
mov eax, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov dword [esp + 0xa0], eax
movsd qword [esp + 0x98], xmm0
mov ecx, esi
call fcn.004e2bb0
test al, al
je 0x4ed6ec
nop dword [eax + eax]
mov ecx, esi
call fcn.004e21b0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
cmp eax, edi
je 0x4ed6fa
mov ecx, ebx
mov edx, edi
push eax
call fcn.004e23d0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, 0x7d
mov eax, dword [ecx]
je 0x4ed6f2
mov ecx, ebx
mov edx, edi
push eax
call fcn.004e23d0
add esp, 4
mov ecx, dword [esp + 8]
mov edx, eax
call fcn.004e86c0
mov ecx, esi
call fcn.004e2bb0
test al, al
jne 0x4ed6a0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
cmp eax, edi
jne 0x4ed833
mov eax, dword [ecx + 8]
test edi, edi
mov dword [esp + 0x44], eax
movsd xmm0, qword [ecx]
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [ecx]
movsd qword [esp + 0x30], xmm0
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], eax
je 0x4ed902
js 0x4ee25c
movzx eax, byte [0x5a11e8]
mov eax, dword [0x5a1188]
test eax, eax
jne 0x4ed74d
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4ed5e8
mov dword [0x5a1188], eax
push edi
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
test eax, eax
jne 0x4ed907
jmp 0x4ed5e8
mov ecx, dword [esp + 0x20]
mov edx, edi
mov eax, dword [ecx + 8]
mov dword [esp + 0xc8], eax
mov eax, ecx
movsd xmm0, qword [ecx]
mov ecx, ebx
movsd qword [esp + 0xc0], xmm0
push dword [eax]
call fcn.004e23d0
add esp, 4
cmp eax, 0x5c
mov dword [esp + 8], eax
jne 0x4ed7ef
lea ecx, [esp + 0x30]
mov edx, esi
call fcn.004e2ae0
test edi, edi
je 0x4ed929
js 0x4ee25c
movzx eax, byte [0x5a11e8]
mov eax, dword [0x5a1188]
test eax, eax
jne 0x4ed7d6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4ed5e8
mov dword [0x5a1188], eax
push edi
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
test eax, eax
jne 0x4ed92e
jmp 0x4ed5e8
mov ecx, esi
call fcn.004e2bb0
test al, al
je 0x4ed801
mov ecx, esi
call fcn.004e21b0
mov eax, dword [esp + 0xc8]
movsd xmm0, qword [esp + 0xc0]
mov esi, dword [esp + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 0x88], eax
movsd qword [esp + 0x80], xmm0
mov eax, 0x80000000
jmp 0x4edf7f
mov ecx, ebx
mov edx, edi
push eax
call fcn.004e23d0
add esp, 4
cmp eax, 0x7d
mov dword [esp + 0xa8], eax
jne 0x4ee275
mov ecx, esi
call fcn.004e2bb0
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x30]
mov edx, dword [eax + 0x48]
mov esi, dword [eax + 0x4c]
mov dword [esp + 0x18], edx
push 2
push 0x550f84
push esi
call fcn.0045a980
add esp, 0xc
cmp dword [esp + 0x30], 0
mov dword [esp + 4], esi
je 0x4eda87
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
dec eax
cmp ecx, 0xffffffff
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x94], eax
je 0x4edac6
mov ebx, dword [esp + 0x4c]
lea ecx, [ebx + eax]
cmp ecx, edx
jae 0x4edd9a
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
sub edi, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x70], edi
jmp 0x4ed993
mov esi, 1
push edi
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esp + 0x38]
mov ecx, dword [esp + 0x78]
movsd xmm0, qword [esp + 0x30]
mov eax, 0xa
jmp 0x4ed94e
mov esi, 1
push edi
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esp + 0x38]
mov ecx, dword [esp + 0x78]
movsd xmm0, qword [esp + 0x30]
mov eax, 0x1f
movsd qword [ecx + 0x30], xmm1
movsd xmm1, qword [esp + 0x40]
movsd qword [ecx + 0x28], xmm0
movsd qword [ecx + 0x38], xmm1
mov dword [ecx], eax
mov dword [ecx + 0x1c], edi
mov dword [ecx + 0x20], esi
mov dword [ecx + 0x24], edi
jmp 0x4ed638
add ebx, dword [esp + 0x1c]
mov esi, edi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x94]
lea ecx, [ebx + eax]
cmp ecx, edx
jae 0x4edd9a
movzx ecx, byte [esi + ecx]
xor eax, eax
mov edi, 1
shld eax, edi, cl
mov edi, esi
mov esi, 1
shl esi, cl
test cl, 0x20
mov ecx, 0
cmovne eax, esi
cmovne esi, ecx
and eax, dword [esp + 0x24]
and esi, dword [esp + 0x74]
or esi, eax
je 0x4ed973
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
lea eax, [edi + ebx]
cmp esi, ecx
cmova ecx, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
cmp ecx, esi
cmova esi, ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp esi, ecx
je 0x4eda31
mov edi, ecx
add ecx, ebx
cmp ecx, edx
jae 0x4ee18d
mov edx, ebx
mov ebx, dword [esp + 8]
lea ecx, [edi + 1]
movzx ebx, byte [ebx + edi]
cmp bl, byte [eax + edi]
mov ebx, edx
mov edx, dword [esp + 0xc]
je 0x4ed9f0
sub ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0
lea ebx, [ebx + edi + 1]
jmp 0x4ed981
mov ecx, dword [esp + 0x28]
nop word cs:[eax + eax]
nop
cmp dword [esp + 0x10], ecx
jae 0x4edc96
dec ecx
cmp ecx, dword [esp + 0x1c]
jae 0x4ee244
lea esi, [ecx + ebx]
cmp esi, edx
jae 0x4ee1aa
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x14]
movzx eax, byte [eax + ecx]
cmp al, byte [edi + esi]
je 0x4eda40
mov eax, dword [esp + 0x70]
add ebx, dword [esp + 0x90]
mov esi, edi
mov dword [esp + 0x10], eax
jmp 0x4ed981
cmp byte [esp + 0x3e], 0
jne 0x4edd9a
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
movzx eax, byte [esp + 0x3c]
test ebx, ebx
mov esi, edx
je 0x4edc22
mov esi, edx
sub esi, ebx
jbe 0x4edc1c
cmp byte [ecx + ebx], 0xc0
jge 0x4edc22
jmp 0x4ee2b1
mov ebx, dword [esp + 0x4c]
lea ecx, [ebx + eax]
cmp ecx, edx
jae 0x4edd9a
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov edi, edx
cmp eax, edx
mov dword [esp + 0x24], eax
cmova edi, eax
mov dword [esp + 0x10], edi
lea edi, [eax - 1]
mov dword [esp + 0x2c], edi
mov edi, 1
sub edi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x3c]
cmp eax, edx
mov edx, eax
mov dword [esp + 0x74], edi
jae 0x4ee1d2
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 8]
add eax, edx
mov dword [esp + 0x90], eax
jmp 0x4edb52
add ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov esi, edi
mov eax, dword [esp + 0x94]
lea ecx, [ebx + eax]
cmp ecx, edx
jae 0x4edd9a
movzx ecx, byte [esi + ecx]
mov edx, 1
mov edi, esi
xor esi, esi
mov eax, 1
shld esi, eax, cl
shl edx, cl
test cl, 0x20
mov eax, 0
cmovne esi, edx
cmovne edx, eax
and esi, dword [esp + 0x74]
and edx, dword [esp + 0x28]
or edx, esi
je 0x4edb36
lea esi, [edi + ebx]
mov edi, dword [esp + 0x24]
nop word [eax + eax]
cmp dword [esp + 0x10], edi
je 0x4edbbf
mov ecx, edi
lea edx, [ebx + edi]
mov edi, dword [esp + 0xc]
cmp edx, edi
jae 0x4ee193
mov eax, dword [esp + 8]
lea edi, [ecx + 1]
movzx edx, byte [eax + ecx]
cmp dl, byte [esi + ecx]
je 0x4edb90
add ebx, dword [esp + 0x70]
add ebx, ecx
jmp 0x4edbfd
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x24]
lea ecx, [eax + ebx]
mov edx, dword [esp + 0xc]
sub edi, 1
jb 0x4edc96
cmp ecx, edx
jae 0x4ee1ac
movzx edx, byte [esi]
mov eax, dword [esp + 0x14]
dec esi
cmp dl, byte [eax + ecx]
lea ecx, [ecx - 1]
je 0x4edbd1
add ebx, dword [esp + 0xb8]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x94]
lea ecx, [ebx + eax]
cmp ecx, edx
jb 0x4edb52
jmp 0x4edd9a
jne 0x4ee2b1
test esi, esi
je 0x4edc73
mov ah, byte [ecx + ebx]
movzx esi, ah
test ah, ah
jns 0x4edc8e
mov edi, ebx
movzx ebx, byte [ecx + ebx + 1]
and esi, 0x1f
and ebx, 0x3f
cmp ah, 0xe0
jb 0x4edc7c
mov dword [esp + 8], edi
movzx edi, byte [ecx + edi + 2]
shl ebx, 6
and edi, 0x3f
or edi, ebx
cmp ah, 0xf0
jb 0x4edc85
mov ebx, dword [esp + 8]
and esi, 7
shl edi, 6
shl esi, 0x12
movzx ebx, byte [ecx + ebx + 3]
and ebx, 0x3f
or ebx, edi
or esi, ebx
jmp 0x4edc8a
test al, al
jne 0x4edc96
jmp 0x4edd9a
shl esi, 6
or esi, ebx
mov ebx, edi
jmp 0x4edc8e
shl esi, 0xc
or esi, edi
mov ebx, dword [esp + 8]
test al, al
je 0x4edd8e
test ebx, ebx
je 0x4edcbd
mov edx, dword [esp + 4]
cmp ebx, edx
jae 0x4edcc4
mov eax, dword [esp + 0x18]
cmp byte [eax + ebx], 0xbf
jg 0x4edcc6
mov ecx, dword [esp + 0x18]
push 0x550f88
push ebx
push 0
call fcn.00533230
mov edi, 1
jmp 0x4edceb
jne 0x4edcac
test ebx, ebx
js 0x4ee25c
movzx eax, byte [0x5a11e8]
mov ecx, ebx
mov edx, 1
call fcn.004329c0
mov edi, eax
test eax, eax
je 0x4ee2a5
push ebx
mov esi, dword [esp + 0x1c]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esp + 8], ebx
add ebx, 2
cmp dword [esp + 4], ebx
jbe 0x4edd21
cmp byte [esi + ebx], 0xbf
jg 0x4edd23
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 4]
push 0x550f98
push edx
push ebx
call fcn.00533230
jne 0x4edd0d
mov esi, dword [esp + 4]
sub esi, ebx
je 0x4edd4d
js 0x4ee25c
movzx eax, byte [0x5a11e8]
mov ecx, esi
mov edx, 1
call fcn.004329c0
test eax, eax
jne 0x4edd52
jmp 0x4edf23
mov eax, 1
mov ecx, dword [esp + 0x18]
add ecx, ebx
push esi
push ecx
mov dword [esp + 0x18], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0xa0]
movsd xmm0, qword [esp + 0x98]
mov dword [esp + 0x88], eax
mov al, 2
movsd qword [esp + 0x80], xmm0
jmp 0x4edf6b
cmp esi, 0x110000
jne 0x4ee12b
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 4]
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x30]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], 0x3a
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], 0x3a
call fcn.004eed90
cmp dword [esp + 0xa8], 0
je 0x4ede1e
mov esi, dword [esp + 0xac]
test esi, esi
je 0x4ede9e
cmp esi, dword [esp + 4]
jae 0x4edea5
cmp byte [ebx + esi], 0xbf
jg 0x4edeab
mov edx, dword [esp + 4]
mov ecx, ebx
push 0x550fa8
push esi
push 0
call fcn.00533230
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x30]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], 0x3d
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], 0x3d
call fcn.004eed90
cmp dword [esp + 0xa8], 0
je 0x4ee026
mov esi, dword [esp + 0xac]
test esi, esi
je 0x4ee085
cmp esi, dword [esp + 4]
jae 0x4ee07f
cmp byte [ebx + esi], 0xbf
jg 0x4ee085
mov edx, dword [esp + 4]
mov ecx, ebx
push 0x550fc8
push esi
push 0
call fcn.00533230
mov edi, 1
jmp 0x4edecc
jne 0x4ede0b
test esi, esi
js 0x4ee25c
movzx eax, byte [0x5a11e8]
mov ecx, esi
mov edx, 1
call fcn.004329c0
mov edi, eax
test eax, eax
je 0x4edf23
push esi
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, ebx
mov dword [esp + 8], esi
lea ebx, [esi + 1]
mov esi, dword [esp + 4]
cmp esi, ebx
jbe 0x4edf00
cmp byte [eax + ebx], 0xbf
jg 0x4edf02
mov ecx, dword [esp + 0x18]
mov edx, esi
push 0x550fb8
push esi
push ebx
call fcn.00533230
jne 0x4edeee
sub esi, ebx
je 0x4edf2f
js 0x4ee25c
movzx eax, byte [0x5a11e8]
mov ecx, esi
mov edx, 1
call fcn.004329c0
test eax, eax
jne 0x4edf34
mov ecx, 1
mov edx, esi
call fcn.00531970
mov eax, 1
mov ecx, dword [esp + 0x18]
add ecx, ebx
push esi
push ecx
mov dword [esp + 0x18], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esp + 0x98]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x88], eax
movsd qword [esp + 0x80], xmm0
mov al, 1
mov dword [esp + 0xc], eax
mov eax, esi
mov dword [esp + 4], esi
mov esi, dword [esp + 8]
mov dword [esp + 0x14], esi
mov ecx, edi
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
movsd xmm0, qword [esp + 0x80]
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0xbc], 0x50
mov dword [esp + 0x38], edx
movzx edx, word [esp + 0xb5]
movsd qword [esp + 0x30], xmm0
mov word [edi + 0x1d], dx
movzx edx, byte [esp + 0xb7]
mov byte [edi + 0x1f], dl
mov edx, dword [ebx + 8]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x14]
movsd xmm0, qword [ebx]
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [esp + 0x30]
movsd xmm2, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
movsd qword [edi + 0x20], xmm0
movsd qword [edi + 0x28], xmm2
movsd qword [edi + 0x30], xmm1
mov dword [edi + 4], esi
mov dword [edi + 0xc], edx
mov dword [edi + 8], ecx
mov dword [edi + 0x10], eax
mov eax, dword [esp + 4]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0xc]
mov byte [edi + 0x1c], al
sete byte [edi + 0x38]
mov dword [edi], 0x22
jmp 0x4ed638
lea ecx, [esp + 0x30]
mov edx, ebx
push esi
call fcn.004e85d0
add esp, 4
mov eax, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x98]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa0]
movsd qword [esp + 0x80], xmm0
mov dword [esp + 0x88], eax
mov eax, 0x80000001
jmp 0x4edf7f
jne 0x4ede8b
lea ecx, [esp + 0x30]
mov edx, ebx
push esi
call fcn.004e85d0
add esp, 4
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
inc esi
mov dword [esp + 0x14], ecx
jne 0x4ee0ad
mov eax, dword [esp + 4]
jmp 0x4ee0d5
mov eax, dword [esp + 4]
sub eax, esi
jbe 0x4ee0d3
mov ecx, dword [esp + 0x18]
cmp byte [ecx + esi], 0xbf
jg 0x4ee0d5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 4]
push 0x550fd8
push edx
push esi
call fcn.00533230
jne 0x4ee0bf
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
add edx, esi
push eax
call fcn.004e85d0
add esp, 4
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x98]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], 0
mov dword [esp + 4], esi
mov esi, ebx
mov dword [esp + 0x10], ecx
movsd qword [esp + 0x80], xmm0
mov dword [esp + 0x88], edx
jmp 0x4edf7d
mov eax, 1
cmp esi, 0x80
jb 0x4ee153
mov eax, 2
cmp esi, 0x800
jb 0x4ee153
cmp esi, 0x10000
mov eax, 4
sbb eax, 0
add ebx, eax
je 0x4ee168
mov eax, edx
sub eax, ebx
jbe 0x4ee16c
cmp byte [ecx + ebx], 0xbf
jg 0x4ee172
jmp 0x4ee2b1
mov eax, edx
jmp 0x4ee172
jne 0x4ee2b1
test eax, eax
je 0x4edc96
movzx eax, byte [ecx + ebx]
test al, al
jns 0x4edc96
cmp al, 0xe0
jmp 0x4edc96
add ebx, dword [esp + 0x2c]
jmp 0x4ee199
add ebx, dword [esp + 0x24]
mov edx, edi
cmp edx, ebx
cmova ebx, edx
mov ecx, ebx
push 0x59e2cc
call fcn.00532ca0
mov ecx, esi
push 0x59e2bc
call fcn.00532ca0
add ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x14]
lea ecx, [ebx + eax]
cmp ecx, dword [esp + 0xc]
jae 0x4edd9a
movzx ecx, byte [esi + ecx]
mov edx, 1
xor esi, esi
mov eax, 1
shld esi, eax, cl
shl edx, cl
test cl, 0x20
mov eax, 0
cmovne esi, edx
cmovne edx, eax
and esi, dword [esp + 0x74]
and edx, dword [esp + 0x28]
or edx, esi
je 0x4ee1b6
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
lea esi, [eax + ebx]
cmp dword [esp + 0x10], edi
je 0x4ee235
lea edx, [ebx + edi]
mov ecx, edi
cmp edx, dword [esp + 0xc]
jae 0x4ee298
mov eax, dword [esp + 8]
lea edi, [ecx + 1]
movzx edx, byte [eax + ecx]
cmp dl, byte [esi + ecx]
je 0x4ee20c
add ebx, dword [esp + 0x70]
add ebx, ecx
jmp 0x4ee1ba
cmp dword [esp + 0x24], 0
je 0x4edc96
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push 0x59e2ac
call fcn.00532ca0
mov ecx, 0x550ff8
call fcn.00532f80
call fcn.004478d0
mov ecx, str.assertion_failed:_self.char____p__self.char____P
mov edx, 0x3a
push 0x551044
call fcn.00532d60
mov dword [esp + 0x30], 0
lea ecx, [esp + 0xa8]
mov edx, 0x550e64
push 0x550fe8
lea eax, [esp + 0x34]
push eax
call fcn.005378f0
mov edx, dword [esp + 0xc]
add ebx, dword [esp + 0x24]
jmp 0x4ee199
mov ecx, 1
mov edx, ebx
call fcn.00531970
push 0x59e2dc
push edx
push ebx
call fcn.00533230
int3