Function at 0x45fc70
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x55958c
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0x458], eax
push esi
push edi
mov eax, dword [0x586220]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov ecx, dword [0x58ac50]
mov esi, dword [esp + 0x47c]
mov dword [esp + 0x2c], esi
test cl, 1
jne 0x460449
xorps xmm0, xmm0
mov dword [0x58ac6c], 0
movdqu xmmword [esp + 0x50], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [0x58ac54]
mov esi, dword [0x57e2c0]
shr eax, 0x1f
mov dword [esp + 0x470], 0
test al, 1
je 0x45fd37
call esi
mov dword [esp + 0x58], eax
call dword [0x57e27c]
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x50]
mov eax, dword [0x58ac54]
and eax, 0x3fffffff
push eax
call fcn.0047e930
push 0x9c
push 0
call dword [0x57e2c4]
push eax
call dword [0x57e2c8]
mov edi, dword [0x57e280]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x45fd64
push 0x12
call esi
push eax
call edi
mov eax, dword [esp + 0x30]
push eax
mov dword [eax], 0x9c
call dword [0x57e26c]
test eax, eax
jne 0x45fd91
push dword [esp + 0x30]
push eax
call dword [0x57e2c4]
push eax
call dword [0x57e284]
push 0xff
call esi
push eax
call edi
call fcn.00536724
test eax, eax
jne 0x45fda1
push 0x1c
call esi
push eax
call edi
call fcn.005369b0
test eax, eax
jne 0x45fdb1
push 0x10
call esi
push eax
call edi
call fcn.00536a43
test eax, eax
jns 0x45fdc4
push 0x1b
call fcn.00536d93
add esp, 4
push 1
call fcn.00536dbe
add esp, 4
test eax, eax
je 0x45fddb
push eax
call fcn.00536d93
add esp, 4
call fcn.0043f510
mov esi, dword [esp + 0x30]
mov ecx, 0x27
mov dword [esp + 0x28], eax
lea edi, [eax + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov esi, eax
mov ecx, esi
call fcn.0044d540
mov ecx, esi
call fcn.0044d510
push dword [esp + 0x30]
push 0
call dword [0x57e2c4]
push eax
call dword [0x57e284]
call fcn.0043f3f0
mov ecx, dword [0x57e260]
mov edi, eax
push 0
mov dword [esp + 0x34], edi
mov dword [0x58c91c], ecx
mov dword [edi + 0x1c0], ecx
call ecx
mov dword [esi + 0x28], eax
mov eax, 0x601
cmp word [esi + 6], ax
push 0x3ff
setae al
mov byte [edi + 0x2d1], al
mov eax, 0x602
cmp word [esi + 6], ax
mov esi, 0x58ac50
push 0
setae al
mov byte [edi + 0x2d2], al
lea eax, [esp + 0x6d]
sub esi, dword [0x58ac60]
push eax
mov byte [esp + 0x70], 0
call fcn.00535f30
add esp, 0xc
lea eax, [esp + 0x64]
push 0x400
push eax
push esi
call dword [0x57e264]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x64]
push ecx
lea ecx, [eax + 8]
mov dword [eax + 0x24], esi
call fcn.004979a0
call fcn.00460940
mov dword [esp + 0x60], 0
lea eax, [esp + 0x60]
mov byte [esp + 0x470], 1
push eax
call fcn.004607c0
add esp, 4
mov ecx, edi
push dword [esp + 0x60]
call fcn.00449f50
test al, al
jne 0x45fee9
push 0xff
call dword [0x57e2c0]
push eax
call dword [0x57e280]
mov eax, dword [0x58ac50]
shr eax, 0xa
test al, 1
je 0x45ff60
cmp dword [edi + 0x450], 0
je 0x45ff60
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x38]
call fcn.00498e30
lea eax, [esp + 0xc]
mov byte [esp + 0x470], 2
push eax
lea ecx, [esp + 0x38]
call fcn.004992e0
add eax, 4
mov byte [esp + 0x470], 3
cmp dword [eax + 0x14], 0x10
jb 0x45ff35
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0x450]
call eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x470], 2
call fcn.00498f30
lea ecx, [esp + 0x34]
mov byte [esp + 0x470], 1
call fcn.00498f30
call fcn.0043f480
mov edi, eax
push edi
call fcn.004574e0
mov eax, dword [0x58c24c]
add esp, 4
test eax, 0x800000
jne 0x45ffc8
mov esi, dword [0x58c700]
lea ecx, [esi + 0xa4]
call fcn.0044b4c0
int3
mov ecx, dword [esp + 0x28]
call fcn.0044d480
lea eax, [esp + 0x60]
mov ecx, edi
push eax
push 0x58ac50
call fcn.00446e90
test dword [0x58c24c], 0x800000
jne 0x46000c
mov esi, dword [0x58c700]
lea ecx, [esi + 0xa4]
call fcn.0044b4c0
invalid
push 0x58ac50
mov ecx, edi
call 0x457910
test al, al
jne 0x460108
mov eax, dword [0x58ac50]
or eax, 1
mov dword [0x58ac50], eax
shr eax, 8
test al, 1
je 0x460045
push dword [esp + 0x2c]
call fcn.00460670
add esp, 4
jmp 0x4600db
mov ecx, dword [0x58c8c0]
test ecx, ecx
je 0x46005f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x58c8c0], 0
mov ecx, dword [0x58c8dc]
test ecx, ecx
je 0x460079
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x58c8dc], 0
mov ecx, dword [0x58c8fc]
test ecx, ecx
je 0x460093
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x58c8fc], 0
mov ecx, dword [0x58c8b0]
test ecx, ecx
je 0x4600ad
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x58c8b0], 0
mov esi, dword [0x58dc68]
test esi, esi
je 0x4600d1
mov ecx, esi
call fcn.0043c9c0
push esi
call fcn.00534995
add esp, 4
mov dword [0x58dc68], 0
call fcn.00536a26
call fcn.00536739
mov esi, dword [esp + 0x60]
mov edi, dword [0x58ac64]
mov byte [esp + 0x470], 0
test esi, esi
je 0x460101
mov ecx, esi
call fcn.0043c540
push esi
call fcn.00534995
add esp, 4
mov eax, edi
jmp 0x4604b3
mov eax, dword [edi + 0xd0]
shr eax, 8
test al, 1
jne 0x460148
mov eax, dword [edi + 0xcc]
shr eax, 0x17
test al, 1
jne 0x460148
mov esi, dword [esp + 0x30]
cmp dword [esi + 0x2e8], 0
je 0x460148
mov eax, dword [esi + 0x2f0]
push 0
call eax
mov eax, dword [esi + 0x2e8]
push 0x460650
push 1
call eax
test dword [0x58c24c], 0x800000
jne 0x460172
mov esi, dword [0x58c700]
lea ecx, [esi + 0xa4]
call fcn.0044b4c0
invalid
push 0x58ac50
mov ecx, edi
call 0x458b00
call 0x47d770
test dword [0x58c24c], 0x800000
jne 0x4601b2
mov esi, dword [0x58c700]
lea ecx, [esi + 0xa4]
call fcn.0044b4c0
lea ecx, [esi + 0xa4]
mov byte [5], 5
call fcn.0044b520
mov eax, dword [edi + 0xcc]
mov ecx, edi
push dword [0x58c621]
shr eax, 0x11
push dword [0x58c625]
and eax, 0xffffff01
mov dword [esp + 0x34], eax
call fcn.00446c50
cmp byte [esp + 0x30], 0
push eax
sete al
movzx eax, al
push eax
push dword [0x58c629]
call fcn.0045f1d0
mov ecx, eax
call fcn.0044c510
mov ecx, edi
mov dword [0x58c629], 0
mov dword [0x58c621], 0
call fcn.004458a0
mov eax, dword [edi + 0xd0]
mov ecx, edi
shr eax, 8
not al
and al, 1
push 0
movzx eax, al
push eax
call fcn.00446c60
mov eax, dword [edi + 0xcc]
shr eax, 2
test al, 1
je 0x46027c
push dword [0x58c659]
mov ecx, edi
push dword [0x58c65d]
call fcn.00446c50
push eax
push dword [0x58c274]
call fcn.0045f300
mov ecx, eax
call fcn.00465e50
mov dword [0x58c274], 0
mov dword [0x58c659], 0
mov dword [0x58c65d], 0
mov ecx, dword [edi + 0xcc]
mov eax, ecx
shr eax, 3
test al, 1
je 0x4602a4
shr ecx, 0x12
and ecx, 0xffffff01
mov dword [esp + 0x2c], ecx
call fcn.0045db60
mov ecx, dword [esp + 0x2c]
mov byte [eax + 5], cl
test dword [0x58c24c], 0x800000
jne 0x4602cf
mov esi, dword [0x58c700]
lea ecx, [esi + 0xa4]
call fcn.0044b4c0
in ax, 0x64
lea ecx, [esi + 0xa4]
call fcn.0044b520
push dword [0x58c669]
movzx eax, word [0x58c2c9]
push dword [0x58c665]
mov ecx, dword [edi + 0xfc]
push dword [0x58c661]
push eax
call fcn.00497130
push eax
call fcn.0045f260
mov ecx, eax
call fcn.0045f380
mov edx, dword [0x58c66d]
mov eax, edx
shr eax, 0x1c
test al, 1
je 0x460325
mov ecx, dword [0x58e194]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
inc dword [eax + 0xac48]
test dword [0x58c24c], 0x800000
mov dword [0x58c665], 0
mov dword [0x58c669], 0
jne 0x46036e
mov esi, dword [0x58c700]
lea ecx, [esi + 0xa4]
call fcn.0044b4c0
lea ecx, [esi + 0xa4]
mov byte [6], 6
call fcn.0044b520
mov edx, dword [0x58c66d]
and dl, 0x30
cmp dl, 0x20
jne 0x4603af
mov eax, dword [edi + 0xcc]
shr eax, 0x13
test al, 1
jne 0x4603af
mov eax, dword [esp + 0x28]
mov ecx, 0x600
cmp word [eax + 6], cx
jae 0x4603af
call fcn.0043f510
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4603a2
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x1c8]
call eax
call fcn.0043f510
mov ecx, dword [eax + 0x24]
mov eax, dword [0x58c671]
add eax, ecx
test dword [0x58c24c], 0x800000
mov dword [0x58ac64], eax
jne 0x4603ee
mov esi, dword [0x58c700]
lea ecx, [esi + 0xa4]
call fcn.0044b4c0
in ax, 0x64
lea ecx, [esi + 0xa4]
call fcn.0044b520
mov eax, dword [0x58ac54]
and eax, 0xc0000000
cmp eax, 0x80000000
jne 0x46041b
push dword [esp + 0x54]
push dword [esp + 0x60]
call dword [0x57e278]
push dword [esp + 0x50]
push dword [esp + 0x5c]
call dword [0x57e270]
or dword [0x58ac50], 1
mov esi, dword [esp + 0x60]
mov byte [esp + 0x470], 0
test esi, esi
je 0x460442
mov ecx, esi
call fcn.0043c540
push esi
call fcn.00534995
add esp, 4
mov eax, dword [0x58ac64]
jmp 0x4604b3
mov eax, ecx
shr eax, 8
test al, 1
je 0x4604b1
mov edx, dword [0x58c24c]
mov eax, edx
shr eax, 4
test al, 1
jne 0x4604b1
cmp dword [esp + 0x478], 0
jne 0x460442
mov eax, ecx
shr eax, 2
test al, 1
je 0x46047d
mov eax, ecx
shr eax, 0xb
test al, 1
jne 0x460442
push esi
test dl, dl
jns 0x460491
call fcn.00460670
mov eax, dword [0x58ac64]
add esp, 4
jmp 0x4604b3
or ecx, 4
push 0
mov dword [0x58ac50], ecx
call fcn.00460780
push eax
call dword [0x58ac64]
push esi
call fcn.00460670
add esp, 4
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.00535482
add esp, 0x468
ret