Function at 0x46d9ac
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
call fcn.00488b7a
xor edi, edi
test eax, eax
jne 0x46da54
mov esi, dword [ebp + 0x10]
xor edx, edx
push edi
push edi
lea ecx, [esi + 0x14]
call fcn.004814a9
mov ecx, dword [ebx]
mov edx, esi
push esi
push dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
lea ecx, [eax + 0x14]
mov dword [eax + 8], ebx
mov dword [eax + 0x10], esi
call section..text
mov ecx, dword [ebx]
add esp, 0x10
mov ecx, dword [ecx]
call fcn.004813e2
test eax, eax
je 0x46da30
mov eax, dword [ebx]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
jbe 0x46da2a
mov eax, dword [ecx - 0x10]
add eax, 0x10
add eax, ecx
jmp 0x46da2c
mov eax, edi
mov edx, dword [eax]
jmp 0x46da32
mov edx, edi
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx]
mov edx, dword [edx]
push ecx
mov ecx, dword [ecx]
push edi
push 0x46d966
push dword [eax]
call fcn.00457f94
add esp, 0x10
xor eax, eax
jmp 0x46dbe9
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0x10]
sub eax, dword [esi]
mov ecx, dword [esi + 4]
sub eax, ecx
cmp eax, edx
jge 0x46db0e
test ecx, ecx
jle 0x46dac2
mov ebx, dword [esi]
mov eax, dword [esi + 0xc]
add ebx, eax
mov dword [esp + 0xc], ebx
mov ebx, dword [ebp + 8]
test ecx, ecx
je 0x46dac0
test eax, eax
jne 0x46da98
call fcn.005e4ae0
mov dword [eax], 0x16
call fcn.005e2c10
jmp 0x46dabd
mov edx, dword [esp + 0xc]
test edx, edx
je 0x46da86
cmp dword [esi + 0x10], ecx
jae 0x46dab2
call fcn.005e4ae0
mov dword [eax], 0x22
jmp 0x46da91
push ecx
push edx
push eax
call fcn.005b5230
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [esi], edi
mov ecx, dword [esi + 0x10]
mov eax, ecx
sub eax, dword [esi + 4]
mov dword [esp + 0xc], ecx
cmp eax, edx
jge 0x46db0e
mov eax, ecx
sub eax, dword [esi + 4]
cmp eax, edx
jge 0x46daee
add eax, 0x1000
add ecx, 0x1000
cmp eax, edx
jl 0x46dadb
mov dword [esp + 0xc], ecx
push ecx
push dword [esi + 0xc]
call fcn.005fc8b0
mov dword [esi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x46dbf0
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi + 0x10]
sub edx, dword [esi]
push dword [ebp + 0xc]
sub edx, ecx
add ecx, dword [esi]
add ecx, dword [esi + 0xc]
call section..text
mov eax, dword [ebp + 0x10]
add dword [esi + 4], eax
pop ecx
pop ecx
mov dword [esp + 0xc], edi
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ecx]
call fcn.0041b472
mov ecx, dword [ebx]
or edx, 0xffffffff
push 0x6e3ce4
mov ecx, dword [ecx]
call fcn.00417a62
pop ecx
mov ecx, dword [ebx]
push 0xffffffffffffffff
push 0xfffffffffffffffe
pop edx
mov ecx, dword [ecx]
call fcn.00418950
pop ecx
mov ecx, dword [ebx]
mov edx, 0x6e3cec
mov ecx, dword [ecx]
call fcn.0041a93d
mov eax, dword [ebx]
xor edx, edx
push edi
inc edx
mov ecx, dword [eax]
call fcn.00416899
pop ecx
test eax, eax
je 0x46db8f
mov eax, dword [ebx]
push str.DynamicBuffer.WriteSink___readable__:
push dword [eax]
call fcn.00458d2e
pop ecx
pop ecx
mov ecx, dword [ebx]
mov ecx, dword [ecx]
call fcn.0041b762
mov ecx, ebx
call fcn.004813e2
test eax, eax
je 0x46dbb7
mov eax, dword [esi + 0xc]
xor edx, edx
push dword [esi + 4]
add eax, dword [esi]
mov ecx, dword [ebx]
push eax
call fcn.00472587
pop ecx
pop ecx
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x46dbc9
mov eax, dword [esp + 0xc]
mov dword [esi + 4], edi
mov dword [esi], edi
jmp 0x46dbde
mov eax, dword [esi + 4]
sub eax, ecx
mov dword [esp + 0xc], eax
test eax, eax
jle 0x46dbe0
add dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edi
test eax, eax
jne 0x46db32
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0xfe
mov esi, 0x58a
push edi
push esi
mov edx, 0x6e3c70
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
push esi
push 0x6e3c98
push 0x6e3cc0
call fcn.00401109
add esp, 0xc
push edi
call fcn.005c3000
int3