Function at 0x4749b0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
xor edx, edx
mov esi, eax
mov eax, 4
mov ecx, 2
push edi
mov ebx, 1
mov edi, 8
push esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
mov dword [esi + 0x7c], edx
call fcn.00474d40
add esp, 4
cmp byte [esi + 0x123], 0
je 0x474a6d
test byte [esi + 0x74], 2
jne 0x474a36
mov eax, dword [esi + 0xd0]
add eax, 7
shr eax, 3
mov dword [esi + 0xd4], eax
jmp 0x474a42
mov ecx, dword [esi + 0xd0]
mov dword [esi + 0xd4], ecx
movzx eax, byte [esi + 0x124]
mov ebp, dword [esi + 0xcc]
add eax, eax
add eax, eax
mov ecx, dword [esp + eax + 0x14]
mov edx, ebp
sub edx, dword [esp + eax + 0x30]
lea eax, [edx + ecx - 1]
xor edx, edx
div ecx
mov dword [esi + 0xe0], eax
jmp 0x474a85
mov eax, dword [esi + 0xd0]
mov ebp, dword [esi + 0xcc]
mov dword [esi + 0xd4], eax
mov dword [esi + 0xe0], ebp
mov ebx, dword [esi + 0x74]
test bl, 4
movzx eax, byte [esi + 0x129]
je 0x474a9f
cmp byte [esi + 0x127], 8
jae 0x474a9f
mov eax, edi
mov edi, ebx
and edi, 0x1000
je 0x474b0b
mov cl, byte [esi + 0x126]
cmp cl, 3
jne 0x474ac9
xor eax, eax
cmp word [esi + 0x11a], ax
setne al
lea eax, [eax*8 + 0x18]
jmp 0x474b0b
test cl, cl
jne 0x474ae5
cmp eax, 8
jge 0x474ad7
mov eax, 8
cmp word [esi + 0x11a], 0
je 0x474b0b
add eax, eax
jmp 0x474b0b
cmp cl, 2
jne 0x474b0b
cmp word [esi + 0x11a], 0
je 0x474b0b
lea ecx, [eax*4]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
mov edx, ebx
and edx, 0x8000
je 0x474b56
mov cl, byte [esi + 0x126]
cmp cl, 3
jne 0x474b27
mov eax, 0x20
jmp 0x474b56
test cl, cl
jne 0x474b3e
xor ecx, ecx
cmp eax, 8
setg cl
sub ecx, 1
and ecx, 0xfffffff0
add ecx, 0x20
jmp 0x474b54
cmp cl, 2
jne 0x474b56
xor ecx, ecx
cmp eax, 0x20
setg cl
sub ecx, 1
and ecx, 0xffffffe0
add ecx, 0x40
mov eax, ecx
test ebx, 0x4000
je 0x474bb5
cmp word [esi + 0x11a], 0
je 0x474b6c
test edi, edi
jne 0x474ba2
test edx, edx
jne 0x474ba2
mov cl, byte [esi + 0x126]
cmp cl, 4
je 0x474ba2
cmp eax, 8
jg 0x474b91
xor eax, eax
cmp cl, 6
sete al
lea eax, [eax*8 + 0x18]
jmp 0x474bb5
sub cl, 6
neg cl
sbb ecx, ecx
and ecx, 0xfffffff0
add ecx, 0x40
mov eax, ecx
jmp 0x474bb5
xor edx, edx
cmp eax, 0x10
setg dl
sub edx, 1
and edx, 0xffffffe0
add edx, 0x40
mov eax, edx
test ebx, 0x100000
je 0x474bce
movzx ecx, byte [esi + 0x69]
movzx edx, byte [esi + 0x68]
imul ecx, edx
cmp ecx, eax
jle 0x474bce
mov eax, ecx
lea ecx, [ebp + 7]
and ecx, 0xfffffff8
cmp eax, 8
jl 0x474be3
mov edx, eax
shr edx, 3
imul edx, ecx
jmp 0x474bee
imul ecx, eax
add ecx, 7
shr ecx, 3
mov edx, ecx
add eax, 7
sar eax, 3
lea eax, [eax + edx + 1]
lea edi, [eax + 0x30]
cmp edi, dword [esi + 0x2a0]
jbe 0x474c58
mov ecx, dword [esi + 0x244]
test ecx, ecx
je 0x474c28
mov eax, dword [esi + 0x240]
test eax, eax
push ecx
je 0x474c20
push esi
call eax
add esp, 8
jmp 0x474c28
call fcn.0047fdbd
add esp, 4
cmp byte [esi + 0x123], 0
je 0x474c3c
mov eax, edi
mov ecx, esi
call fcn.0046f980
jmp 0x474c43
mov ecx, edi
call fcn.0046f9e0
mov dword [esi + 0x244], eax
add eax, 0x20
mov dword [esi + 0xec], eax
mov dword [esi + 0x2a0], edi
mov eax, dword [esi + 0xdc]
cmp eax, 0xfffffffe
jbe 0x474c6f
mov edi, str.Row_has_too_many_bytes_to_allocate_in_memory
mov eax, esi
jmp fcn.004665a0
add eax, 1
cmp eax, dword [esi + 0x2a4]
jbe 0x474cc2
mov ecx, dword [esi + 0xe8]
test ecx, ecx
je 0x474c9f
mov eax, dword [esi + 0x240]
test eax, eax
push ecx
je 0x474c97
push esi
call eax
add esp, 8
jmp 0x474c9f
call fcn.0047fdbd
add esp, 4
mov ecx, dword [esi + 0xdc]
add ecx, 1
call fcn.0046f9e0
mov dword [esi + 0xe8], eax
mov eax, dword [esi + 0xdc]
add eax, 1
mov dword [esi + 0x2a4], eax
mov ecx, dword [esi + 0xe8]
push eax
push 0
push ecx
call fcn.004854b0
add esp, 0xc
or dword [esi + 0x70], 0x40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret