Function at 0x40e4ab
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040d205
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov edx, dword [esi]
mov ecx, dword [ebx]
shr edx, 1
call fcn.0040d43a
mov edx, dword [esi + 4]
mov ecx, dword [ebx + 4]
shr edx, 1
mov dword [0x4c8074], eax
call fcn.0040d43a
mov edx, dword [esi + 8]
mov ecx, dword [ebx + 8]
shr edx, 1
mov dword [0x4c7f98], eax
call fcn.0040d43a
mov edx, dword [esi + 0xc]
mov ecx, dword [ebx + 0xc]
shr edx, 1
mov dword [0x4c8010], eax
call fcn.0040d43a
mov edx, dword [esi + 0x10]
mov ecx, dword [ebx + 0x10]
shr edx, 1
mov dword [0x4c8054], eax
call fcn.0040d43a
mov edx, dword [esi + 0x14]
mov ecx, dword [ebx + 0x14]
shr edx, 1
mov dword [0x4c8028], eax
call fcn.0040d43a
mov edx, dword [esi + 0x18]
mov ecx, dword [ebx + 0x18]
shr edx, 1
mov dword [0x4c8024], eax
call fcn.0040d43a
mov edx, dword [esi + 0x1c]
mov ecx, dword [ebx + 0x1c]
mov dword [0x4c8040], eax
call fcn.0040d403
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xc], eax
xor esi, esi
mov edx, 0x4843f8
push ecx
mov ecx, eax
mov dword [0x4c8060], esi
mov dword [0x4c7fdc], esi
call fcn.0040d474
pop ecx
mov ebx, eax
pop ecx
mov dword [ebp - 4], ebx
cmp byte [ebx], 0
jne 0x40e582
push ebx
call fcn.00436cda
jmp 0x40e6d3
mov eax, dword [0x4c7fdc]
xor ecx, ecx
push 0x14
pop edx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [0x4c8060]
call fcn.0042e7bb
pop ecx
pop ecx
test eax, eax
je 0x40e74e
imul ecx, dword [0x4c7fdc], 0x14
mov dword [0x4c8060], eax
mov dword [ecx + eax], esi
mov dword [ecx + eax + 4], esi
mov dword [ecx + eax + 8], esi
mov dword [ecx + eax + 0xc], esi
mov dword [ecx + eax + 0x10], esi
lea ecx, [ebx + 1]
cmp byte [ebx], 0xa
je 0x40e5d5
mov ecx, ebx
lea eax, [ebp - 0x10]
mov edx, 0x484414
push eax
call fcn.0040d474
pop ecx
mov ebx, eax
imul edi, dword [0x4c7fdc], 0x14
xor ecx, ecx
mov esi, dword [0x4c8060]
push 4
pop edx
mov eax, dword [edi + esi + 0x10]
inc eax
mov dword [ebp - 8], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [edi + esi]
call fcn.0042e7bb
pop ecx
pop ecx
test eax, eax
je 0x40e74e
imul edi, dword [0x4c7fdc], 0x14
xor ecx, ecx
mov esi, dword [0x4c8060]
push 4
pop edx
mov dword [edi + esi], eax
mov eax, dword [ebp - 8]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [edi + esi + 4]
call fcn.0042e7bb
pop ecx
pop ecx
test eax, eax
je 0x40e74e
imul edx, dword [0x4c7fdc], 0x14
mov esi, dword [0x4c8060]
mov dword [edx + esi + 4], eax
mov ecx, dword [edx + esi + 0x10]
mov eax, dword [edx + esi]
mov dword [eax + ecx*4], ebx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x40e66f
mov eax, dword [edx + esi + 4]
sub ebx, ecx
mov ecx, dword [edx + esi + 0x10]
mov dword [eax + ecx*4], ebx
mov ecx, dword [edx + esi + 0x10]
mov eax, dword [edx + esi + 4]
mov eax, dword [eax + ecx*4]
add dword [edx + esi + 8], eax
mov eax, dword [edx + esi]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 0
jne 0x40e6a1
inc dword [edx + esi + 0xc]
lea eax, [ecx + 1]
xor ecx, ecx
mov dword [edx + esi + 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov edx, 0x484414
call fcn.0040d474
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x40e5e6
push dword [ebp - 4]
call fcn.00436cda
inc dword [0x4c7fdc]
xor esi, esi
pop ecx
lea eax, [ebp - 0x14]
mov edx, 0x4843f8
push eax
xor ecx, ecx
call fcn.0040d474
mov ebx, eax
mov dword [ebp - 4], eax
pop ecx
test ebx, ebx
jne 0x40e572
push dword [ebp - 0xc]
call fcn.00436cda
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov esi, dword [esi + 0x20]
mov ebx, dword [ebx + 0x20]
push esi
call fcn.00436cf5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x40e71f
push esi
push ebx
push edi
call fcn.0042db80
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov dword [0x4c8068], edi
mov dword [0x4c86d4], esi
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x24]
call fcn.0040d403
lea ecx, [ebp - 0x28]
mov dword [0x4c808c], eax
call fcn.0040d2a1
pop edi
pop esi
pop ebx
leave
ret
push 2
call fcn.0043719b
push eax
push str.InitRsrcData:_realloc_n
call fcn.004372c5
add esp, 0xc
push 1
call fcn.004370bd
int3