Function at 0x406279
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432618
mov eax, dword fs:[0]
push eax
mov eax, 0x1080
call fcn.0040bd80
mov eax, dword [0x43f330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push edi
call fcn.0040113b
xor ebx, ebx
mov esi, eax
mov dword [esp], 0x1000
lea eax, [ebp - 0x1010]
push ebx
push eax
mov dword [ebp - 0x106c], ebx
call fcn.0040b920
add esi, 7
mov eax, esi
push 2
neg eax
push eax
push edi
call fcn.0040c146
push edi
push 7
lea eax, [ebp - 0x1010]
push 1
push eax
call fcn.0040c09f
lea eax, [ebp - 0x1010]
push str.SECTION
push eax
mov byte [ebp - 0x1009], bl
call fcn.0040bdb0
add esp, 0x30
test eax, eax
jne 0x40669f
add esi, 4
mov eax, esi
push 2
neg eax
push eax
push edi
call fcn.0040c146
push edi
push 1
lea eax, [ebp - 0x1068]
push 4
push eax
call fcn.0040c09f
add esp, 0x1c
cmp dword [ebp - 0x1068], ebx
jle 0x40669f
add esi, dword [ebp - 0x1068]
push 2
mov eax, esi
neg eax
push eax
push edi
call fcn.0040c146
push edi
push dword [ebp - 0x1068]
lea eax, [ebp - 0x1010]
push 1
push eax
call fcn.0040c09f
mov eax, dword [ebp - 0x1068]
mov byte [ebp + eax - 0x1010], bl
lea eax, [ebp - 0x1010]
mov ecx, esp
mov dword [ebp - 0x1070], esp
push eax
call fcn.0040136b
push dword [ebp - 0x106c]
mov ecx, 0x440a98
call fcn.0040102d
lea eax, [ebp - 0x1010]
push str._BINDATA_
push eax
call fcn.0040bdb0
add esi, 9
mov eax, esi
push 2
neg eax
push eax
push edi
mov dword [ebp - 0x1078], ebx
call fcn.0040c146
push edi
push 9
lea eax, [ebp - 0x1010]
push 1
push eax
mov byte [ebp - 0x1010], bl
call fcn.0040c09f
lea eax, [ebp - 0x1010]
push str.INFOFIELD
push eax
mov byte [ebp - 0x1007], bl
call fcn.0040bdb0
add esp, 0x2c
jmp 0x406625
add esi, 4
mov eax, esi
push 2
neg eax
push eax
push edi
call fcn.0040c146
push edi
push 1
lea eax, [ebp - 0x1068]
push 4
push eax
call fcn.0040c09f
add esp, 0x1c
cmp dword [ebp - 0x1068], ebx
jle 0x40669f
mov dword [ebp - 0x108c], ebx
mov dword [ebp - 0x1088], ebx
mov dword [ebp - 0x1084], ebx
push dword [ebp - 0x1068]
lea ecx, [ebp - 0x108c]
mov dword [ebp - 4], ebx
call fcn.0040131b
add esi, dword [ebp - 0x1068]
push 2
mov eax, esi
neg eax
push eax
push edi
call fcn.0040c146
push edi
push dword [ebp - 0x1068]
push 1
push dword [ebp - 0x108c]
call fcn.0040c09f
mov ecx, dword [ebp - 0x108c]
mov edx, dword [ebp - 0x1088]
add esp, 0x1c
mov eax, ecx
cmp ecx, edx
je 0x406694
cmp byte [eax], 0x3d
je 0x406497
inc eax
cmp eax, edx
jne 0x40648d
cmp eax, edx
je 0x406694
sub eax, ecx
mov dword [ebp - 0x1074], eax
push dword [ebp - 0x1074]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x1070], eax
sub eax, dword [ebp - 0x1074]
push ecx
dec eax
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x107c], eax
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], ebx
mov byte [ebp - 0x1048], bl
call fcn.004010e1
push 0xf
pop eax
mov dword [ebp - 0x1050], eax
mov dword [ebp - 0x1054], ebx
mov byte [ebp - 0x1064], bl
mov byte [ebp - 4], 2
cmp dword [ebp - 0x107c], ebx
jle 0x406567
mov edx, dword [ebp - 0x1074]
mov ecx, dword [ebp - 0x108c]
mov dword [ebp - 0x1018], eax
mov eax, dword [ebp - 0x1070]
sub eax, edx
dec eax
lea ecx, [ecx + edx + 1]
push eax
push ecx
lea ecx, [ebp - 0x102c]
mov dword [ebp - 0x101c], ebx
mov byte [ebp - 0x102c], bl
call fcn.004010e1
lea eax, [ebp - 0x102c]
push eax
lea ecx, [ebp - 0x1064]
mov byte [ebp - 4], 3
call fcn.0040115e
push ebx
push 1
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 2
call fcn.004012cb
sub esp, 0x1c
lea eax, [ebp - 0x1064]
mov ecx, esp
mov dword [ebp - 0x1070], esp
push eax
call fcn.00401348
sub esp, 0x1c
lea eax, [ebp - 0x1048]
mov ecx, esp
mov dword [ebp - 0x107c], esp
push eax
mov byte [ebp - 4], 4
call fcn.00401348
push dword [ebp - 0x1078]
mov ecx, 0x440a98
push dword [ebp - 0x106c]
mov byte [ebp - 4], 2
call fcn.0040123a
inc dword [ebp - 0x1078]
push ebx
push 1
lea ecx, [ebp - 0x1064]
call fcn.004012cb
push ebx
push 1
lea ecx, [ebp - 0x1048]
call fcn.004012cb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108c]
call fcn.004012c6
add esi, 9
mov eax, esi
push 2
neg eax
push eax
push edi
call fcn.0040c146
push edi
push 9
lea eax, [ebp - 0x1010]
push 1
push eax
mov byte [ebp - 0x1010], bl
call fcn.0040c09f
lea eax, [ebp - 0x1010]
push str.INFOFIELD
push eax
mov byte [ebp - 0x1007], bl
call fcn.0040bdb0
add esp, 0x24
test eax, eax
je 0x4063f7
inc dword [ebp - 0x106c]
push 0x1000
lea eax, [ebp - 0x1010]
push ebx
push eax
call fcn.0040b920
sub esi, 2
mov eax, esi
push 2
neg eax
push eax
push edi
call fcn.0040c146
push edi
push 7
lea eax, [ebp - 0x1010]
push 1
push eax
call fcn.0040c09f
lea eax, [ebp - 0x1010]
push str.SECTION
push eax
mov byte [ebp - 0x1009], bl
call fcn.0040bdb0
add esp, 0x30
test eax, eax
je 0x406311
cmp dword [ebp - 0x106c], ebx
je 0x40669f
mov al, 1
jmp 0x4066a1
lea ecx, [ebp - 0x108c]
call fcn.004012c6
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040abe0
leave
ret