Function at 0x42aa30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5524
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x4e64ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1bc], esi
mov edx, 0x14
lea eax, [ebp - 0x198]
mov dword [eax - 8], 0
lea eax, [eax + 0x14]
mov dword [eax - 0x18], 0
mov dword [eax - 0x14], 0
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub edx, 1
jne 0x42aa71
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x1b8], edx
mov dword [ebp - 0x1a4], edx
test eax, eax
je 0x42acd2
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x1a8], eax
lea eax, [edx*4]
mov dword [ebp - 0x1b4], 0
push 0x4bf778
push dword [eax + ecx]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1c4], 0
call fcn.0048f7dc
mov esi, eax
add esp, 8
test esi, esi
je 0x42acac
push 2
push 0
push esi
call fcn.0048ff27
push esi
call fcn.0049054f
push 0
push 0
push esi
mov edi, eax
call fcn.0048ff27
push edi
call fcn.0045b4f7
push esi
push edi
mov ebx, eax
push 1
push ebx
mov dword [ebp - 0x1d0], ebx
call fcn.0048fa8c
add esp, 0x30
cmp eax, edi
jne 0x42ab4f
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x1c4], 1
jmp 0x42ab64
push 1
push ebx
call fcn.0045b4e9
add esp, 8
mov dword [ebp - 0x1d0], 0
push esi
call fcn.0048f0e4
add esp, 4
cmp dword [ebp - 0x1c4], 0
je 0x42acac
call fcn.00409ca0
mov ecx, eax
test ecx, ecx
je 0x42b6db
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c4], eax
push dword [ebp - 0x1a4]
lea eax, [ebp - 0x1c4]
mov dword [ebp - 4], 0
push str.file_d
push eax
call fcn.00409ba0
mov esi, dword [ebp - 0x1c4]
lea ecx, [ebp - 0x1b0]
add esp, 0xc
push esi
call fcn.00429740
mov ebx, dword [ebp - 0x1ac]
mov byte [ebp - 4], 1
lea edi, [ebx + 1]
push edi
call fcn.0045b4f7
push edi
push 0
push eax
mov dword [ebp - 0x1cc], eax
call fcn.00461360
mov edi, dword [ebp - 0x1b0]
push ebx
push edi
push dword [ebp - 0x1cc]
call fcn.00460860
add esp, 0x1c
mov byte [ebp - 4], 0
test edi, edi
je 0x42ac15
push 1
push edi
call fcn.0045b4e9
add esp, 8
mov ebx, dword [ebp - 0x1a8]
mov ecx, 1
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebx - 4], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebx], 3
mov edi, dword [eax + 0x10]
add edi, dword [ebp - 0x1c0]
mov edx, dword [edi]
sub ecx, dword [edx - 4]
mov eax, dword [edx - 8]
or eax, ecx
jge 0x42ac69
push 0
mov ecx, edi
call fcn.0040aa80
mov edx, dword [edi]
mov eax, dword [ebp - 0x1d0]
add esi, 0xfffffff0
inc dword [ebp - 0x1b8]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebx + 4], eax
or eax, 0xffffffff
mov dword [ebx + 0xc], edx
add ebx, 0x14
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42acac
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x1a4]
inc edx
mov dword [ebp - 0x1a4], edx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x42aac7
call fcn.00409ca0
mov ecx, eax
test ecx, ecx
je 0x42b6db
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1a4], eax
mov eax, 0x4bf790
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1a4]
test eax, 0xffff0000
jne 0x42ad13
movzx eax, ax
push eax
call fcn.0040a8d0
jmp 0x42ad1f
push 3
push 0x4bf790
call fcn.0040abc0
mov esi, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1b0]
push esi
mov dword [ebp - 4], 3
call fcn.00429740
mov ebx, dword [ebp - 0x1ac]
mov byte [ebp - 4], 4
lea edi, [ebx + 1]
push edi
call fcn.0045b4f7
push edi
push 0
push eax
mov dword [ebp - 0x1a8], eax
call fcn.00461360
mov edi, dword [ebp - 0x1b0]
push ebx
push edi
push dword [ebp - 0x1a8]
call fcn.00460860
add esp, 0x1c
test edi, edi
je 0x42ad7f
push 1
push edi
call fcn.0045b4e9
add esp, 8
mov ebx, dword [ebp - 0x1b8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0xffffffff
lea edi, [ebx + ebx*4]
shl edi, 2
mov dword [ebp - 0x1b4], edi
mov dword [ebp + edi - 0x1a0], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42adbd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1b0]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x1c]
call fcn.00429740
mov edi, dword [ebp - 0x1ac]
mov dword [ebp - 4], 5
lea esi, [edi + 1]
push esi
call fcn.0045b4f7
push esi
push 0
push eax
mov dword [ebp - 0x1c0], eax
call fcn.00461360
mov esi, dword [ebp - 0x1b0]
push edi
mov edi, dword [ebp - 0x1c0]
push esi
push edi
call fcn.00460860
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42ae2e
push 1
push esi
call fcn.0045b4e9
add esp, 8
mov eax, dword [ebp - 0x1bc]
inc ebx
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], ebx
mov eax, dword [eax + 0x1c]
mov dword [ebp + ecx - 0x194], edi
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp + ecx - 0x198], eax
call fcn.00409ca0
mov ecx, eax
test ecx, ecx
je 0x42b6e5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1a4], eax
mov eax, 0x4bf798
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x1a4]
test eax, 0xffff0000
jne 0x42ae9d
movzx eax, ax
push eax
call fcn.0040a8d0
jmp 0x42aea9
push 3
push 0x4bf798
call fcn.0040abc0
mov esi, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1b0]
push esi
mov dword [ebp - 4], 7
call fcn.00429740
mov ebx, dword [ebp - 0x1ac]
mov byte [ebp - 4], 8
lea edi, [ebx + 1]
push edi
call fcn.0045b4f7
push edi
push 0
push eax
mov dword [ebp - 0x1a8], eax
call fcn.00461360
mov edi, dword [ebp - 0x1b0]
push ebx
push edi
push dword [ebp - 0x1a8]
call fcn.00460860
add esp, 0x1c
test edi, edi
je 0x42af09
push 1
push edi
call fcn.0045b4e9
add esp, 8
mov ebx, dword [ebp - 0x1b8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0xffffffff
lea edi, [ebx + ebx*4]
shl edi, 2
mov dword [ebp - 0x1b4], edi
mov dword [ebp + edi - 0x1a0], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42af47
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1b0]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x20]
call fcn.00429740
mov edi, dword [ebp - 0x1ac]
mov dword [ebp - 4], 9
lea esi, [edi + 1]
push esi
call fcn.0045b4f7
push esi
push 0
push eax
mov dword [ebp - 0x1c0], eax
call fcn.00461360
mov esi, dword [ebp - 0x1b0]
push edi
mov edi, dword [ebp - 0x1c0]
push esi
push edi
call fcn.00460860
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42afb8
push 1
push esi
call fcn.0045b4e9
add esp, 8
mov eax, dword [ebp - 0x1bc]
inc ebx
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], ebx
mov eax, dword [eax + 0x20]
mov dword [ebp + ecx - 0x194], edi
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp + ecx - 0x198], eax
call fcn.00409ca0
mov ecx, eax
test ecx, ecx
je 0x42b6ef
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1a4], eax
mov eax, str.mid2
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x1a4]
test eax, 0xffff0000
jne 0x42b027
movzx eax, ax
push eax
call fcn.0040a8d0
jmp 0x42b033
push 4
push str.mid2
call fcn.0040abc0
mov esi, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1b0]
push esi
mov dword [ebp - 4], 0xb
call fcn.00429740
mov ebx, dword [ebp - 0x1ac]
mov byte [ebp - 4], 0xc
lea edi, [ebx + 1]
push edi
call fcn.0045b4f7
push edi
push 0
push eax
mov dword [ebp - 0x1a8], eax
call fcn.00461360
mov edi, dword [ebp - 0x1b0]
push ebx
push edi
push dword [ebp - 0x1a8]
call fcn.00460860
add esp, 0x1c
test edi, edi
je 0x42b093
push 1
push edi
call fcn.0045b4e9
add esp, 8
mov ebx, dword [ebp - 0x1b8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0xffffffff
lea edi, [ebx + ebx*4]
shl edi, 2
mov dword [ebp - 0x1b4], edi
mov dword [ebp + edi - 0x1a0], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42b0d1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1b0]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x24]
call fcn.00429740
mov edi, dword [ebp - 0x1ac]
mov dword [ebp - 4], 0xd
lea esi, [edi + 1]
push esi
call fcn.0045b4f7
push esi
push 0
push eax
mov dword [ebp - 0x1c0], eax
call fcn.00461360
mov esi, dword [ebp - 0x1b0]
push edi
mov edi, dword [ebp - 0x1c0]
push esi
push edi
call fcn.00460860
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42b142
push 1
push esi
call fcn.0045b4e9
add esp, 8
mov eax, dword [ebp - 0x1bc]
inc ebx
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], ebx
mov eax, dword [eax + 0x24]
mov dword [ebp + ecx - 0x194], edi
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp + ecx - 0x198], eax
call fcn.00409ca0
mov ecx, eax
test ecx, ecx
je 0x42b6f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1a4], eax
mov eax, str.contact
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x1a4]
test eax, 0xffff0000
jne 0x42b1b1
movzx eax, ax
push eax
call fcn.0040a8d0
jmp 0x42b1bd
push 7
push str.contact
call fcn.0040abc0
mov esi, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1b0]
push esi
mov dword [ebp - 4], 0xf
call fcn.00429740
mov ebx, dword [ebp - 0x1ac]
mov byte [ebp - 4], 0x10
lea edi, [ebx + 1]
push edi
call fcn.0045b4f7
push edi
push 0
push eax
mov dword [ebp - 0x1a8], eax
call fcn.00461360
mov edi, dword [ebp - 0x1b0]
push ebx
push edi
push dword [ebp - 0x1a8]
call fcn.00460860
add esp, 0x1c
test edi, edi
je 0x42b21d
push 1
push edi
call fcn.0045b4e9
add esp, 8
mov ebx, dword [ebp - 0x1b8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0xffffffff
lea edi, [ebx + ebx*4]
shl edi, 2
mov dword [ebp - 0x1b4], edi
mov dword [ebp + edi - 0x1a0], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42b25b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1b0]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x28]
call fcn.00429740
mov edi, dword [ebp - 0x1ac]
mov dword [ebp - 4], 0x11
lea esi, [edi + 1]
push esi
call fcn.0045b4f7
push esi
push 0
push eax
mov dword [ebp - 0x1c0], eax
call fcn.00461360
mov esi, dword [ebp - 0x1b0]
push edi
mov edi, dword [ebp - 0x1c0]
push esi
push edi
call fcn.00460860
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42b2cc
push 1
push esi
call fcn.0045b4e9
add esp, 8
mov eax, dword [ebp - 0x1bc]
inc ebx
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], ebx
mov eax, dword [eax + 0x28]
mov dword [ebp + ecx - 0x194], edi
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp + ecx - 0x198], eax
call fcn.00409ca0
mov ecx, eax
test ecx, ecx
je 0x42b703
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1a4], eax
mov eax, 0x4bf7bc
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x1a4]
test eax, 0xffff0000
jne 0x42b33b
movzx eax, ax
push eax
call fcn.0040a8d0
jmp 0x42b347
push 3
push 0x4bf7bc
call fcn.0040abc0
mov esi, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1b0]
push esi
mov dword [ebp - 4], 0x13
call fcn.00429740
mov ebx, dword [ebp - 0x1ac]
mov byte [ebp - 4], 0x14
lea edi, [ebx + 1]
push edi
call fcn.0045b4f7
push edi
push 0
push eax
mov dword [ebp - 0x1a8], eax
call fcn.00461360
mov edi, dword [ebp - 0x1b0]
push ebx
push edi
push dword [ebp - 0x1a8]
call fcn.00460860
add esp, 0x1c
test edi, edi
je 0x42b3a7
push 1
push edi
call fcn.0045b4e9
add esp, 8
mov ebx, dword [ebp - 0x1b8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 4], 0xffffffff
lea edi, [ebx + ebx*4]
shl edi, 2
mov dword [ebp - 0x1b4], edi
mov dword [ebp + edi - 0x1a0], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42b3e5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1b0]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x2c]
call fcn.00429740
mov edi, dword [ebp - 0x1ac]
mov dword [ebp - 4], 0x15
lea esi, [edi + 1]
push esi
call fcn.0045b4f7
push esi
push 0
push eax
mov dword [ebp - 0x1c0], eax
call fcn.00461360
mov esi, dword [ebp - 0x1b0]
push edi
mov edi, dword [ebp - 0x1c0]
push esi
push edi
call fcn.00460860
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42b456
push 1
push esi
call fcn.0045b4e9
add esp, 8
mov ecx, dword [ebp - 0x1bc]
inc ebx
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], ebx
mov eax, dword [ecx + 0x2c]
mov dword [ebp + edx - 0x194], edi
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp + edx - 0x198], eax
lea eax, [ebp - 0x1c8]
push eax
call fcn.00429f30
mov dword [ebp - 4], 0x16
call fcn.00409ca0
mov ecx, eax
test ecx, ecx
je 0x42b70d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1a4], eax
mov eax, str.verify
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1a4]
test eax, 0xffff0000
jne 0x42b4d5
movzx eax, ax
push eax
call fcn.0040a8d0
jmp 0x42b4e1
push 6
push str.verify
call fcn.0040abc0
mov esi, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1b0]
push esi
mov byte [ebp - 4], 0x18
call fcn.00429740
mov ebx, dword [ebp - 0x1ac]
mov byte [ebp - 4], 0x19
lea edi, [ebx + 1]
push edi
call fcn.0045b4f7
push edi
push 0
push eax
mov dword [ebp - 0x1a8], eax
call fcn.00461360
mov edi, dword [ebp - 0x1b0]
push ebx
push edi
push dword [ebp - 0x1a8]
call fcn.00460860
add esp, 0x1c
test edi, edi
je 0x42b53e
push 1
push edi
call fcn.0045b4e9
add esp, 8
mov ebx, dword [ebp - 0x1b8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1a8]
mov byte [ebp - 4], 0x16
lea edi, [ebx + ebx*4]
shl edi, 2
mov dword [ebp - 0x1b4], edi
mov dword [ebp + edi - 0x1a0], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42b579
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x1c8]
lea ecx, [ebp - 0x1b0]
mov dword [ebp + edi - 0x19c], 1
call fcn.00429740
mov edi, dword [ebp - 0x1ac]
mov byte [ebp - 4], 0x1a
lea esi, [edi + 1]
push esi
call fcn.0045b4f7
push esi
push 0
push eax
mov dword [ebp - 0x1c0], eax
call fcn.00461360
mov esi, dword [ebp - 0x1b0]
push edi
mov edi, dword [ebp - 0x1c0]
push esi
push edi
call fcn.00460860
add esp, 0x1c
mov byte [ebp - 4], 0x16
test esi, esi
je 0x42b5e1
push 1
push esi
call fcn.0045b4e9
add esp, 8
mov ecx, dword [ebp - 0x1b4]
inc ebx
mov eax, dword [ebp - 0x1c8]
push 1
mov dword [ebp + ecx - 0x194], edi
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x1dc], ebx
lea eax, [eax*2 + 2]
mov dword [ebp + ecx - 0x198], eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.0045f9d0
add esp, 8
push dword [ebp - 0x1bc]
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 0x1b
push eax
push dword [ebp - 0x1d4]
call fcn.0042c0a0
mov ecx, eax
call fcn.0042c3a0
test ebx, ebx
jle 0x42b674
lea esi, [ebp - 0x194]
push 1
push dword [esi - 0xc]
call fcn.0045b4e9
push 1
push dword [esi]
call fcn.0045b4e9
add esp, 0x10
lea esi, [esi + 0x14]
sub ebx, 1
jne 0x42b656
mov edx, dword [ebp - 0x1d4]
or ebx, 0xffffffff
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b698
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42b6ba
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b907
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004099e0
push 0x80004005
call fcn.004099e0
push 0x80004005
call fcn.004099e0
push 0x80004005
call fcn.004099e0
push 0x80004005
call fcn.004099e0
push 0x80004005
call fcn.004099e0
int3