Function at 0x45d220
Capabilities:
Check http status code
Encrypt data using rc4 ksa
Terminate process

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
push 4
push 0x1000
push 0x2000
push 0
mov dword [esp + 0x48], 6
mov dword [esp + 0x4c], 7
mov dword [esp + 0x50], 9
mov dword [esp + 0x54], 0xa
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
push 0x2000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x4000000
push 1
push 0
push 0
push 0
push str..LOCKING.VXD
call edi
cmp eax, 0xffffffff
mov dword [0x474d98], eax
jne 0x45d2da
push 0
push 0x4000000
push 1
push 0
push 0
push 0
push str..LOCKING
call edi
cmp eax, 0xffffffff
mov dword [0x474d98], eax
jne 0x45d2da
push 0
push 0
push str.Cannot_open_driver_Locking.vxd__Please_reinstall_the_program
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push 0x78
call fcn.0045d120
add esp, 4
mov edi, eax
xor ecx, ecx
lea edx, [esp + 0x28]
xor eax, eax
add edx, 4
mov al, byte [ecx + edi]
inc ecx
mov dword [edx - 4], eax
cmp ecx, 4
jl 0x45d2ec
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
shl ecx, 4
add ecx, eax
shl ecx, 4
add ecx, ebx
shl ecx, 4
lea eax, [ecx + edx + 3]
push eax
call fcn.0045d120
or ecx, 0xffffffff
add esp, 4
mov dword [esp + 0x28], ecx
mov ebx, eax
mov dword [esp + 0x2c], ecx
or eax, 0xffffffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [ebx], 2
mov edi, 5
push esi
push 1
push 1
push 0
push 0
push 0
push 4
call fcn.0045d190
add esp, 0x1c
dec edi
jne 0x45d357
push esi
push 1
push 1
push 0
push 0
push 0
push 4
call fcn.0045d190
add esp, 0x1c
test eax, eax
je 0x45d3a2
mov edx, dword [0x474d98]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xffffffc9
pop ebx
add esp, 0x38
ret
push esi
push 1
xor edi, edi
push 1
push 0x50
push edi
push edi
push 2
mov byte [ebx], 3
call fcn.0045d190
add esp, 0x1c
xor ecx, ecx
cmp eax, 0x80
sete cl
xor edx, edx
cmp eax, 6
sete dl
or ecx, edx
xor edx, edx
cmp eax, 4
sete dl
or ecx, edx
je 0x45d42a
push esi
push 1
push 1
push 0
push 0
push 0
push 0
call fcn.0045d190
add esp, 0x1c
inc edi
cmp edi, 0x28
je 0x45d42a
push esi
push 1
push 1
push 0x50
push 0
push 0
push 2
call fcn.0045d190
add esp, 0x1c
xor ecx, ecx
cmp eax, 0x80
sete cl
xor edx, edx
cmp eax, 6
sete dl
or ecx, edx
xor edx, edx
cmp eax, 4
sete dl
or ecx, edx
jne 0x45d3da
mov bl, byte [esi + 0x32]
xor eax, eax
mov al, byte [esi + 0xf]
mov ecx, 2
mov ebp, eax
lea edi, [esi + 0x64]
sub ebx, ebp
and ebx, 0xff
mov al, byte [edi]
add edi, 0x32
sub eax, ebp
and eax, 0xff
cdq
idiv ecx
and ebx, eax
inc ecx
cmp ecx, 0xa
jl 0x45d444
mov ecx, dword [esp + 0x10]
push esi
push 1
xor ebp, ebp
push 8
push 0x50
push ebp
push ebp
push 2
mov dword [esp + 0x30], ebx
mov byte [ecx], 1
call fcn.0045d190
mov edi, eax
add esp, 0x1c
xor edx, edx
cmp edi, 0x80
sete dl
xor eax, eax
cmp edi, 6
sete al
or edx, eax
xor ecx, ecx
cmp edi, 4
sete cl
or edx, ecx
je 0x45d4f1
push esi
push 1
push 1
push 0
push 0
push 0
push 0
call fcn.0045d190
add esp, 0x1c
inc ebp
cmp ebp, 0x28
je 0x45d4f1
push esi
push 1
push 8
push 0x50
push 0
push 0
push 2
call fcn.0045d190
mov edi, eax
add esp, 0x1c
xor edx, edx
cmp edi, 0x80
sete dl
xor eax, eax
cmp edi, 6
sete al
or edx, eax
xor ecx, ecx
cmp edi, 4
sete cl
or edx, ecx
jne 0x45d49e
mov eax, dword [esp + 0x4c]
inc edi
xor ebx, ebx
mov dword [esp + 0x18], edi
test eax, eax
jne 0x45d841
mov edi, dword [esp + 0x50]
push edi
push 1
push 0xb
push 0x50
push eax
push eax
push 2
call fcn.0045d190
add esp, 0x1c
xor edx, edx
cmp eax, 0x80
sete dl
xor ecx, ecx
cmp eax, 6
sete cl
or edx, ecx
xor ecx, ecx
cmp eax, 4
sete cl
or edx, ecx
je 0x45d58b
push esi
push 1
push 1
push 0
push 0
push 0
push 0
call fcn.0045d190
add esp, 0x1c
inc ebx
cmp ebx, 0x28
je 0x45d58b
push edi
push 1
push 0xb
push 0x50
push 0
push 0
push 2
call fcn.0045d190
add esp, 0x1c
xor edx, edx
cmp eax, 0x80
sete dl
xor ecx, ecx
cmp eax, 6
sete cl
or edx, ecx
xor ecx, ecx
cmp eax, 4
sete cl
or edx, ecx
jne 0x45d53b
mov ecx, dword [esp + 0x10]
push esi
push 1
xor ebx, ebx
push 4
push 0x50
push ebx
push ebx
push 2
mov byte [ecx], 2
call fcn.0045d190
mov edi, eax
add esp, 0x1c
xor edx, edx
cmp edi, 0x80
sete dl
xor eax, eax
cmp edi, 6
sete al
or edx, eax
xor ecx, ecx
cmp edi, 4
mov dword [esp + 0x1c], edi
sete cl
or edx, ecx
je 0x45d625
push esi
push 1
push 1
push 0
push 0
push 0
push 0
call fcn.0045d190
add esp, 0x1c
inc ebx
cmp ebx, 0x28
je 0x45d621
push esi
push 1
push 4
push 0x50
push 0
push 0
push 2
call fcn.0045d190
mov edi, eax
add esp, 0x1c
xor edx, edx
cmp edi, 0x80
sete dl
xor eax, eax
cmp edi, 6
sete al
or edx, eax
xor ecx, ecx
cmp edi, 4
sete cl
or edx, ecx
jne 0x45d5ce
mov dword [esp + 0x1c], edi
xor edx, edx
cmp edi, 0x10
sete dl
xor eax, eax
cmp edi, 0xa
sete al
or edx, eax
je 0x45d641
mov dword [esp + 0x1c], 0
inc dword [esp + 0x1c]
call dword [sym.imp.MSVCRT.dll_rand]
mov edi, eax
push esi
and edi, 3
push 1
xor ebx, ebx
mov ebp, dword [esp + edi*4 + 0x40]
push ebp
push 0x50
push ebx
push ebx
push 2
call fcn.0045d190
add esp, 0x1c
xor ecx, ecx
cmp eax, 0x80
mov dword [esp + 0x28], eax
sete cl
xor edx, edx
cmp eax, 6
sete dl
or ecx, edx
xor edx, edx
cmp eax, 4
sete dl
or ecx, edx
je 0x45d6df
push esi
push 1
push 1
push 0
push 0
push 0
push 0
call fcn.0045d190
add esp, 0x1c
inc ebx
cmp ebx, 0x28
je 0x45d6df
push esi
push 1
push ebp
push 0x50
push 0
push 0
push 2
call fcn.0045d190
add esp, 0x1c
xor ecx, ecx
cmp eax, 0x80
mov dword [esp + 0x28], eax
sete cl
xor edx, edx
cmp eax, 6
sete dl
or ecx, edx
xor edx, edx
cmp eax, 4
sete dl
or ecx, edx
jne 0x45d68c
cmp edi, 3
ja case.default.0x45d6e8
jmp dword [edi*4 + 0x45e184]
push esi
push 1
push 0x9e
xor edi, edi
push 0x50
push 1
push edi
push 2
call fcn.0045d190
add esp, 0x1c
xor ecx, ecx
cmp eax, 0x80
mov dword [esp + 0x2c], eax
sete cl
xor edx, edx
cmp eax, 6
sete dl
or ecx, edx
xor edx, edx
cmp eax, 4
sete dl
or ecx, edx
je 0x45d783
push esi
push 1
push 1
push 0
push 0
push 0
push 0
call fcn.0045d190
add esp, 0x1c
inc edi
cmp edi, 0x28
je 0x45d783
push esi
push 1
push 0x9e
push 0x50
push 1
push 0
push 2
call fcn.0045d190
add esp, 0x1c
xor ecx, ecx
cmp eax, 0x80
mov dword [esp + 0x2c], eax
sete cl
xor edx, edx
cmp eax, 6
sete dl
or ecx, edx
xor edx, edx
cmp eax, 4
sete dl
or ecx, edx
jne 0x45d72c
mov bl, byte [esi + 0x158]
mov dl, byte [esi + 0x15a]
xor eax, eax
cmp bl, 0x50
mov bl, byte [esi + 3]
mov ebp, dword [esp + 0x14]
sete al
xor ecx, ecx
cmp dl, 0x63
sete cl
and eax, ecx
xor edx, edx
cmp bl, 0x58
mov bl, byte [esi + 0x159]
sete dl
and eax, edx
mov dl, byte [esi + 0x15c]
xor ecx, ecx
cmp dl, 0xa5
sete cl
and eax, ecx
xor edx, edx
cmp bl, 1
mov bl, 0xfe
sete dl
and eax, edx
mov dl, byte [esi + 0x157]
xor ecx, ecx
cmp dl, bl
sete cl
and eax, ecx
mov cl, byte [esi + 0x15d]
xor edx, edx
cmp cl, 0xa8
sete dl
and eax, edx
mov dl, byte [esi + 0x15b]
xor ecx, ecx
cmp dl, 6
sete cl
and eax, ecx
cmp ebp, 1
mov dword [esp + 0x20], eax
jne 0x45d900
mov al, byte [esi + 0x160]
mov cl, byte [esi + 0x15f]
xor edx, edx
cmp al, 0x93
sete dl
xor eax, eax
cmp cl, 0x93
sete al
and edx, eax
mov al, byte [esi + 0x15e]
xor ecx, ecx
cmp al, 0x13
sete cl
and edx, ecx
jmp 0x45d941
cmp eax, 1
jne 0x45d58b
mov ebp, dword [esp + 0x50]
push ebp
push eax
push 0xb
push 0x50
push 0
push 0
push 3
call fcn.0045d190
mov edi, eax
add esp, 0x1c
xor edx, edx
cmp edi, 0x80
sete dl
xor eax, eax
cmp edi, 6
sete al
or edx, eax
xor ecx, ecx
cmp edi, 4
sete cl
or edx, ecx
je 0x45d8d8
push esi
push 1
push 1
push 0
push 0
push 0
push 0
call fcn.0045d190
add esp, 0x1c
inc ebx
cmp ebx, 0x28
je 0x45d8d8
push ebp
push 1
push 0xb
push 0x50
push 0
push 0
push 3
call fcn.0045d190
mov edi, eax
add esp, 0x1c
xor edx, edx
cmp edi, 0x80
sete dl
xor eax, eax
cmp edi, 6
sete al
or edx, eax
xor ecx, ecx
cmp edi, 4
sete cl
or edx, ecx
jne 0x45d885
test edi, edi
je 0x45d58b
mov edx, dword [esp + 0x10]
mov byte [edx], 2
mov eax, dword [0x474d98]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xffffffc9
pop ebx
add esp, 0x38
ret
cmp ebp, 2
jne 0x45d945
mov al, byte [esi + 0x161]
mov cl, byte [esi + 0x160]
xor edx, edx
cmp al, 0x4e
sete dl
xor eax, eax
cmp cl, 0x4e
sete al
and edx, eax
mov al, byte [esi + 0x15f]
xor ecx, ecx
cmp al, 0x4e
sete cl
and edx, ecx
mov cl, byte [esi + 0x15e]
xor eax, eax
cmp cl, 0x4e
sete al
and edx, eax
and dword [esp + 0x20], edx
mov ecx, dword [esp + 0x10]
push esi
push 1
push 0xc8
xor edi, edi
push 0x50
push 1
push edi
push 2
mov byte [ecx], 5
call fcn.0045d190
add esp, 0x1c
xor edx, edx
cmp eax, 0x80
mov dword [esp + 0x30], eax
sete dl
xor ecx, ecx
cmp eax, 6
sete cl
or edx, ecx
xor ecx, ecx
cmp eax, 4
sete cl
or edx, ecx
je 0x45d9e0
push esi
push 1
push 1
push 0
push 0
push 0
push 0
call fcn.0045d190
add esp, 0x1c
inc edi
cmp edi, 0x28
je 0x45d9e0
push esi
push 1
push 0xc8
push 0x50
push 1
push 0
push 2
call fcn.0045d190
add esp, 0x1c
xor edx, edx
cmp eax, 0x80
mov dword [esp + 0x30], eax
sete dl
xor ecx, ecx
cmp eax, 6
sete cl
or edx, ecx
xor ecx, ecx
cmp eax, 4
sete cl
or edx, ecx
jne 0x45d989
mov al, byte [esi + 0x158]
mov cl, byte [esi + 3]
xor edx, edx
cmp al, 0x50
sete dl
xor eax, eax
cmp cl, 0x58
sete al
and edx, eax
mov al, byte [esi + 0x15a]
xor ecx, ecx
cmp al, 0x56
sete cl
and edx, ecx
mov cl, byte [esi + 0x15c]
xor eax, eax
cmp cl, 0x5f
sete al
and edx, eax
mov al, byte [esi + 0x159]
xor ecx, ecx
cmp al, 1
sete cl
and edx, ecx
mov cl, byte [esi + 0x157]
xor eax, eax
cmp cl, bl
mov bl, byte [esi + 0x15d]
sete al
and edx, eax
xor ecx, ecx
cmp bl, 0xc8
mov bl, byte [esi + 0x15b]
sete cl
and edx, ecx
xor eax, eax
cmp bl, 6
sete al
and edx, eax
cmp ebp, 1
mov dword [esp + 0x24], edx
jne 0x45dd47
jmp 0x45dd0f
mov eax, dword [esp + 0x10]
push esi
push 1
push 0x26
xor edi, edi
push 0x50
push 1
push edi
push 2
mov byte [eax], 6
call fcn.0045d190
add esp, 0x1c
xor ecx, ecx
cmp eax, 0x80
mov dword [esp + 0x2c], eax
sete cl
xor edx, edx
cmp eax, 6
sete dl
or ecx, edx
xor edx, edx
cmp eax, 4
sete dl
or ecx, edx
je 0x45dafe
push esi
push 1
push 1
push 0
push 0
push 0
push 0
call fcn.0045d190
add esp, 0x1c
inc edi
cmp edi, 0x28
je 0x45dafe
push esi
push 1
push 0x26
push 0x50
push 1
push 0
push 2
call fcn.0045d190
add esp, 0x1c
xor ecx, ecx
cmp eax, 0x80
mov dword [esp + 0x2c], eax
sete cl
xor edx, edx
cmp eax, 6
sete dl
or ecx, edx
xor edx, edx
cmp eax, 4
sete dl
or ecx, edx
jne 0x45daaa
mov bl, byte [esi + 0x158]
mov dl, byte [esi + 0x15a]
xor eax, eax
cmp bl, 0x50
mov bl, byte [esi + 3]
mov ebp, dword [esp + 0x14]
sete al
xor ecx, ecx
cmp dl, 0x9e
sete cl
and eax, ecx
xor edx, edx
cmp bl, 0x58
mov bl, byte [esi + 0x159]
sete dl
and eax, edx
mov dl, byte [esi + 0x15c]
xor ecx, ecx
cmp dl, 0x80
sete cl
and eax, ecx
xor edx, edx
cmp bl, 1
mov bl, 0xfe
sete dl
and eax, edx
mov dl, byte [esi + 0x157]
xor ecx, ecx
cmp dl, bl
sete cl
and eax, ecx
mov cl, byte [esi + 0x15d]
xor edx, edx
cmp cl, 0xb1
sete dl
and eax, edx
mov dl, byte [esi + 0x15b]
xor ecx, ecx
cmp dl, 2
sete cl
and eax, ecx
cmp ebp, 1
mov dword [esp + 0x20], eax
jne 0x45dbb5
mov al, byte [esi + 0x160]
mov cl, byte [esi + 0x15f]
xor edx, edx
cmp al, 0x93
sete dl
xor eax, eax
cmp cl, 0x93
sete al
and edx, eax
mov al, byte [esi + 0x15e]
xor ecx, ecx
cmp al, 0x13
sete cl
and edx, ecx
jmp 0x45dbf6
cmp ebp, 2
jne 0x45dbfa
mov al, byte [esi + 0x161]
mov cl, byte [esi + 0x160]
xor edx, edx
cmp al, 0x4e
sete dl
xor eax, eax
cmp cl, 0x4e
sete al
and edx, eax
mov al, byte [esi + 0x15f]
xor ecx, ecx
cmp al, 0x4e
sete cl
and edx, ecx
mov cl, byte [esi + 0x15e]
xor eax, eax
cmp cl, 0x4e
sete al
and edx, eax
and dword [esp + 0x20], edx
mov ecx, dword [esp + 0x10]
push esi
push 1
push 0x44
xor edi, edi
push 0x50
push 1
push edi
push 2
mov byte [ecx], 4
call fcn.0045d190
add esp, 0x1c
xor edx, edx
cmp eax, 0x80
mov dword [esp + 0x30], eax
sete dl
xor ecx, ecx
cmp eax, 6
sete cl
or edx, ecx
xor ecx, ecx
cmp eax, 4
sete cl
or edx, ecx
je 0x45dc8f
push esi
push 1
push 1
push 0
push 0
push 0
push 0
call fcn.0045d190
add esp, 0x1c
inc edi
cmp edi, 0x28
je 0x45dc8f
push esi
push 1
push 0x44
push 0x50
push 1
push 0
push 2
call fcn.0045d190
add esp, 0x1c
xor edx, edx
cmp eax, 0x80
mov dword [esp + 0x30], eax
sete dl
xor ecx, ecx
cmp eax, 6
sete cl
or edx, ecx
xor ecx, ecx
cmp eax, 4
sete cl
or edx, ecx
jne 0x45dc3b
mov al, byte [esi + 0x158]
mov cl, byte [esi + 3]
xor edx, edx
cmp al, 0x50
sete dl
xor eax, eax
cmp cl, 0x58
sete al
and edx, eax
mov al, byte [esi + 0x15a]
xor ecx, ecx
cmp al, 0x26
sete cl
and edx, ecx
mov cl, byte [esi + 0x15c]
xor eax, eax
cmp cl, 0x57
sete al
and edx, eax
mov al, byte [esi + 0x159]
xor ecx, ecx
cmp al, 1
sete cl
and edx, ecx
mov cl, byte [esi + 0x157]
xor eax, eax
cmp cl, bl
mov bl, byte [esi + 0x15d]
sete al
and edx, eax
xor ecx, ecx
cmp bl, 0x91
mov bl, byte [esi + 0x15b]
sete cl
and edx, ecx
xor eax, eax
cmp bl, 6
sete al
and edx, eax
cmp ebp, 1
mov dword [esp + 0x24], edx
jne 0x45dd47
mov dl, byte [esi + 0x160]
mov al, byte [esi + 0x15f]
xor ecx, ecx
mov bl, byte [esi + 0x15e]
cmp dl, 0x93
sete cl
xor edx, edx
cmp al, 0x93
sete dl
and ecx, edx
xor eax, eax
cmp bl, 0x13
sete al
and ecx, eax
mov eax, dword [esp + 0x24]
and eax, ecx
jmp 0x45e0af
cmp ebp, 2
jne case.default.0x45d6e8
mov al, byte [esi + 0x161]
mov bl, byte [esi + 0x160]
xor ecx, ecx
cmp al, 0x4e
sete cl
xor edx, edx
cmp bl, 0x4e
sete dl
mov bl, byte [esi + 0x15e]
and ecx, edx
mov dl, byte [esi + 0x15f]
xor eax, eax
cmp dl, 0x4e
sete al
and ecx, eax
mov eax, dword [esp + 0x24]
xor edx, edx
cmp bl, 0x4e
sete dl
and ecx, edx
and eax, ecx
jmp 0x45e0af
mov eax, dword [esp + 0x10]
push esi
push 1
push 0x56
push 0x50
push 1
push 0
push 2
mov byte [eax], 6
call fcn.0045d190
add esp, 0x1c
xor ecx, ecx
cmp eax, 0x80
mov dword [esp + 0x2c], eax
sete cl
xor edx, edx
cmp eax, 6
sete dl
or ecx, edx
xor edx, edx
cmp eax, 4
sete dl
or ecx, edx
je 0x45de2c
push esi
push 1
push 1
push 0
push 0
push 0
push 0
call fcn.0045d190
add esp, 0x1c
inc ebx
cmp ebx, 0x28
je 0x45de2c
push esi
push 1
push 0x56
push 0x50
push 1
push 0
push 2
call fcn.0045d190
add esp, 0x1c
xor ecx, ecx
cmp eax, 0x80
mov dword [esp + 0x2c], eax
sete cl
xor edx, edx
cmp eax, 6
sete dl
or ecx, edx
xor edx, edx
cmp eax, 4
sete dl
or ecx, edx
jne 0x45ddd8
mov bl, byte [esi + 0x158]
mov dl, byte [esi + 3]
xor eax, eax
cmp bl, 0x50
mov bl, byte [esi + 0x15a]
mov ebp, dword [esp + 0x14]
sete al
xor ecx, ecx
cmp dl, 0x58
sete cl
and eax, ecx
xor edx, edx
cmp bl, 0xb
mov bl, byte [esi + 0x159]
sete dl
and eax, edx
mov dl, byte [esi + 0x15c]
xor ecx, ecx
cmp dl, 0x47
sete cl
and eax, ecx
xor edx, edx
cmp bl, 1
mov bl, 0xfe
sete dl
and eax, edx
mov dl, byte [esi + 0x157]
xor ecx, ecx
cmp dl, bl
sete cl
and eax, ecx
mov cl, byte [esi + 0x15d]
xor edx, edx
cmp cl, 0xed
sete dl
and eax, edx
mov dl, byte [esi + 0x15b]
xor ecx, ecx
test dl, dl
sete cl
and eax, ecx
cmp ebp, 1
mov dword [esp + 0x20], eax
jne 0x45dee2
mov al, byte [esi + 0x160]
mov cl, byte [esi + 0x15f]
xor edx, edx
cmp al, 0x93
sete dl
xor eax, eax
cmp cl, 0x93
sete al
and edx, eax
mov al, byte [esi + 0x15e]
xor ecx, ecx
cmp al, 0x13
sete cl
and edx, ecx
jmp 0x45df23
cmp ebp, 2
jne 0x45df27
mov al, byte [esi + 0x161]
mov cl, byte [esi + 0x160]
xor edx, edx
cmp al, 0x4e
sete dl
xor eax, eax
cmp cl, 0x4e
sete al
and edx, eax
mov al, byte [esi + 0x15f]
xor ecx, ecx
cmp al, 0x4e
sete cl
and edx, ecx
mov cl, byte [esi + 0x15e]
xor eax, eax
cmp cl, 0x4e
sete al
and edx, eax
and dword [esp + 0x20], edx
push esi
push 1
push 0x63
xor edi, edi
push 0x50
push 1
push edi
push 2
call fcn.0045d190
add esp, 0x1c
xor ecx, ecx
cmp eax, 0x80
mov dword [esp + 0x30], eax
sete cl
xor edx, edx
cmp eax, 6
sete dl
or ecx, edx
xor edx, edx
cmp eax, 4
sete dl
or ecx, edx
je 0x45dfb5
push esi
push 1
push 1
push 0
push 0
push 0
push 0
call fcn.0045d190
add esp, 0x1c
inc edi
cmp edi, 0x28
je 0x45dfb5
push esi
push 1
push 0x63
push 0x50
push 1
push 0
push 2
call fcn.0045d190
add esp, 0x1c
xor ecx, ecx
cmp eax, 0x80
mov dword [esp + 0x30], eax
sete cl
xor edx, edx
cmp eax, 6
sete dl
or ecx, edx
xor edx, edx
cmp eax, 4
sete dl
or ecx, edx
jne 0x45df61
mov cl, byte [esi + 0x158]
mov dl, byte [esi + 0x15a]
xor eax, eax
cmp cl, 0x50
sete al
xor ecx, ecx
cmp dl, 0xc8
sete cl
and eax, ecx
mov cl, byte [esi + 3]
xor edx, edx
cmp cl, 0x58
sete dl
and eax, edx
mov dl, byte [esi + 0x15c]
xor ecx, ecx
cmp dl, 0x54
sete cl
and eax, ecx
mov cl, byte [esi + 0x159]
xor edx, edx
cmp cl, 1
sete dl
and eax, edx
mov dl, byte [esi + 0x157]
xor ecx, ecx
cmp dl, bl
mov bl, byte [esi + 0x15d]
sete cl
and eax, ecx
xor edx, edx
cmp bl, 0x4f
mov bl, byte [esi + 0x15b]
sete dl
and eax, edx
xor ecx, ecx
cmp bl, 5
sete cl
and eax, ecx
cmp ebp, 1
mov dword [esp + 0x24], eax
jne 0x45e068
mov bl, byte [esi + 0x160]
mov cl, byte [esi + 0x15f]
xor edx, edx
cmp bl, 0x93
mov bl, byte [esi + 0x15e]
sete dl
xor eax, eax
cmp cl, 0x93
sete al
and edx, eax
xor ecx, ecx
cmp bl, 0x13
sete cl
and edx, ecx
jmp 0x45e0a9
cmp ebp, 2
jne case.default.0x45d6e8
mov al, byte [esi + 0x161]
mov bl, byte [esi + 0x160]
xor edx, edx
cmp al, 0x4e
sete dl
xor eax, eax
cmp bl, 0x4e
sete al
mov bl, byte [esi + 0x15e]
and edx, eax
mov al, byte [esi + 0x15f]
xor ecx, ecx
cmp al, 0x4e
sete cl
and edx, ecx
xor eax, eax
cmp bl, 0x4e
sete al
and edx, eax
mov eax, dword [esp + 0x24]
and eax, edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
mov ecx, 3
cmp dword [eax], 0xa
jne 0x45e0c7
mov dword [eax], 0x10
add eax, 4
dec ecx
jne 0x45e0bc
xor eax, eax
mov ecx, dword [esp + eax + 0x28]
add eax, 4
sub ecx, 0xf
cmp eax, 0xc
mov dword [eax + 0x474db0], ecx
jl 0x45e0cf
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [0x474dc4], eax
mov eax, 1
mov dword [0x474dc0], edx
mov edx, dword [esp + 0x24]
mov dword [0x474dd0], eax
mov dword [0x474dc8], ecx
mov ecx, dword [esp + 0x10]
mov dword [0x474dd4], eax
mov dword [0x474dcc], edx
mov dword [0x474dd8], eax
mov byte [ecx], 2
mov edx, dword [0x474d98]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
xor eax, eax
lea ecx, [esp + 0x28]
cmp dword [ecx], 0x10
jne 0x45e14b
inc eax
add ecx, 4
cmp eax, 3
jl 0x45e13b
jmp 0x45e14e
or edx, 0xffffffff
xor eax, eax
lea ecx, [esp + 0x18]
cmp dword [ecx], 1
jne 0x45e17f
inc eax
add ecx, 4
cmp eax, 4
jl 0x45e154
cmp edx, 0xffffffff
jne 0x45e175
mov ecx, 0xa
xor eax, eax
mov edi, 0x474db4
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0x38
ret
or edx, 0xffffffff
jmp 0x45e167