Function at 0x4422bcf5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x442bd0c0]
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
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], eax
cmp edi, ebx
jne 0x4422bd3d
push 0xffffffffffffff9a
pop eax
jmp 0x4422c159
cmp dword [ebp + 0x28], ebx
je 0x4422bd48
cmp dword [ebp + 0x28], 8
jne 0x4422bd35
cmp dword [edi + 0x38], 1
jne 0x4422bd5d
push edi
call fcn.4422bb8c
pop ecx
cmp eax, ebx
jne 0x4422c159
cmp dword [ebp - 0x14], ebx
jne 0x4422bd69
mov dword [ebp - 0x14], 0x44289a98
cmp dword [ebp - 0x2c], ebx
jne 0x4422bd73
mov dword [ebp - 0x18], ebx
jmp 0x4422bd7f
push dword [ebp - 0x2c]
call sub.MSVCR90.dll_strlen
pop ecx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
call sub.MSVCR90.dll_strlen
mov edx, dword [ebp - 0x28]
pop ecx
mov dword [ebp - 0x20], eax
cmp edx, ebx
jne 0x4422bd9a
mov dword [edi + 0x100a4], ebx
jmp 0x4422bdac
mov eax, dword [edx + 0x18]
cmp eax, ebx
jne 0x4422bda6
call fcn.4422a42f
mov dword [edi + 0x100a4], eax
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x4c]
mov dword [edi + 0x98], eax
cmp ecx, 8
je 0x4422bdc2
cmp ecx, 9
jne 0x4422bdcb
or eax, 2
mov dword [edi + 0x98], eax
cmp ecx, 2
jne 0x4422bdd7
or dword [edi + 0x98], 4
cmp ecx, 1
jne 0x4422bde3
or dword [edi + 0x98], 6
cmp dword [ebp - 0x24], ebx
je 0x4422bdef
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.4421b23e
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 dword [sym.imp.MSVCR90.dll_malloc]
push ebx
push 0x2014b50
mov dword [edi + 0x8c], esi
push 4
pop esi
mov edx, eax
mov dword [edi + 0x88], eax
call fcn.4422a3f2
mov edx, dword [edi + 0x88]
push ebx
push dword [ebp + 0x48]
add edx, esi
push 2
pop esi
call fcn.4422a3f2
mov edx, dword [edi + 0x88]
push ebx
push 0x14
add edx, 6
call fcn.4422a3f2
mov edx, dword [edi + 0x88]
push ebx
push dword [edi + 0x98]
add edx, 8
call fcn.4422a3f2
mov edx, dword [edi + 0x88]
push ebx
push dword [edi + 0x9c]
add edx, 0xa
call fcn.4422a3f2
mov edx, dword [edi + 0x88]
push ebx
push dword [edi + 0x100a4]
add edx, 0xc
push 4
pop esi
call fcn.4422a3f2
mov edx, dword [edi + 0x88]
push ebx
push ebx
add edx, 0x10
call fcn.4422a3f2
mov edx, dword [edi + 0x88]
add esp, 0x44
push ebx
push ebx
add edx, 0x14
call fcn.4422a3f2
mov edx, dword [edi + 0x88]
push ebx
push ebx
add edx, 0x18
call fcn.4422a3f2
mov edx, dword [edi + 0x88]
push ebx
push dword [ebp - 0x20]
add edx, 0x1c
push 2
pop esi
call fcn.4422a3f2
mov edx, dword [edi + 0x88]
push ebx
push dword [ebp - 0x1c]
add edx, 0x1e
call fcn.4422a3f2
mov edx, dword [edi + 0x88]
push ebx
push dword [ebp - 0x18]
add edx, 0x20
call fcn.4422a3f2
mov edx, dword [edi + 0x88]
push ebx
push ebx
add edx, 0x22
call fcn.4422a3f2
mov edx, dword [edi + 0x88]
mov eax, dword [ebp - 0x28]
add esp, 0x30
add edx, 0x24
push ebx
cmp eax, ebx
jne 0x4422bf6d
push ebx
call fcn.4422a3f2
pop ecx
pop ecx
push ebx
push ebx
jmp 0x4422bf81
push dword [eax + 0x1c]
push 2
pop esi
call fcn.4422a3f2
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.4422a3f2
pop ecx
pop ecx
cmp dword [edi + 0x84], ebx
ja 0x4422bfa5
cmp dword [edi + 0x80], 0xffffffff
jb 0x4422bfaa
push ebx
push 0xffffffffffffffff
jmp 0x4422bfc0
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.4422a3f2
mov esi, dword [ebp - 0x20]
pop ecx
xor eax, eax
pop ecx
cmp esi, ebx
jbe 0x4422bff1
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 0x4422bfdc
xor eax, eax
cmp dword [ebp - 0x1c], ebx
jbe 0x4422c010
mov ecx, dword [edi + 0x88]
mov edx, dword [ebp + 0x1c]
mov dl, byte [eax + edx]
add ecx, eax
inc eax
mov byte [ecx + esi + 0x2e], dl
cmp eax, dword [ebp - 0x1c]
jb 0x4422bff8
xor eax, eax
cmp dword [ebp - 0x18], ebx
jbe 0x4422c032
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
mov byte [ecx + esi + 0x2e], dl
cmp eax, dword [ebp - 0x18]
jb 0x4422c017
cmp dword [edi + 0x88], ebx
jne 0x4422c041
push 0xffffffffffffff98
jmp 0x4422bd37
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.4422b088
mov esi, eax
add esp, 0x10
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
cmp esi, ebx
jne 0x4422c0f2
cmp dword [edi + 0x9c], 8
jne 0x4422c0f2
cmp dword [edi + 0xa0], ebx
jne 0x4422c0f2
cmp dword [ebp + 0x34], ebx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
jle 0x4422c0c4
neg dword [ebp + 0x34]
push 0x38
push str.1.2.5
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.44210676
mov esi, eax
add esp, 0x20
cmp esi, ebx
jne 0x4422c0f2
mov dword [edi + 0x78], 8
mov dword [edi + 0x100e0], ebx
cmp esi, ebx
jne 0x4422c157
cmp dword [ebp - 0x24], ebx
je 0x4422c150
mov dword [edi + 0x100ac], 1
call fcn.4420ec77
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.4422a194
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 0x4422c150
or esi, 0xffffffff
jmp 0x4422c157
mov dword [edi + 0x38], 1
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4427cc16
leave
ret