Function at 0x411870
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c269
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x3cc
mov eax, dword [0x468fc0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x320], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00411700
mov dword [ebp - 0x398], eax
mov ecx, dword [ebp - 0x398]
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x7c], 0
jne 0x411d2c
lea edx, [ebp - 0x319]
mov dword [ebp - 0x318], edx
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 4], 1
push 0
push 0
lea ecx, [ebp - 0x17c]
call fcn.004024e0
mov ecx, dword [0x449e20]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x17c]
call fcn.00402820
mov byte [ebp - 4], 2
push 0x30
push 0
lea eax, [ebp - 0xb8]
push eax
call fcn.00439a32
add esp, 0xc
cmp dword [ebp - 0x168], 8
jb 0x411946
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x3a0], ecx
jmp 0x411952
lea edx, [ebp - 0x17c]
mov dword [ebp - 0x3a0], edx
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x3a0]
push ecx
call dword [0x441404]
add esp, 8
cmp dword [ebp - 0xa4], 0
jne 0x41199b
mov byte [ebp - 0x2e5], 0
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x17c]
call fcn.004024e0
mov byte [ebp - 4], 0
mov al, byte [ebp - 0x2e5]
jmp 0x4121b2
cmp dword [ebp - 0x168], 8
jb 0x4119b2
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x3a4], edx
jmp 0x4119be
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x3a4], eax
push 0x449f5c
mov ecx, dword [ebp - 0x3a4]
push ecx
call dword [0x44142c]
add esp, 8
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x411a0b
mov byte [ebp - 0x2e6], 0
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x17c]
call fcn.004024e0
mov byte [ebp - 4], 0
mov al, byte [ebp - 0x2e6]
jmp 0x4121b2
mov edx, dword [ebp - 0xa4]
add edx, 1
push edx
call fcn.0043996a
add esp, 4
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp - 0x3a8]
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2ec]
mov dword [ebp - 0x184], ecx
cmp dword [ebp - 0x184], 0
jne 0x411a6d
mov byte [ebp - 0x2ed], 0
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x17c]
call fcn.004024e0
mov byte [ebp - 4], 0
mov al, byte [ebp - 0x2ed]
jmp 0x4121b2
mov edx, dword [ebp - 0xa4]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x184]
push eax
call fcn.00439a32
add esp, 0xc
mov ecx, dword [ebp - 0x84]
push ecx
push 1
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0x184]
push eax
call dword [0x441424]
add esp, 0x10
mov ecx, dword [ebp - 0x184]
add ecx, dword [ebp - 0xa4]
mov byte [ecx], 0
mov eax, dword [ebp - 0xa4]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043996a
add esp, 4
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x2f4]
mov dword [ebp - 0x180], ecx
cmp dword [ebp - 0x180], 0
jne 0x411b57
cmp dword [ebp - 0x184], 0
je 0x411b2e
mov edx, dword [ebp - 0x184]
mov dword [ebp - 0x2f8], edx
mov eax, dword [ebp - 0x2f8]
push eax
call fcn.00439e22
add esp, 4
mov dword [ebp - 0x184], 0
mov byte [ebp - 0x2f9], 0
mov byte [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x17c]
call fcn.004024e0
mov byte [ebp - 4], 0
mov al, byte [ebp - 0x2f9]
jmp 0x4121b2
mov ecx, dword [ebp - 0xa4]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x180]
push eax
call fcn.00439a32
add esp, 0xc
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x184]
push eax
call fcn.00439e1c
add esp, 4
push eax
mov ecx, dword [ebp - 0x184]
push ecx
push 0
push 0
call dword [0x441078]
xor edx, edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x180]
mov word [ecx + eax*2], dx
push 1
push 3
lea ecx, [ebp - 0x160]
call fcn.00406220
mov dword [ebp - 0x3b0], eax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x160]
test edx, edx
je 0x411be8
lea eax, [ebp - 0x160]
add eax, 0x10
mov dword [ebp - 0x3b4], eax
jmp 0x411bf2
mov dword [ebp - 0x3b4], 0
mov ecx, dword [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x3b4]
push edx
call fcn.00405110
mov dword [ebp - 0x3b8], eax
push 0x449e2c
mov eax, dword [ebp - 0x3b8]
push eax
call fcn.00405110
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x160]
call fcn.00407af0
mov dword [ebp - 0x3bc], eax
mov edx, dword [ebp - 0x3bc]
mov dword [ebp - 0x324], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x324]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402b30
mov byte [ebp - 4], 9
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004024e0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x84], 0
je 0x411c87
mov ecx, dword [ebp - 0x84]
push ecx
call dword [0x4413e4]
add esp, 4
mov dword [ebp - 0x84], 0
cmp dword [ebp - 0x180], 0
je 0x411cb5
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x300], edx
mov eax, dword [ebp - 0x300]
push eax
call fcn.00439e22
add esp, 4
mov dword [ebp - 0x180], 0
cmp dword [ebp - 0x184], 0
je 0x411ce3
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x304], ecx
mov edx, dword [ebp - 0x304]
push edx
call fcn.00439e22
add esp, 4
mov dword [ebp - 0x184], 0
mov byte [ebp - 0x305], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x100]
call fcn.004058f0
lea ecx, [ebp - 0x100]
call dword [0x441234]
mov byte [ebp - 4], 0xa
push 0
push 1
lea ecx, [ebp - 0x17c]
call fcn.004024e0
mov byte [ebp - 4], 0
mov al, byte [ebp - 0x305]
jmp 0x4121b2
cmp dword [ebp - 0x7c], 1
jne 0x411f28
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00410430
mov dword [ebp - 0x3c0], eax
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x328], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x328]
cmp dword [eax + 0x14], 0x10
jb 0x411d75
mov ecx, dword [ebp - 0x328]
mov edx, dword [ecx]
mov dword [ebp - 0x3c4], edx
jmp 0x411d81
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x3c4], eax
push 1
push 0x40
push 1
mov ecx, dword [ebp - 0x3c4]
push ecx
lea ecx, [ebp - 0x2e0]
call fcn.00414cb0
mov dword [ebp - 0x3c8], eax
mov byte [ebp - 4], 0xe
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.00405c20
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x2e0]
mov eax, dword [edx + 4]
lea ecx, [ebp + eax - 0x2e0]
call dword [0x441294]
mov byte [ebp - 0x3c9], al
movzx ecx, byte [ebp - 0x3c9]
test ecx, ecx
je 0x411e07
mov byte [ebp - 0x306], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.00414dc0
lea ecx, [ebp - 0x278]
call dword [0x441234]
mov al, byte [ebp - 0x306]
jmp 0x4121b2
push 0x3f
push 0x449f50
lea ecx, [ebp - 0x2e4]
call fcn.004121d0
mov dword [ebp - 0x3d0], eax
mov byte [ebp - 4], 0xf
push 0
call dword [0x441290]
add esp, 4
lea edx, [ebp - 0x2e4]
push edx
lea eax, [ebp - 0x30c]
push eax
mov ecx, dword [ebp - 0x2e0]
mov edx, dword [ecx + 4]
lea ecx, [ebp + edx - 0x2e0]
call dword [0x44128c]
lea ecx, [ebp - 0x30c]
call fcn.004040e0
push 1
push 3
lea ecx, [ebp - 0x230]
call fcn.00406220
mov dword [ebp - 0x3d4], eax
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x220]
call dword [0x441288]
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00407af0
mov dword [ebp - 0x3d8], eax
mov edx, dword [ebp - 0x3d8]
mov dword [ebp - 0x33c], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x33c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402b30
mov byte [ebp - 4], 0x12
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.004024e0
mov byte [ebp - 4], 0x10
mov byte [ebp - 0x30d], 1
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1d0]
call fcn.004058f0
lea ecx, [ebp - 0x1d0]
call dword [0x441234]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2e4]
call fcn.004040e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.00414dc0
lea ecx, [ebp - 0x278]
call dword [0x441234]
mov al, byte [ebp - 0x30d]
jmp 0x4121b2
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004123a0
mov byte [ebp - 0x3d9], al
movzx ecx, byte [ebp - 0x3d9]
test ecx, ecx
jne 0x411f5f
xor al, al
jmp 0x4121b2
mov byte [ebp - 0x6d], 0
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x78], 4
jle 0x412030
mov eax, dword [ebp - 0x80]
movzx ecx, word [eax]
cmp ecx, 0xeffe
jne 0x411fa3
mov edx, dword [ebp - 0x80]
movzx eax, word [edx + 2]
test eax, eax
jne 0x411fa3
mov byte [ebp - 0x6d], 1
mov dword [ebp - 0x6c], 2
jmp 0x41202b
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx]
test edx, edx
jne 0x411fc9
mov eax, dword [ebp - 0x80]
movzx ecx, word [eax + 2]
cmp ecx, 0xfeff
jne 0x411fc9
mov byte [ebp - 0x6d], 1
mov dword [ebp - 0x6c], 2
jmp 0x41202b
mov edx, dword [ebp - 0x80]
movzx eax, word [edx]
cmp eax, 0xefbb
jne 0x411ff8
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx + 2]
or edx, 0xff00
cmp edx, 0xbf
jne 0x411ff8
mov byte [ebp - 0x6d], 1
mov dword [ebp - 0x6c], 3
jmp 0x41202b
mov eax, dword [ebp - 0x80]
movzx ecx, word [eax]
cmp ecx, 0xfeff
jne 0x412013
mov byte [ebp - 0x6d], 1
mov dword [ebp - 0x6c], 1
jmp 0x41202b
mov edx, dword [ebp - 0x80]
movzx eax, word [edx]
cmp eax, 0xfffe
jne 0x41202b
mov byte [ebp - 0x6d], 1
mov dword [ebp - 0x6c], 1
jmp 0x412109
cmp dword [ebp - 0x78], 3
jle 0x4120b2
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx]
cmp edx, 0xefbb
jne 0x412060
mov eax, dword [ebp - 0x80]
movzx ecx, word [eax + 2]
cmp ecx, 0xbf
jne 0x412060
mov byte [ebp - 0x6d], 1
mov dword [ebp - 0x6c], 3
jmp 0x4120b0
mov edx, dword [ebp - 0x80]
movzx eax, word [edx]
cmp eax, 0xfe
jne 0x412089
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx + 2]
cmp edx, 0xff
jne 0x412089
mov byte [ebp - 0x6d], 1
mov dword [ebp - 0x6c], 2
jmp 0x4120b0
mov eax, dword [ebp - 0x80]
movzx ecx, word [eax]
cmp ecx, 0xff
jne 0x4120b0
mov edx, dword [ebp - 0x80]
movzx eax, word [edx + 2]
cmp eax, 0xfe
jne 0x4120b0
mov byte [ebp - 0x6d], 1
mov dword [ebp - 0x6c], 2
jmp 0x412109
cmp dword [ebp - 0x78], 2
jle 0x412109
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx]
cmp edx, 0xfe
jne 0x4120e2
mov eax, dword [ebp - 0x80]
movzx ecx, word [eax + 2]
cmp ecx, 0xff
jne 0x4120e2
mov byte [ebp - 0x6d], 1
mov dword [ebp - 0x6c], 2
jmp 0x412109
mov edx, dword [ebp - 0x80]
movzx eax, word [edx]
cmp eax, 0xff
jne 0x412109
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx + 2]
cmp edx, 0xfe
jne 0x412109
mov byte [ebp - 0x6d], 1
mov dword [ebp - 0x6c], 2
movzx eax, byte [ebp - 0x6d]
test eax, eax
je 0x41211d
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x80]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
call dword [0x4413fc]
add esp, 4
mov dword [ebp - 0x354], eax
mov edx, dword [ebp - 0x354]
push edx
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402920
push 0x449e2c
call dword [0x4413fc]
add esp, 4
mov dword [ebp - 0x374], eax
mov ecx, dword [ebp - 0x374]
push ecx
push 0x449e2c
mov ecx, dword [ebp + 0xc]
call fcn.004064f0
mov edx, dword [ebp - 0x74]
push edx
call dword [0x441420]
add esp, 4
jmp 0x41219f
mov dword [ebp - 4], 0xffffffff
jmp 0x4121b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00439a1c
mov esp, ebp
pop ebp
ret 8