Function at 0x4029d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554a78
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2b8], edi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and eax, 0xfff00fff
cmp dword [edi + 4], 0
mov dword [ebp - 0x2a4], eax
jne 0x402a26
mov ecx, edi
call fcn.00401e00
xor edi, edi
mov dword [ebp - 0x25c], 0xf
mov dword [ebp - 0x2bc], edi
mov dword [ebp - 0x260], edi
mov byte [ebp - 0x270], 0
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 4], edi
lea eax, [ecx + 8]
mov ecx, dword [ecx + 4]
push eax
push esi
lea eax, [ebp - 0x288]
push eax
call fcn.004a23f0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x402a6e
mov eax, dword [eax]
push 0x594b54
push eax
call fcn.0052e735
mov esi, eax
add esp, 8
mov dword [ebp - 0x2a8], esi
test esi, esi
je 0x402b5d
nop dword [eax]
push 0x200
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.00525340
push esi
push 0x200
lea eax, [ebp - 0x230]
push 1
push eax
call fcn.0052a094
mov ecx, dword [ebp - 0x25c]
add esp, 0x1c
mov edx, dword [ebp - 0x2bc]
mov edi, eax
sub ecx, edx
lea eax, [ebp - 0x230]
push edi
push eax
cmp edi, ecx
ja 0x402b0a
cmp dword [ebp - 0x25c], 0x10
lea esi, [ebp - 0x270]
lea ecx, [edi + edx]
cmovae esi, dword [ebp - 0x270]
add esi, edx
mov dword [ebp - 0x260], ecx
push esi
call fcn.00524dc0
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x2a8]
jmp 0x402b23
mov byte [ebp - 0x2b4], 0
lea ecx, [ebp - 0x270]
push dword [ebp - 0x2b4]
push edi
call fcn.0040ed40
cmp edi, 0x200
jae 0x402b3c
push esi
call fcn.005294e0
add esp, 4
xor esi, esi
mov dword [ebp - 0x2a8], esi
test esi, esi
je 0x402b51
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x2bc], eax
jmp 0x402a90
mov edi, dword [ebp - 0x260]
mov dword [ebp - 0x2bc], edi
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0
call fcn.00403d90
test edi, edi
je 0x403555
cmp edi, 8
jb 0x403555
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
movq qword [ebp - 0x258], xmm0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
mov esi, dword [ebp - 0x25c]
lea edx, [ebp - 0x270]
cmp esi, 0x10
lea eax, [ebp - 0x270]
cmovae ecx, dword [ebp - 0x270]
add ecx, 8
cmp esi, 0x10
mov dword [ebp - 0x2b4], ecx
cmovae edx, dword [ebp - 0x270]
cmovae eax, dword [ebp - 0x270]
mov dword [ebp - 0x2a8], eax
lea edx, [edi + edx]
mov dword [ebp - 0x2c0], edx
test edi, edi
je 0x402c2d
cmp edi, 0x7fffffff
ja 0x4035ae
push edi
lea ecx, [ebp - 0x258]
call fcn.00403c70
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ebp - 0x2c0]
mov eax, dword [eax + 4]
cmp eax, 0xcd462
jne 0x402c51
lea eax, [ebp - 0x258]
push eax
push edx
mov edx, ecx
lea ecx, [ebp - 0x234]
call fcn.00404130
jmp 0x40330c
cmp eax, 0x37363534
jne 0x4032eb
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
movq qword [ebp - 0x240], xmm0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x240]
mov esi, dword [ebp - 0x2a4]
mov eax, esi
or eax, 0x77000
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x2a4]
push eax
push 0
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov edx, esi
mov eax, dword [ebp - 0x23c]
or edx, 0x69000
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x2a4], edx
cmp ecx, eax
je 0x402cf1
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x402d10
lea ecx, [ebp - 0x2a4]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov edx, esi
or edx, 0x70000
mov dword [ebp - 0x2a4], edx
cmp ecx, eax
je 0x402d2f
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x402d4e
lea ecx, [ebp - 0x2a4]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov edx, esi
or edx, 0x65000
mov dword [ebp - 0x2a8], edx
mov dword [ebp - 0x2a4], edx
cmp ecx, eax
je 0x402d73
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x402d92
lea ecx, [ebp - 0x2a4]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov edx, esi
or edx, 0x72000
mov dword [ebp - 0x2a4], edx
cmp ecx, eax
je 0x402db1
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x402dd0
lea ecx, [ebp - 0x2a4]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2ac], edx
cmp ecx, eax
je 0x402ded
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x402e0c
lea ecx, [ebp - 0x2ac]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x234], edx
cmp ecx, eax
je 0x402e29
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x402e48
lea ecx, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov edx, esi
or edx, 0x6c000
mov dword [ebp - 0x2ac], edx
mov dword [ebp - 0x234], edx
cmp ecx, eax
je 0x402e6d
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x402e92
lea ecx, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x234], edx
cmp ecx, eax
je 0x402ea9
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x402ec8
lea ecx, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov edx, esi
or edx, 0x73000
mov dword [ebp - 0x234], edx
cmp ecx, eax
je 0x402ee7
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x402f06
lea ecx, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov edx, esi
or edx, 0x75000
mov dword [ebp - 0x234], edx
cmp ecx, eax
je 0x402f25
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x402f44
lea ecx, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov edx, esi
or edx, 0x63000
mov dword [ebp - 0x2ac], edx
mov dword [ebp - 0x234], edx
cmp ecx, eax
je 0x402f69
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x402f8e
lea ecx, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x234], edx
cmp ecx, eax
je 0x402fa5
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x402fc4
lea ecx, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x234], edx
cmp ecx, eax
je 0x402fe1
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x403006
lea ecx, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x234], edx
cmp ecx, eax
je 0x40301d
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x40303c
lea ecx, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
or esi, 0x64000
mov dword [ebp - 0x234], esi
cmp ecx, eax
je 0x403059
mov dword [eax], esi
add eax, 4
mov dword [ebp - 0x23c], eax
jmp 0x40306c
lea ecx, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00404620
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
push edi
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 4
call fcn.00403980
mov edx, dword [ebp - 0x2b4]
lea eax, [ebp - 0x288]
push eax
push dword [ebp - 0x2c0]
lea ecx, [ebp - 0x234]
call fcn.00404310
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x258]
add esp, 8
mov dword [ebp - 0x254], eax
push dword [ebp - 0x278]
call fcn.00403860
cmp dword [ebp - 0x274], 0x10
lea edx, [ebp - 0x288]
mov eax, dword [ebp - 0x278]
lea esi, [ebp - 0x288]
cmovae edx, dword [ebp - 0x288]
mov edi, dword [ebp - 0x240]
mov dword [ebp - 0x234], eax
add eax, edx
cmp dword [ebp - 0x274], 0x10
mov dword [ebp - 0x2a4], eax
cmovae esi, dword [ebp - 0x288]
mov eax, dword [ebp - 0x23c]
sub eax, edi
mov dword [ebp - 0x2ac], edx
sar eax, 2
cmp eax, 0x10
jne 0x403242
push 0xf4
xorps xmm0, xmm0
lea eax, [ebp - 0x124]
push 0
push eax
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.00525340
mov ecx, dword [ebp - 0x23c]
lea edx, [ebp - 0x20]
add esp, 0xc
cmp edi, ecx
je 0x403172
nop
mov eax, dword [edi]
lea edx, [edx + 1]
shr eax, 0xc
add edi, 4
mov byte [edx - 1], al
cmp edi, ecx
jne 0x403160
lea edx, [ebp - 0x124]
lea ecx, [ebp - 0x20]
call fcn.004a6a20
mov edi, dword [ebp - 0x2ac]
xorps xmm0, xmm0
add edi, dword [ebp - 0x234]
movups xmmword [ebp - 0x20], xmm0
cmp esi, edi
je 0x403242
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x2a8], eax
nop word [eax + eax]
lea ecx, [ebp - 0x30]
mov edx, 0x10
cmp esi, edi
je 0x4031c3
mov al, byte [esi]
inc esi
mov byte [ecx], al
jmp 0x4031c6
mov byte [ecx], 0
inc ecx
sub edx, 1
jne 0x4031b8
lea eax, [ebp - 0x124]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x30]
call fcn.004a7100
mov ecx, dword [ebp - 0x2a8]
lea edi, [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x2b4], 0x10
cmp dword [ebp - 0x250], ecx
je 0x40320f
mov al, byte [edi]
mov byte [ecx], al
mov ecx, dword [ebp - 0x254]
inc ecx
mov dword [ebp - 0x254], ecx
jmp 0x403222
push edi
push ecx
lea ecx, [ebp - 0x258]
call fcn.00404520
mov ecx, dword [ebp - 0x254]
inc edi
sub dword [ebp - 0x2b4], 1
jne 0x4031f4
mov edi, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], ecx
cmp esi, edi
jne 0x4031b0
jmp 0x403248
mov ecx, dword [ebp - 0x254]
mov byte [ebp - 0x2ad], 0
cmp dword [ebp - 0x250], ecx
je 0x403262
mov byte [ecx], 0
inc dword [ebp - 0x254]
jmp 0x403275
lea eax, [ebp - 0x2ad]
push eax
push ecx
lea ecx, [ebp - 0x258]
call fcn.00404520
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x274]
cmp edx, 0x10
jb 0x4032b3
mov ecx, dword [ebp - 0x288]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4032a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035b3
push edx
push ecx
call fcn.0051ec14
add esp, 8
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
mov byte [ebp - 4], 2
call fcn.00403d30
mov edi, dword [ebp - 0x2bc]
mov esi, dword [ebp - 0x25c]
jmp 0x40330f
lea eax, [ebp - 0x258]
push eax
push edx
mov edx, ecx
lea ecx, [ebp - 0x234]
call fcn.00404b10
mov edi, dword [ebp - 0x260]
mov esi, dword [ebp - 0x25c]
add esp, 8
push 0xe
push str.inst.xml:instl
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.00403f90
mov ecx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 5
push eax
call fcn.004026a0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x2b8], eax
cmp edx, 0x10
jb 0x4033a3
mov ecx, dword [ebp - 0x288]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403393
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035b8
push edx
push ecx
call fcn.0051ec14
mov eax, dword [ebp - 0x2b8]
add esp, 8
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
test eax, eax
jne 0x4033c9
xor esi, esi
jmp 0x4034fb
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
push edi
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 6
call fcn.00403980
cmp esi, 0x10
lea eax, [ebp - 0x270]
lea esi, [ebp - 0x270]
cmovae eax, dword [ebp - 0x270]
cmp dword [ebp - 0x25c], 0x10
cmovae esi, dword [ebp - 0x270]
add eax, edi
mov ecx, eax
xor edx, edx
sub ecx, esi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x2a4], ecx
test ecx, ecx
je 0x403497
mov dl, byte [esi]
mov ecx, dword [ebp - 0x290]
mov byte [ebp - 0x234], dl
cmp ecx, dword [ebp - 0x28c]
jae 0x40346e
cmp dword [ebp - 0x28c], 0x10
lea eax, [ecx + 1]
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2a0]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x40348d
push dword [ebp - 0x234]
mov byte [ebp - 0x2ac], 0
push dword [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x2a0]
call fcn.00404750
inc edi
inc esi
cmp edi, dword [ebp - 0x2a4]
jne 0x403431
push 4
push str.DESC
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.00403f90
mov esi, dword [ebp - 0x2b8]
lea eax, [ebp - 0x2a0]
push 0
push eax
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 7
push eax
mov ecx, esi
call fcn.00410d00
lea ecx, [ebp - 0x24c]
call fcn.00403b20
lea ecx, [ebp - 0x2a0]
call fcn.00403b20
mov ecx, dword [ebp - 0x258]
test ecx, ecx
je 0x403557
mov edx, dword [ebp - 0x250]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40352b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035bd
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
jmp 0x403557
xor esi, esi
mov eax, dword [ebp - 0x25c]
mov edx, dword [ebp - 0x270]
cmp eax, 0x10
jb 0x40358f
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x403585
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4035c2
push ecx
push edx
call fcn.0051ec14
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
call fcn.00403c60
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
int3