Function at 0x56d71c
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
push edi
push 0x101d1b94
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [ecx]
lea ecx, [edx + eax*4]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [edx]
sub ecx, eax
push ecx
mov dword [esp + 0x24], 0
call fcn.0056ca0c
add dword [esi], eax
mov eax, dword [0x101d1b94]
add esp, 0x14
test eax, eax
jne 0x56d778
push 0x10089710
call fcn.005b5f54
add esp, 4
mov dword [0x101d1b94], eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x56d786
mov dword [0x101d1b98], ecx
mov edi, dword [esp + 0x14]
test edi, edi
je 0x56d794
mov dword [0x101d1b90], edi
test eax, eax
mov esi, dword [esp + 0x2c]
je 0x56d89b
cmp esi, 0x1000ed90
jne 0x56d89b
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56d7af
mov ebp, dword [esp + 0x30]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp]
sub eax, edx
mov edx, dword [esi]
mov dword [esp + 0x24], eax
lea eax, [edx*8 + 4]
push eax
push ecx
mov dword [esp + 0x30], esi
call fcn.0056b93c
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x20], edi
je 0x56d998
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
jbe 0x56d881
mov edx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x24], edx
mov eax, dword [esi + 8]
mov eax, dword [eax + ebx*4]
mov dword [edi + ebx*4], eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56d80c
mov ecx, dword [esp + 0x24]
sub eax, edx
mov edx, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [edx]
add ecx, ebp
push ecx
push eax
call fcn.0056b93c
add esp, 8
test eax, eax
je 0x56d998
mov ecx, dword [esi]
add ecx, ebx
mov dword [edi + ecx*4], eax
mov esi, dword [edi + ebx*4]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov esi, dword [0x101d1b94]
lea edi, [eax + ebp]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov edi, dword [esp + 0x20]
inc ebx
cmp ebx, eax
mov esi, ecx
jb 0x56d800
mov ebp, dword [esp + 0x30]
mov eax, dword [esi]
shl eax, 1
mov dword [esi + 8], edi
mov dword [esi], eax
mov esi, dword [esp + 0x2c]
mov dword [edi + eax*4], 0
mov edi, dword [esp + 0x14]
jmp 0x56d89f
mov ebp, dword [esp + 0x30]
test edi, edi
je 0x56d8ce
push 0
push edi
push 0x10088443
push 0x10088443
push ebp
push esi
call fcn.0056cddc
add esp, 0x18
test eax, eax
mov dword [esp + 0x10], eax
jl 0x56d998
jle 0x56d8f7
push edi
jmp 0x56d986
mov edi, dword [esp + 0x1c]
push edi
call fcn.005754ac
add esp, 4
test eax, eax
je 0x56d903
push ebp
push esi
xor ebx, ebx
call fcn.0056d6ac
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jl 0x56d998
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [0x101d3720]
test eax, eax
mov edi, 0x101d3720
mov dword [esp + 0x28], edi
je 0x56d8f7
lea esp, [esp]
mov ebx, dword [edi]
cmp byte [ebx], 0
je 0x56d93b
mov edi, dword [esp + 0x1c]
push ebp
push esi
call fcn.0056d6ac
add esp, 8
test eax, eax
jl 0x56d998
mov edi, dword [esp + 0x28]
jmp 0x56d965
mov eax, dword [0x101d1b98]
test eax, eax
je 0x56d965
push 0
push eax
push 0x10088443
push 0x10088443
push ebp
push esi
call fcn.0056cddc
add esp, 0x18
test eax, eax
mov dword [esp + 0x10], eax
jl 0x56d998
jg 0x56d97f
mov eax, dword [edi + 4]
add edi, 4
test eax, eax
mov dword [esp + 0x28], edi
jne 0x56d91c
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [0x101d1b98]
push edx
push 0x100896e4
push 0x1019c808
call fcn.005b4c99
add esp, 0xc
push 0x100896b0
push 0x1019c808
call fcn.005b4c99
add esp, 8
push 1
call fcn.005b6138
int3