Function at 0x101035d1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x101cd7b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x24]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x40]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], eax
jne 0x10103619
push 0xffffffffffffff9a
pop eax
jmp 0x10103a34
cmp dword [ebp + 0x28], ebx
je 0x10103624
cmp dword [ebp + 0x28], 8
jne 0x10103611
cmp dword [edi + 0x38], 1
jne 0x10103639
push edi
call fcn.10103481
cmp eax, ebx
pop ecx
jne 0x10103a34
cmp dword [ebp - 0x14], ebx
jne 0x10103645
mov dword [ebp - 0x14], 0x1019eb80
cmp dword [ebp - 0x2c], ebx
jne 0x1010364f
mov dword [ebp - 0x18], ebx
jmp 0x1010365b
push dword [ebp - 0x2c]
call fcn.1015d770
pop ecx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
call fcn.1015d770
mov edx, dword [ebp - 0x28]
cmp edx, ebx
pop ecx
mov dword [ebp - 0x20], eax
jne 0x10103676
mov dword [edi + 0x100a4], ebx
jmp 0x10103688
mov eax, dword [edx + 0x18]
cmp eax, ebx
jne 0x10103682
call fcn.10101d61
mov dword [edi + 0x100a4], eax
mov ecx, dword [ebp + 0x2c]
cmp ecx, 8
mov eax, dword [ebp + 0x4c]
mov dword [edi + 0x98], eax
je 0x1010369e
cmp ecx, 9
jne 0x101036a7
or eax, 2
mov dword [edi + 0x98], eax
cmp ecx, 2
jne 0x101036b3
or dword [edi + 0x98], 4
cmp ecx, 1
jne 0x101036bf
or dword [edi + 0x98], 6
cmp dword [ebp - 0x24], ebx
je 0x101036cb
or dword [edi + 0x98], 1
mov eax, dword [ebp + 0x28]
push dword [edi + 0x2c]
mov dword [edi + 0x9c], eax
mov eax, dword [ebp + 0x30]
push edi
mov dword [edi + 0x100a8], ebx
mov dword [edi + 0x100ac], ebx
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], ebx
mov dword [edi + 0xa0], eax
call fcn.10105d81
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x80], eax
mov eax, dword [ebp - 0x20]
add eax, esi
lea eax, [eax + ecx + 0x2e]
mov dword [edi + 0x90], eax
add eax, 0x20
push eax
mov dword [edi + 0x84], edx
mov dword [edi + 0x94], 0x20
call fcn.1015b5de
push ebx
push 0x2014b50
mov dword [edi + 0x8c], esi
push 4
pop esi
mov edx, eax
mov dword [edi + 0x88], eax
call fcn.10101d24
mov edx, dword [edi + 0x88]
push ebx
push dword [ebp + 0x48]
add edx, esi
push 2
pop esi
call fcn.10101d24
mov edx, dword [edi + 0x88]
push ebx
push 0x14
add edx, 6
call fcn.10101d24
mov edx, dword [edi + 0x88]
push ebx
push dword [edi + 0x98]
add edx, 8
call fcn.10101d24
mov edx, dword [edi + 0x88]
push ebx
push dword [edi + 0x9c]
add edx, 0xa
call fcn.10101d24
mov edx, dword [edi + 0x88]
push ebx
push dword [edi + 0x100a4]
add edx, 0xc
push 4
pop esi
call fcn.10101d24
mov edx, dword [edi + 0x88]
push ebx
push ebx
add edx, 0x10
call fcn.10101d24
mov edx, dword [edi + 0x88]
add esp, 0x44
push ebx
push ebx
add edx, 0x14
call fcn.10101d24
mov edx, dword [edi + 0x88]
push ebx
push ebx
add edx, 0x18
call fcn.10101d24
mov edx, dword [edi + 0x88]
push ebx
push dword [ebp - 0x20]
add edx, 0x1c
push 2
pop esi
call fcn.10101d24
mov edx, dword [edi + 0x88]
push ebx
push dword [ebp - 0x1c]
add edx, 0x1e
call fcn.10101d24
mov edx, dword [edi + 0x88]
push ebx
push dword [ebp - 0x18]
add edx, 0x20
call fcn.10101d24
mov edx, dword [edi + 0x88]
push ebx
push ebx
add edx, 0x22
call fcn.10101d24
mov edx, dword [edi + 0x88]
mov eax, dword [ebp - 0x28]
add esp, 0x30
add edx, 0x24
cmp eax, ebx
push ebx
jne 0x10103848
push ebx
call fcn.10101d24
pop ecx
pop ecx
push ebx
push ebx
jmp 0x1010385c
push dword [eax + 0x1c]
push 2
pop esi
call fcn.10101d24
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
push ebx
push dword [eax + 0x20]
mov edx, dword [edi + 0x88]
push 4
pop esi
add edx, 0x26
call fcn.10101d24
cmp dword [edi + 0x84], ebx
pop ecx
pop ecx
ja 0x10103880
cmp dword [edi + 0x80], 0xffffffff
jb 0x10103885
push ebx
push 0xffffffffffffffff
jmp 0x1010389b
mov eax, dword [edi + 0x80]
xor ecx, ecx
sub eax, dword [edi + 0x100f0]
sbb ecx, dword [edi + 0x100f4]
push ecx
push eax
mov edx, dword [edi + 0x88]
push 4
pop esi
add edx, 0x2a
call fcn.10101d24
mov esi, dword [ebp - 0x20]
pop ecx
xor eax, eax
cmp esi, ebx
pop ecx
jbe 0x101038cc
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + eax]
mov ecx, dword [edi + 0x88]
mov byte [ecx + eax + 0x2e], dl
inc eax
cmp eax, esi
jb 0x101038b7
xor eax, eax
cmp dword [ebp - 0x1c], ebx
jbe 0x101038eb
mov ecx, dword [edi + 0x88]
mov edx, dword [ebp + 0x1c]
mov dl, byte [eax + edx]
add ecx, eax
inc eax
cmp eax, dword [ebp - 0x1c]
mov byte [ecx + esi + 0x2e], dl
jb 0x101038d3
xor eax, eax
cmp dword [ebp - 0x18], ebx
jbe 0x1010390d
mov ecx, dword [edi + 0x88]
add ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov dl, byte [edx + eax]
add ecx, eax
inc eax
cmp eax, dword [ebp - 0x18]
mov byte [ecx + esi + 0x2e], dl
jb 0x101038f2
cmp dword [edi + 0x88], ebx
jne 0x1010391c
push 0xffffffffffffff98
jmp 0x10103613
push dword [ebp - 0x30]
mov eax, dword [ebp + 0x50]
push dword [ebp + 0x18]
mov dword [edi + 0x100b0], eax
push dword [ebp - 0x14]
mov dword [edi + 0x100c0], ebx
push edi
mov dword [edi + 0x100c4], ebx
mov dword [edi + 0x100c8], ebx
mov dword [edi + 0x100cc], ebx
mov dword [edi + 0x100b8], ebx
mov dword [edi + 0x100bc], ebx
call fcn.1010297e
mov esi, eax
add esp, 0x10
cmp esi, ebx
lea eax, [edi + 0xa4]
mov dword [edi + 0x44], ebx
mov dword [edi + 0x50], 0x10000
mov dword [edi + 0x4c], eax
mov dword [edi + 0x48], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x6c], ebx
jne 0x101039cd
cmp dword [edi + 0x9c], 8
jne 0x101039cd
cmp dword [edi + 0xa0], ebx
jne 0x101039cd
cmp dword [ebp + 0x34], ebx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
jle 0x1010399f
neg dword [ebp + 0x34]
push 0x38
push 0x1019eb24
push dword [ebp + 0x3c]
lea eax, [edi + 0x40]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push 8
push dword [ebp + 0x2c]
push eax
call fcn.101078c3
mov esi, eax
add esp, 0x20
cmp esi, ebx
jne 0x101039cd
mov dword [edi + 0x78], 8
cmp esi, ebx
mov dword [edi + 0x100e0], ebx
jne 0x10103a32
cmp dword [ebp - 0x24], ebx
je 0x10103a2b
mov dword [edi + 0x100ac], 1
call fcn.10105ebb
push dword [ebp + 0x44]
mov ecx, dword [ebp - 0x24]
push eax
mov dword [edi + 0x100dc], eax
lea eax, [ebp - 0x10]
push 0xc
lea edx, [edi + 0x100d0]
push eax
call fcn.10101a9d
mov ebx, eax
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x2c]
mov dword [edi + 0x100e0], ebx
push dword [edi + 0x1c]
call dword [edi + 8]
add esp, 0x20
cmp eax, ebx
je 0x10103a2b
or esi, 0xffffffff
jmp 0x10103a32
mov dword [edi + 0x38], 1
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101593ee
leave
ret