Function at 0x42d170
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x55b553
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b2ae0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
call fcn.004eff6d
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42d1b3
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 + 0x1c], eax
mov dword [esp + 0x58], ebp
call fcn.004eff6d
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42d1e1
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 + 0x30], eax
mov dword [esp + 0x48], ebp
mov ecx, dword [esp + 0x60]
push 0x578290
push ecx
mov byte [esp + 0x60], 2
call fcn.00518533
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x42d237
push esi
call fcn.005193b3
add esp, 4
push eax
call fcn.005193e5
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x42d2b9
push esi
call fcn.005185c1
add esp, 4
mov edx, dword [esp + 0x60]
push edx
lea eax, [esp + 0x20]
push 0x5742e8
push eax
call fcn.00401cc0
mov esi, dword [esp + 0x28]
add esp, 0xc
push ebp
push ebp
push esi
call fcn.004f030b
mov byte [esp + 0x58], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d27f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d2a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
push edi
call fcn.00518cd9
mov ebx, eax
add esp, 4
mov dword [esp + 0x2c], ebx
push esi
cmp ebx, ebp
je 0x42d22f
push 1
push edi
push ebx
call fcn.00519396
push esi
mov dword [esp + 0x5c], ebx
call fcn.005185c1
add esp, 0x14
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.00404090
push 0x57418c
mov byte [esp + 0x5c], 3
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x34], ebp
call fcn.004434a0
or ebx, 0xffffffff
mov byte [esp + 0x58], 4
cmp dword [esp + 0x28], ebx
je 0x42d57b
lea ebx, [ebx]
lea edi, [esp + 0x18]
call fcn.00443630
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebp
jl 0x42d62d
cmp byte [eax], 0x23
jne 0x42d365
mov byte [esp + 0x58], 3
jmp 0x42d539
push 0x574194
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x48]
mov dword [esp + 0x48], ebp
call fcn.004434a0
mov byte [esp + 0x58], 5
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x42d66e
lea eax, [esp + 0x34]
lea edx, [esp + 0x18]
call fcn.004436d0
lea edi, [esp + 0x34]
mov byte [esp + 0x58], 6
call fcn.00443630
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x42d3d3
push esi
lea ecx, [esp + 0x18]
call fcn.00404750
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.0051998a
push eax
call fcn.00404e10
add esp, 0xc
cmp esi, ebp
jl 0x42d62d
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x42d62d
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov byte [esi + ecx], 0
mov edx, dword [esp + 0x14]
push 0x574368
push edx
call fcn.00519ac8
mov esi, dword [esp + 0x3c]
add esp, 8
cmp eax, ebp
sete al
test al, al
je 0x42d43d
lea eax, [esp + 0x40]
push eax
push 0x573724
push esi
call fcn.005190a8
add esp, 0xc
jmp 0x42d4ec
mov ecx, dword [esp + 0x14]
push 0x574370
push ecx
call fcn.00519ac8
add esp, 8
cmp eax, ebp
sete al
test al, al
je 0x42d46d
lea edx, [esp + 0x4c]
push edx
push 0x574378
push esi
call fcn.005190a8
add esp, 0xc
jmp 0x42d4ec
mov eax, dword [esp + 0x14]
push 0x57437c
push eax
call fcn.00519ac8
add esp, 8
cmp eax, ebp
sete al
test al, al
je 0x42d49d
lea ecx, [esp + 0x24]
push ecx
push 0x574378
push esi
call fcn.005190a8
add esp, 0xc
jmp 0x42d4ec
mov edx, dword [esp + 0x14]
push 0x574384
push edx
call fcn.00519ac8
add esp, 8
cmp eax, ebp
sete al
test al, al
je 0x42d4cd
lea eax, [esp + 0x44]
push eax
push 0x574378
push esi
call fcn.005190a8
add esp, 0xc
jmp 0x42d4ec
mov ecx, dword [esp + 0x14]
push 0x57438c
push ecx
call fcn.00519ac8
add esp, 8
cmp eax, ebp
sete al
test al, al
jne 0x42d637
lea eax, [esi - 0x10]
mov byte [esp + 0x58], 5
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d50c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d530
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov edx, ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d554
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x57418c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
call fcn.004434a0
mov byte [esp + 0x58], 4
cmp dword [esp + 0x28], ebx
jne 0x42d340
mov eax, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x20]
push 0x574318
push ecx
call fcn.00401cc0
mov esi, dword [esp + 0x28]
add esp, 0xc
push ebp
push ebp
push esi
call fcn.004f030b
mov byte [esp + 0x58], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d5c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov edx, ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d5e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00518bfc
mov byte [esp + 0x5c], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d617
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x58], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jmp 0x42d297
push 0x80070057
call fcn.00401f30
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
push 0x573724
push esi
call fcn.005190a8
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [esp + 0x58], 5
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d66e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov edx, ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d692
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov edx, ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d6b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x40], ebp
jne 0x42d6e4
mov ecx, dword [esp + 0x60]
push ecx
lea edx, [esp + 0x20]
push 0x574318
push edx
call fcn.00401cc0
mov esi, dword [esp + 0x28]
add esp, 0xc
push ebp
push ebp
push esi
call fcn.004f030b
jmp 0x42d5c2
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
cmp eax, ebp
jbe 0x42d783
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
lea esi, [edx + ecx]
mov edi, eax
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004efc07
add esp, 4
mov dword [esp + 0x3c], eax
mov byte [esp + 0x58], 7
test eax, eax
je 0x42d74d
push 0x44dd80
push 0x44dd90
push edi
lea ebx, [eax + 4]
push 8
push ebx
mov dword [eax], edi
call fcn.00517a41
jmp 0x42d74f
xor ebx, ebx
mov byte [esp + 0x58], 3
mov eax, dword [esp + 0x24]
xor ebp, ebp
mov dword [esp + 0x18], ebx
test eax, eax
jbe 0x42d783
mov edi, dword [esi]
lea eax, [esi + 4]
push edi
push eax
mov ecx, ebx
call fcn.00421370
mov eax, dword [esp + 0x2c]
inc ebp
add esp, 8
add ebx, 8
lea esi, [esi + edi + 4]
cmp ebp, eax
jb 0x42d762
mov ecx, dword [esp + 0x38]
test ecx, ecx
jbe 0x42d7d0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x34], 0
jmp 0x42d7a4
mov eax, dword [esp + 0x24]
push edi
push eax
push esi
push ecx
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0042b3c0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
inc eax
add esp, 0x1c
mov dword [esp + 0x34], eax
cmp eax, ecx
jb 0x42d7a0
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x42d7f5
cmp dword [ecx - 4], 0
lea eax, [ecx - 4]
je 0x42d7ec
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 3
call eax
jmp 0x42d7f5
push eax
call fcn.004efc12
add esp, 4
mov byte [esp + 0x58], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d81a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00518bfc
mov byte [esp + 0x5c], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d84c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x58], 0xffffffff
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 0x42d874
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret