Function at 0x45d2bd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x4b900c]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x64], 0
and dword [ebp - 0x74], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edx, ecx
mov dword [ebp - 0x78], esi
push 6
pop ecx
lea edi, [ebp - 0x24]
mov dword [ebp - 0x6c], ebx
mov eax, dword [edx]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x30]
mov esi, eax
mov dword [ebp - 0x68], edx
mov edi, dword [esi + 0x2c]
test edi, edi
jne 0x45d8c2
cmp dword [esi + 0x38], edi
jne 0x45d8c2
mov edi, edx
mov ecx, edi
call fcn.0045cd1f
mov dl, byte [ebp - 0x24]
mov ecx, eax
mov dword [ebp - 0x5c], ecx
cmp dl, 0xc
jne 0x45d33d
mov eax, dword [ebx]
push dword [eax]
push dword [ebp - 0x20]
push 0x6e
pop edx
call fcn.00436721
pop ecx
mov dl, 0xe
pop ecx
mov byte [ebp - 0x24], dl
test dword [ebx + 8], 0x400
je 0x45d35c
lea eax, [ebp - 0x24]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0045d23f
pop ecx
mov dword [ebp - 0x64], eax
jmp 0x45d8f1
test dword [ebx + 8], 0x2000
je 0x45d378
lea eax, [ebp - 0x24]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0045cf5f
pop ecx
jmp 0x45d7f2
cmp dword [ebx + 0x2c], 0
je 0x45d391
mov ecx, dword [ebp - 0x78]
mov edx, ebx
push ecx
mov ecx, edi
call fcn.0045dbc9
pop ecx
jmp 0x45d90e
cmp dword [esi + 0x30], 0
jne 0x45d3ba
push 0x4b054c
push 1
push edi
call fcn.0043687e
add esp, 0xc
push 0x4b055c
push 1
push edi
call fcn.0043687e
mov dl, byte [ebp - 0x24]
add esp, 0xc
movzx eax, byte [ebx + 4]
sub eax, 0x74
je 0x45d668
sub eax, 1
je 0x45d56e
sub eax, 1
je 0x45d668
mov ecx, dword [edi + 0x28]
push 0
push ecx
mov dword [ebp - 0x58], ecx
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
inc eax
push 0x6e
pop edx
mov dword [edi + 0x28], eax
call fcn.00436721
mov ecx, ebx
mov dword [ebx + 0x14], eax
call fcn.0045b1b3
push dword [ebp - 0x58]
xor edx, edx
lea ecx, [ebp - 0x3c]
inc edx
or dword [eax + 8], 0x20
call fcn.0045b0ac
add esp, 0xc
mov eax, ecx
mov edx, esi
mov ecx, edi
push eax
call fcn.0045fbf7
mov dword [ebp - 0x64], eax
pop ecx
test eax, eax
jne 0x45d8f1
mov ecx, dword [ebp - 0x5c]
push eax
push dword [ebp - 0x60]
push 0x6e
pop edx
call fcn.00436721
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x38]
movzx ecx, byte [ebx + 4]
and dword [ebx + 0x30], 0
and dword [ebx + 0x38], 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x38], eax
call fcn.0045c2de
push eax
push 0x4b0570
push 1
push edi
call fcn.0043687e
lea eax, [ebp - 0x3c]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0045fbf7
mov dword [ebp - 0x64], eax
add esp, 0x1c
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x74], eax
mov dword [ebx + 0x30], esi
movzx eax, word [esi + 6]
cmp word [ebx + 6], ax
jle 0x45d495
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebp - 0x70]
call fcn.004456e4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x5c]
mov dword [ebx + 0x38], eax
call fcn.0043696d
mov ecx, dword [ebp - 0x5c]
mov esi, eax
mov dword [ebp - 0xc], esi
call fcn.0043696d
mov edx, dword [ebp - 0x6c]
mov ecx, edi
push esi
mov ebx, eax
call fcn.0045cd3f
pop ecx
mov ecx, dword [ebp - 0x5c]
push esi
push dword [ebp - 0x58]
push 0x25
pop edx
call fcn.00436721
mov ecx, edi
call fcn.00449971
mov ecx, dword [ebp - 0x5c]
mov esi, eax
push esi
push dword [ebp - 0x58]
push 0x7c
pop edx
call fcn.00436721
mov ecx, dword [ebp - 0x5c]
mov edi, eax
push 0
push esi
push ebx
push dword [ebp - 0x60]
push 0x1d
pop edx
call fcn.0043691e
mov ecx, dword [ebp - 0x68]
mov edx, esi
call fcn.00449990
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x6c]
push esi
push ebx
push eax
push 0
push 0
push dword [ebp - 0x58]
call fcn.0045ba8c
mov edx, ebx
mov ebx, dword [ebp - 0x5c]
mov ecx, ebx
call fcn.004369af
push edi
mov edi, dword [ebp - 0x58]
push edi
push 7
pop edx
call fcn.00436721
add esp, 0x40
mov edx, esi
mov ecx, ebx
call fcn.004369af
push 0
lea eax, [edi + 1]
push eax
push 0x72
pop edx
call fcn.00436721
push 0
push edi
push 0x72
pop edx
mov ecx, ebx
call fcn.00436721
add esp, 0x10
jmp 0x45d7df
xor eax, eax
mov edx, esi
mov dword [ebp - 0x60], eax
mov ecx, edi
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0045fbf7
and dword [ebx + 0x38], 0
mov dword [ebp - 0x64], eax
pop ecx
test eax, eax
jne 0x45d8f1
and dword [ebx + 0x30], eax
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
test ecx, ecx
je 0x45d5e2
push ecx
mov ecx, dword [ebp - 0x5c]
push 0x16
pop edx
call fcn.0043670d
pop ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x60], eax
test ecx, ecx
je 0x45d5e2
push ecx
inc ecx
mov edx, 0x95
push ecx
push dword [ebx + 0xc]
mov ecx, dword [ebp - 0x5c]
call fcn.0043669d
add esp, 0xc
push 0x4b0458
push 1
push edi
call fcn.0043687e
add esp, 0xc
lea eax, [ebp - 0x24]
mov edx, ebx
mov ecx, edi
push eax
call fcn.0045fbf7
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x30]
pop ecx
mov cx, word [ebx + 6]
mov dword [ebx + 0x30], esi
mov dx, word [esi + 6]
mov dword [ebp - 0x74], eax
call fcn.00421c75
mov word [ebx + 6], ax
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x45d64e
mov ecx, dword [ecx + 0xc]
lea edx, [ebp - 0xc]
call fcn.00446354
test eax, eax
je 0x45d64e
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x45d64e
cdq
push edx
push eax
call fcn.00421cd5
pop ecx
pop ecx
cmp word [ebx + 6], ax
jle 0x45d64e
mov word [ebx + 6], ax
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x45d7e5
mov ecx, dword [ebp - 0x5c]
mov edx, eax
call fcn.00436c48
jmp 0x45d7e5
cmp dl, 1
jne 0x45d675
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
jmp 0x45d6a2
mov ecx, dword [edi + 0x28]
push 0
push ecx
mov dword [ebp - 0x58], ecx
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x5c]
push 0x6e
pop edx
mov dword [edi + 0x28], eax
call fcn.00436721
pop ecx
pop ecx
mov ecx, ebx
mov dword [ebx + 0x14], eax
call fcn.0045b1b3
or dword [eax + 8], 0x20
mov eax, dword [ebp - 0x58]
xor edx, edx
lea ecx, [ebp - 0x54]
push eax
inc edx
call fcn.0045b0ac
add esp, 4
mov eax, ecx
mov edx, esi
mov ecx, edi
push eax
call fcn.0045fbf7
mov dword [ebp - 0x64], eax
pop ecx
test eax, eax
jne 0x45d8f1
and dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x38]
and dword [ebx + 0x38], 0
cmp byte [ebx + 4], 0x76
movzx ecx, byte [ebx + 4]
mov dword [ebp - 0xc], eax
sete al
inc al
mov byte [ebp - 0x54], al
call fcn.0045c2de
push eax
push 0x4b0570
push 1
push edi
call fcn.0043687e
lea eax, [ebp - 0x54]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0045fbf7
mov edx, dword [ebx + 0x2c]
add esp, 0x14
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
call fcn.0044611f
mov eax, dword [ebx + 0x30]
and dword [ebx + 0x2c], 0
cmp byte [ebx + 4], 0x74
mov dword [ebp - 0x74], eax
mov dword [ebx + 0x30], esi
jne 0x45d73b
mov dx, word [esi + 6]
mov cx, word [ebx + 6]
call fcn.00421c75
mov word [ebx + 6], ax
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebp - 0x70]
call fcn.004456e4
and dword [ebx + 0xc], 0
and dword [ebx + 0x10], 0
cmp byte [ebp - 0x24], 1
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x38], eax
je 0x45d7e5
mov esi, dword [ebp - 0x5c]
mov ecx, esi
call fcn.0043696d
mov ecx, esi
mov ebx, eax
call fcn.0043696d
mov edx, dword [ebp - 0x6c]
mov edi, eax
mov ecx, dword [ebp - 0x68]
push ebx
call fcn.0045cd3f
pop ecx
push ebx
push dword [ebp - 0x58]
mov ecx, esi
push 0x25
pop edx
call fcn.00436721
mov ecx, esi
call fcn.00436b11
mov edx, dword [ebp - 0x6c]
mov esi, eax
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x24]
push ebx
push edi
push eax
push 0
push 0
push dword [ebp - 0x58]
call fcn.0045ba8c
mov edx, edi
mov edi, dword [ebp - 0x5c]
mov ecx, edi
call fcn.004369af
push esi
mov esi, dword [ebp - 0x58]
push esi
push 7
pop edx
call fcn.00436721
mov edx, ebx
mov ecx, edi
call fcn.004369af
push 0
push esi
push 0x72
pop edx
call fcn.00436721
add esp, 0x30
mov edi, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x6c]
cmp dword [ebx + 0x34], 0
jne 0x45d7f2
mov ecx, edi
call fcn.004368d2
test byte [ebx + 8], 0x20
je 0x45d8f1
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x70]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [ebp - 0x58], eax
call fcn.0045c1c4
mov dword [ebp - 0x68], eax
pop ecx
test eax, eax
jne 0x45d823
mov dword [ebp - 0x64], 7
jmp 0x45d8f1
mov ecx, dword [ebp - 0x58]
lea esi, [eax + 0x14]
xor eax, eax
mov dword [ebp - 0x60], eax
test ecx, ecx
jle 0x45d85c
push eax
mov edx, ebx
mov ecx, edi
call fcn.0045ce62
mov dword [esi], eax
pop ecx
test eax, eax
jne 0x45d84b
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x60]
add esi, 4
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x60], eax
cmp eax, ecx
jl 0x45d832
and dword [ebp - 0x60], 0
lea edi, [ebx + 0x14]
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x68]
mov eax, dword [edi]
mov dword [ebp - 0x7c], eax
test eax, eax
js 0x45d8a8
push ecx
mov edx, eax
mov ecx, esi
call fcn.00436c10
pop ecx
push 0xfffffffffffffff7
mov ecx, ebx
call fcn.0045c252
mov edx, dword [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00436e52
or dword [edi], 0xffffffff
add edi, 4
mov edx, dword [ebp - 0x60]
pop ecx
inc edx
mov dword [ebp - 0x60], edx
pop ecx
mov ecx, dword [ebp - 0x58]
cmp edx, 2
jl 0x45d869
mov ebx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebx + 0x30]
mov dword [ebp - 0x6c], ebx
test ebx, ebx
jne 0x45d85c
mov ecx, dword [ebp - 0x68]
call fcn.0045c23e
jmp 0x45d8f1
movzx ecx, byte [ebx + 4]
call fcn.0045c2de
push eax
mov ecx, 0x4b0518
test edi, edi
mov eax, 0x4b050c
cmove eax, ecx
push eax
push 0x4b0520
push edx
call fcn.00420c98
add esp, 0x10
mov dword [ebp - 0x64], 1
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x74]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x70]
call fcn.0045b19d
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476874
mov esp, ebp
pop ebp
ret