Function at 0x465b30
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x559bb9
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b2ae0]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xa4], ebx
mov eax, dword [0x5c0090]
push 0x578290
push eax
call fcn.00518533
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x46631d
push edi
call fcn.005193b3
add esp, 4
push eax
call fcn.005193e5
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x465ba6
push edi
call fcn.005185c1
jmp 0x46631a
lea eax, [esi + 2]
push eax
call fcn.00518cd9
mov ebp, eax
add esp, 4
mov dword [esp + 0x4c], ebp
push edi
cmp ebp, ebx
je 0x465b9c
push 1
push esi
push ebp
call fcn.00519396
xor ecx, ecx
push edi
mov word [esi + ebp], cx
mov dword [esp + 0xac], ebp
call fcn.005185c1
add esp, 0x14
cmp esi, 2
jb 0x466314
call fcn.004eff6d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x465bff
push 0x80004005
call fcn.00401f30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0xa4], 1
cmp byte [ebp], 0xff
jne 0x465c32
cmp byte [ebp + 1], 0xfe
jne 0x465c32
add ebp, 2
push ebp
lea ecx, [esp + 0x2c]
call fcn.004050b0
jmp 0x465c3c
push ebp
lea ecx, [esp + 0x2c]
call fcn.0040c4b0
mov edi, dword [esp + 0xac]
lea ebp, [edi + 0x74]
mov eax, ebp
call fcn.00443930
mov ecx, dword [edi + 0x2114]
push ebx
push ebx
push 0x1009
push ecx
call dword [0x56077c]
call fcn.004eff6d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x465c7b
push 0x80004005
call fcn.00401f30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x30]
push ecx
push 0x571e4c
lea edx, [esp + 0x2c]
mov byte [esp + 0xac], 2
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], ebx
call fcn.00466ce0
mov byte [esp + 0xa4], 3
cmp dword [esp + 0x30], 0xffffffff
je 0x466241
lea eax, [esp + 0x20]
push eax
push 0x57cb54
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], ebx
call fcn.00466ce0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xa8], 4
call fcn.00401b10
mov byte [esp + 0xa4], 3
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x465d18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x20]
cmp esi, 0xffffffff
je 0x4661e7
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004099b0
add esp, 8
lea edi, [esp + 0x1c]
mov byte [esp + 0xa4], 5
call fcn.0040a880
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x2c]
call fcn.00442610
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xa8], 6
call fcn.00401b10
mov byte [esp + 0xa4], 5
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465d91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004099b0
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0xa4], 7
call fcn.0040a880
lea eax, [esp + 0x1c]
push 0x57cb58
push eax
call fcn.0040aaf0
add esp, 8
test al, al
je 0x465e69
lea edx, [esp + 0x20]
push edx
xor ecx, ecx
lea eax, [esp + 0x38]
push eax
mov word [esp + 0x5e], cx
mov ecx, dword [esp + 0x20]
push 0x57cb78
push ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], ebx
call fcn.00517b16
add esp, 0x10
cmp eax, 2
je 0x465e44
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push 0x57cb8c
push ecx
call fcn.00517b16
add esp, 0x10
cmp eax, 2
je 0x465e44
mov byte [esp + 0xa4], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4661b3
mov cx, word [esp + 0x34]
mov dx, word [esp + 0x20]
mov word [esp + 0x52], cx
xor eax, eax
lea ecx, [esp + 0x50]
mov word [esp + 0x54], dx
mov word [esp + 0x50], ax
push ecx
jmp 0x466190
lea edx, [esp + 0x1c]
push 0x57cb98
push edx
call fcn.0040aaf0
add esp, 8
test al, al
je 0x465ed2
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
xor eax, eax
push 0x571168
push edx
mov dword [esp + 0x70], ebx
mov word [esp + 0x6e], ax
mov dword [esp + 0x2c], ebx
call fcn.00517b16
add esp, 0xc
cmp eax, 1
jne 0x465e23
mov eax, dword [esp + 0x20]
cmp eax, ebx
jle 0x465e23
mov dword [esp + 0x64], eax
mov eax, 0xa
lea ecx, [esp + 0x5c]
mov word [esp + 0x5c], ax
push ecx
jmp 0x466190
lea ecx, [esp + 0x1c]
push 0x57cba4
push ecx
call fcn.0040aaf0
add esp, 8
test al, al
je 0x465ff1
lea eax, [esp + 0x18]
xor edx, edx
push 0x57cbbc
push eax
mov dword [esp + 0x48], ebx
mov word [esp + 0x46], dx
call fcn.0040aaf0
add esp, 8
test al, al
je 0x465f20
mov ecx, 1
mov word [esp + 0x38], cx
lea eax, [esp + 0x38]
jmp 0x46618f
lea edx, [esp + 0x18]
push 0x57cbd0
push edx
call fcn.0040aaf0
add esp, 8
test al, al
je 0x465f49
mov eax, 2
mov word [esp + 0x38], ax
lea eax, [esp + 0x38]
jmp 0x46618f
lea ecx, [esp + 0x18]
push 0x57cbe0
push ecx
call fcn.0040aaf0
add esp, 8
test al, al
je 0x465f72
mov edx, 3
mov word [esp + 0x38], dx
lea eax, [esp + 0x38]
jmp 0x46618f
lea eax, [esp + 0x18]
push 0x57cbf8
push eax
call fcn.0040aaf0
add esp, 8
test al, al
je 0x465f9b
mov ecx, 4
mov word [esp + 0x38], cx
lea eax, [esp + 0x38]
jmp 0x46618f
lea edx, [esp + 0x18]
push 0x57cc0c
push edx
call fcn.0040aaf0
add esp, 8
test al, al
je 0x465fc4
mov eax, 5
mov word [esp + 0x38], ax
lea eax, [esp + 0x38]
jmp 0x46618f
lea ecx, [esp + 0x18]
push 0x57cc24
push ecx
call fcn.0040aaf0
add esp, 8
test al, al
je 0x46613b
mov edx, 6
mov word [esp + 0x38], dx
lea eax, [esp + 0x38]
jmp 0x46618f
lea ecx, [esp + 0x1c]
push 0x57cc38
push ecx
call fcn.0040aaf0
add esp, 8
test al, al
je 0x46605a
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
xor edx, edx
push 0x571168
push ecx
mov dword [esp + 0x88], ebx
mov word [esp + 0x86], dx
mov dword [esp + 0x2c], ebx
call fcn.00517b16
add esp, 0xc
cmp eax, 1
jne 0x46613b
mov dx, word [esp + 0x20]
mov eax, 7
lea ecx, [esp + 0x74]
mov word [esp + 0x7a], dx
mov word [esp + 0x74], ax
push ecx
jmp 0x466190
lea edx, [esp + 0x1c]
push 0x57cc58
push edx
call fcn.0040aaf0
add esp, 8
test al, al
je 0x4660be
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
xor eax, eax
push 0x571168
push edx
mov dword [esp + 0x7c], ebx
mov word [esp + 0x7a], ax
mov dword [esp + 0x2c], ebx
call fcn.00517b16
add esp, 0xc
cmp eax, 1
jne 0x46613b
mov eax, dword [esp + 0x20]
neg eax
mov ecx, 7
lea edx, [esp + 0x68]
mov word [esp + 0x6e], ax
mov word [esp + 0x68], cx
push edx
jmp 0x466190
lea eax, [esp + 0x1c]
push 0x57cc7c
push eax
call fcn.0040aaf0
add esp, 8
test al, al
je 0x466114
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00405f40
add esp, 4
cmp eax, ebx
je 0x46613b
mov dword [esp + 0x8e], eax
xor edx, edx
mov eax, 8
lea ecx, [esp + 0x8c]
mov dword [esp + 0x94], ebx
mov word [esp + 0x92], dx
mov word [esp + 0x8c], ax
push ecx
jmp 0x466190
lea edx, [esp + 0x1c]
push 0x57cc90
push edx
call fcn.0040aaf0
add esp, 8
test al, al
je 0x466197
mov eax, dword [esp + 0x18]
push eax
call fcn.00405f40
add esp, 4
cmp eax, ebx
jne 0x466163
lea ecx, [esp + 0x18]
call fcn.00401ce0
lea ecx, [esp + 0x1c]
call fcn.00401ce0
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 2
call fcn.00401ce0
jmp 0x46620f
xor ecx, ecx
mov edx, 9
mov dword [esp + 0x82], eax
mov dword [esp + 0x88], ebx
mov word [esp + 0x86], cx
mov word [esp + 0x80], dx
lea eax, [esp + 0x80]
push eax
mov edi, ebp
call fcn.00443890
mov byte [esp + 0xa4], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4661bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa4], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4661e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa4], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46620f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
push ecx
push 0x571e4c
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x34]
call fcn.00466ce0
mov byte [esp + 0xa4], 3
cmp dword [esp + 0x30], 0xffffffff
jne 0x465cc2
mov edi, dword [esp + 0xac]
mov byte [esp + 0xa4], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466269
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
xor esi, esi
add ecx, edx
je 0x4662be
add edi, 0x20f4
lea esp, [esp]
push ebx
push ebx
push ebx
push ebx
push 0x571170
push esi
push 1
mov ecx, edi
call fcn.004fc2e5
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
cmp esi, eax
jb 0x466290
mov byte [esp + 0xa4], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4662e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa4], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46630d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4c]
push ecx
jmp 0x466315
push ebp
call fcn.00518bfc
add esp, 4
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 4