Function at 0x43998d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
mov ebx, ecx
xor eax, eax
push edi
mov esi, edx
mov dword [ebp - 0x18], ebx
push 0x14
mov edi, dword [ebx + 8]
mov ecx, edi
pop edx
mov dword [ebp - 0x40], esi
mov byte [ebp - 1], al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], edi
call fcn.00409170
mov esi, dword [esi + 0x14]
xorps xmm0, xmm0
and dword [ebp - 8], 0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
movlpd qword [ebp - 0x50], xmm0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
imul edx, dword [eax + 0xc], 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x40]
add edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x14], ecx
cmp esi, edx
jae 0x439b2d
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi]
mov dword [ebp - 0x4c], ecx
mov eax, dword [edx]
or eax, dword [edx + 4]
jne 0x439a48
test byte [esi + 0xa], 2
jne 0x439a48
test byte [ecx + 4], 1
jne 0x439a48
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
call fcn.00418001
test eax, eax
je 0x439a48
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebx]
push 0
call fcn.00417837
mov edx, dword [ebp - 0x1c]
pop ecx
mov ecx, dword [ebx]
push eax
call fcn.00417248
pop ecx
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0043992b
pop ecx
pop ecx
test eax, eax
je 0x439b16
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x4c], ecx
cmp ecx, 0x40
jl 0x439a7a
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0x80000000
jmp 0x439a9a
mov eax, ecx
xor edx, edx
xor ecx, ecx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [ebp - 0x2c], ecx
cmovae edx, ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x24], edx
cmp byte [ebp - 1], 0
jne 0x439ac3
mov edx, dword [ebp - 0x28]
add ecx, ecx
mov eax, dword [edx + 4]
push dword [eax + ecx*8]
push dword [edx]
push 0x4ae0a8
push 0x11c
call fcn.003f3b23
add esp, 0x10
mov byte [ebp - 1], 1
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
and eax, edx
and ecx, dword [ebp - 0xc]
or ecx, eax
jne 0x439b19
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
inc eax
mov ecx, dword [ebx]
push eax
mov dword [ebp - 0x4c], eax
call fcn.0043a2c9
pop ecx
test eax, eax
jne 0x439f27
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x30]
mov dword [eax + edx*4], esi
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
or eax, dword [ebp - 0x2c]
or edx, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
jmp 0x439b1f
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add esi, 0x30
cmp esi, dword [ebp - 0x38]
jb 0x439a02
jmp 0x439b33
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 8]
not eax
mov word [ecx + 0x28], si
not edx
mov word [ecx + 0x18], si
or edx, 0x80000000
mov esi, dword [ebp + 8]
mov dword [ecx + 0x24], 0x4241
push 0x3f
and eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
and edx, ecx
mov dword [ebp - 0xc], eax
xor esi, esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x4c], ecx
movzx edx, word [eax + 0x2a]
pop eax
mov dword [ebp - 0x44], edx
cmp ax, dx
jge 0x439b7c
mov dword [ebp - 0x24], eax
jmp 0x439b86
movsx eax, dx
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x439bc0
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x10]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [ebp - 0xc]
and ecx, ebx
or edx, ecx
je 0x439baf
inc dword [ebp - 8]
inc esi
cmp esi, edi
jl 0x439b8c
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x44]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
mov ecx, dword [ebp - 8]
je 0x439bda
movsx eax, dx
add ecx, 0xffffffc1
add ecx, eax
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x4c]
push eax
lea edx, [ecx + 1]
mov ecx, dword [ebx]
push 0
call fcn.00420383
mov esi, eax
mov dword [ebp - 0x2c], esi
pop ecx
pop ecx
test esi, esi
je 0x439f27
mov eax, dword [ebp - 0x14]
xor ebx, ebx
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [eax + 0x20], esi
mov eax, dword [ebp - 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [esi], 0x4ae0c4
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x38]
jae 0x439ce6
mov ecx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x30], ecx
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, eax
push dword [ebp + 0xc]
call fcn.0043992b
pop ecx
pop ecx
test eax, eax
je 0x439cce
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
xor eax, eax
cmp ecx, 0x40
jl 0x439c63
mov edx, 0x80000000
jmp 0x439c76
xor edx, edx
bts eax, ecx
cmp ecx, 0x20
cmovae edx, eax
xor eax, edx
cmp ecx, 0x40
cmovae edx, eax
mov ecx, eax
mov dword [ebp - 0x44], eax
and ecx, dword [ebp - 0x30]
mov eax, edx
and eax, dword [ebp - 0x34]
or ecx, eax
mov dword [ebp - 0x4c], edx
jne 0x439cce
mov ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x34]
or ecx, dword [ebp - 0x4c]
mov edx, dword [eax]
mov ax, word [eax + 0x1c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [edi + 4]
mov word [ecx + ebx*2], ax
mov ecx, esi
push dword [edx + 0x10]
mov edx, dword [edx + 0xc]
call fcn.00416b94
pop ecx
test eax, eax
je 0x439cc2
mov ecx, dword [eax]
jmp 0x439cc7
mov ecx, 0x4a7c84
mov eax, dword [edi + 0x20]
mov dword [eax + ebx*4], ecx
inc ebx
mov eax, dword [ebp - 0x20]
add eax, 0x30
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x38]
jb 0x439c39
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x2c]
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x24], 0
jle 0x439d2f
mov edi, dword [ebp - 0x4c]
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [ebp - 0xc]
and ecx, dword [ebp - 0x10]
or edx, ecx
je 0x439d26
mov eax, dword [esi + 4]
mov word [eax + ebx*2], di
mov eax, dword [esi + 0x20]
mov dword [eax + ebx*4], 0x4a7c84
inc ebx
inc edi
cmp edi, dword [ebp - 0x24]
jl 0x439cf3
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
xor eax, eax
and ecx, 0x80000000
or eax, ecx
je 0x439d68
mov edx, dword [ebp - 0x28]
push 0x3f
pop ecx
cmp cx, word [edx + 0x2a]
jge 0x439d68
mov eax, dword [esi + 4]
mov word [eax + ebx*2], cx
mov eax, dword [esi + 0x20]
mov dword [eax + ebx*4], 0x4a7c84
inc ebx
movsx eax, word [edx + 0x2a]
inc ecx
cmp ecx, eax
jl 0x439d4d
mov eax, dword [esi + 4]
or ecx, 0xffffffff
mov word [eax + ebx*2], cx
mov eax, dword [esi + 0x20]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [eax + ebx*4], 0x4a7c84
mov eax, dword [esi + 0x28]
mov dword [ecx + 8], eax
inc dword [esi + 0x28]
mov eax, dword [ebp - 8]
inc eax
push eax
push dword [ecx + 8]
mov ecx, edi
push 0x6b
pop edx
call fcn.00409192
mov edx, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, esi
call fcn.004098f7
mov ecx, esi
call fcn.0041949e
mov ecx, dword [ebp + 0x14]
movzx eax, byte [ecx + 0x2c]
imul esi, eax, 0x50
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x4c], esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
test byte [esi + eax + 0x30], 0x10
je 0x439e0e
mov esi, dword [esi + eax + 0x24]
mov ecx, edi
push 0
push 0
push 0x38
pop edx
call fcn.00409192
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
push dword [eax + ecx + 0x20]
mov ecx, edi
push 0
push esi
push 0xf
pop edx
call fcn.0040910e
add esp, 0x14
mov ecx, edi
push esi
push 0x10
pop edx
call fcn.0040917e
mov esi, dword [ebp - 0x4c]
jmp 0x439e1b
push dword [ecx + 4]
mov ecx, edi
push 0x25
pop edx
call fcn.0040917e
cmp dword [ebp - 0x1c], 0
mov dword [ebp + 8], eax
pop ecx
je 0x439e4a
mov ecx, edi
call fcn.0040935e
push 0x10
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x18]
call fcn.0041a9f2
mov eax, dword [ebp - 0x14]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [ebp - 0x18]
call fcn.0041b3fb
xor edx, edx
mov dword [ebp - 0x4c], eax
push edx
push edx
push edx
push edx
mov edx, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.00422f52
push dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov ecx, edi
mov eax, dword [ebp + 0x14]
push dword [eax + 8]
push 0x7e
pop edx
call fcn.00409192
add esp, 0x20
mov ecx, edi
push 0x10
pop edx
call fcn.0040962b
cmp dword [ebp - 0x1c], 0
je 0x439e9b
mov edx, dword [ebp - 0x54]
call fcn.004093a0
mov eax, dword [ebp - 0x40]
mov ecx, edi
test byte [esi + eax + 0x30], 0x10
je 0x439ee4
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x58]
add eax, ebx
push eax
call fcn.0040960b
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0x18]
push 1
push dword [esi + ebx + 0x28]
push dword [eax + 4]
call fcn.004398ac
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, edi
call fcn.004091a7
and dword [esi + ebx + 0x30], 0xffffffef
jmp 0x439ef9
mov eax, dword [ebp + 8]
inc eax
push eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
push 7
pop edx
call fcn.00409192
pop ecx
pop ecx
push 3
pop edx
mov ecx, edi
call fcn.0040962b
mov edx, dword [ebp + 8]
call fcn.00409643
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
mov edx, dword [ebp - 0x4c]
call fcn.0041b41a
call fcn.004194a2
mov edx, dword [ebp - 0x5c]
mov ecx, edi
call fcn.00409643
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
call fcn.004174e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret