Function at 0x10103d64
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 0x10103dac
push 0xffffffffffffff9a
pop eax
jmp 0x101041c7
cmp dword [ebp + 0x28], ebx
je 0x10103db7
cmp dword [ebp + 0x28], 8
jne 0x10103da4
cmp dword [edi + 0x38], 1
jne 0x10103dcc
push edi
call fcn.10103c14
cmp eax, ebx
pop ecx
jne 0x101041c7
cmp dword [ebp - 0x14], ebx
jne 0x10103dd8
mov dword [ebp - 0x14], 0x1019eb90
cmp dword [ebp - 0x2c], ebx
jne 0x10103de2
mov dword [ebp - 0x18], ebx
jmp 0x10103dee
push dword [ebp - 0x2c]
call fcn.1015e340
pop ecx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
call fcn.1015e340
mov edx, dword [ebp - 0x28]
cmp edx, ebx
pop ecx
mov dword [ebp - 0x20], eax
jne 0x10103e09
mov dword [edi + 0x100a4], ebx
jmp 0x10103e1b
mov eax, dword [edx + 0x18]
cmp eax, ebx
jne 0x10103e15
call fcn.101024f4
mov dword [edi + 0x100a4], eax
mov ecx, dword [ebp + 0x2c]
cmp ecx, 8
mov eax, dword [ebp + 0x4c]
mov dword [edi + 0x98], eax
je 0x10103e31
cmp ecx, 9
jne 0x10103e3a
or eax, 2
mov dword [edi + 0x98], eax
cmp ecx, 2
jne 0x10103e46
or dword [edi + 0x98], 4
cmp ecx, 1
jne 0x10103e52
or dword [edi + 0x98], 6
cmp dword [ebp - 0x24], ebx
je 0x10103e5e
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.10106514
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.1015c1ae
push ebx
push 0x2014b50
mov dword [edi + 0x8c], esi
push 4
pop esi
mov edx, eax
mov dword [edi + 0x88], eax
call fcn.101024b7
mov edx, dword [edi + 0x88]
push ebx
push dword [ebp + 0x48]
add edx, esi
push 2
pop esi
call fcn.101024b7
mov edx, dword [edi + 0x88]
push ebx
push 0x14
add edx, 6
call fcn.101024b7
mov edx, dword [edi + 0x88]
push ebx
push dword [edi + 0x98]
add edx, 8
call fcn.101024b7
mov edx, dword [edi + 0x88]
push ebx
push dword [edi + 0x9c]
add edx, 0xa
call fcn.101024b7
mov edx, dword [edi + 0x88]
push ebx
push dword [edi + 0x100a4]
add edx, 0xc
push 4
pop esi
call fcn.101024b7
mov edx, dword [edi + 0x88]
push ebx
push ebx
add edx, 0x10
call fcn.101024b7
mov edx, dword [edi + 0x88]
add esp, 0x44
push ebx
push ebx
add edx, 0x14
call fcn.101024b7
mov edx, dword [edi + 0x88]
push ebx
push ebx
add edx, 0x18
call fcn.101024b7
mov edx, dword [edi + 0x88]
push ebx
push dword [ebp - 0x20]
add edx, 0x1c
push 2
pop esi
call fcn.101024b7
mov edx, dword [edi + 0x88]
push ebx
push dword [ebp - 0x1c]
add edx, 0x1e
call fcn.101024b7
mov edx, dword [edi + 0x88]
push ebx
push dword [ebp - 0x18]
add edx, 0x20
call fcn.101024b7
mov edx, dword [edi + 0x88]
push ebx
push ebx
add edx, 0x22
call fcn.101024b7
mov edx, dword [edi + 0x88]
mov eax, dword [ebp - 0x28]
add esp, 0x30
add edx, 0x24
cmp eax, ebx
push ebx
jne 0x10103fdb
push ebx
call fcn.101024b7
pop ecx
pop ecx
push ebx
push ebx
jmp 0x10103fef
push dword [eax + 0x1c]
push 2
pop esi
call fcn.101024b7
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.101024b7
cmp dword [edi + 0x84], ebx
pop ecx
pop ecx
ja 0x10104013
cmp dword [edi + 0x80], 0xffffffff
jb 0x10104018
push ebx
push 0xffffffffffffffff
jmp 0x1010402e
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.101024b7
mov esi, dword [ebp - 0x20]
pop ecx
xor eax, eax
cmp esi, ebx
pop ecx
jbe 0x1010405f
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 0x1010404a
xor eax, eax
cmp dword [ebp - 0x1c], ebx
jbe 0x1010407e
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 0x10104066
xor eax, eax
cmp dword [ebp - 0x18], ebx
jbe 0x101040a0
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 0x10104085
cmp dword [edi + 0x88], ebx
jne 0x101040af
push 0xffffffffffffff98
jmp 0x10103da6
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.10103111
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 0x10104160
cmp dword [edi + 0x9c], 8
jne 0x10104160
cmp dword [edi + 0xa0], ebx
jne 0x10104160
cmp dword [ebp + 0x34], ebx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
jle 0x10104132
neg dword [ebp + 0x34]
push 0x38
push 0x1019eb34
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.10108056
mov esi, eax
add esp, 0x20
cmp esi, ebx
jne 0x10104160
mov dword [edi + 0x78], 8
cmp esi, ebx
mov dword [edi + 0x100e0], ebx
jne 0x101041c5
cmp dword [ebp - 0x24], ebx
je 0x101041be
mov dword [edi + 0x100ac], 1
call fcn.1010664e
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.10102230
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 0x101041be
or esi, 0xffffffff
jmp 0x101041c5
mov dword [edi + 0x38], 1
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10159cce
leave
ret