Function at 0x10003810
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068e3f
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x1008700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x28c], 0
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x124], 0
movq qword [ebp - 0x11c], xmm0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
push 0x74
lea eax, [ebp - 0x1d0]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.10045670
push 8
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
call fcn.100429c4
lea ecx, [ebp - 0x1d0]
mov dword [eax + 4], 0
mov dword [ebp - 0x1d0], eax
mov dword [eax], ecx
mov byte [ebp - 4], 2
push 8
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0
call fcn.100429c4
lea ecx, [ebp - 0x1bc]
xorps xmm0, xmm0
mov dword [eax + 4], 0
mov dword [ebp - 0x1bc], eax
mov dword [eax], ecx
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0xf
mov byte [ebp - 0x1a8], 0
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0xf
mov byte [ebp - 0x17c], 0
mov dword [ebp - 0x164], 1
mov byte [ebp - 0x160], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
push 0xb8
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.10045670
mov dword [ebp - 0x288], 0x1007d174
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0
add esp, 0x1c
mov byte [ebp - 4], 5
lea eax, [ebp - 0x278]
mov dword [ebp - 0x28c], 1
xorps xmm0, xmm0
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 0x58
push eax
movlpd qword [ebp - 0x280], xmm0
call fcn.10007500
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x288]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x28c], eax
lea ecx, [ebp - 0x278]
call fcn.10007210
mov ecx, dword [0x100892b4]
lea eax, [ebp - 0x274]
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x248], eax
mov eax, dword [0x100892b0]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x230], 0
mov byte [ebp - 0x23b], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x240], 0
push 0x103
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 8
push eax
push esi
mov byte [ebp - 0x114], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [ebp - 0x114], 0
je 0x10004396
cmp dword [ebp - 0x22c], 0
jne 0x10003c2e
push 0x40
lea eax, [ebp - 0x114]
push 0x21
push eax
call fcn.10043f98
add esp, 0xc
test eax, eax
je 0x10003c2e
push 1
push eax
lea ecx, [ebp - 0x278]
call fcn.10006e20
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x298], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 9
push eax
call fcn.10007a10
add esp, 4
lea ecx, [ebp - 0x278]
push eax
call fcn.10006cc0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x298]
test ecx, ecx
je 0x10003c0a
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10003c0a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x288]
xor edx, edx
mov byte [ebp - 0x28c], dl
add ecx, dword [eax + 4]
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x10003c56
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x288]
mov byte [ebp - 0x28c], 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push dword [ebp - 0x28c]
push eax
call fcn.100021d0
cmp dword [ebp - 0x22c], 0
je 0x10004396
push 2
sub esp, 8
lea ecx, [ebp - 0x288]
call fcn.10006470
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x288]
call fcn.10006370
mov esi, dword [eax + 8]
add esi, dword [eax]
je 0x10004396
push 0
sub esp, 8
lea ecx, [ebp - 0x288]
call fcn.10006470
push esi
call fcn.10042a02
add esp, 4
lea ecx, [ebp - 0x288]
mov edi, eax
mov dword [ebp - 0x28c], edi
push 0
push esi
push edi
call fcn.100065b0
lea eax, [edi + esi]
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x298], eax
cmp edi, eax
jae 0x1000438d
mov esi, edi
lea eax, [ebp - 0x2bc]
sub esi, eax
nop dword [eax]
mov ecx, 0x88
xor edx, edx
mov al, byte [edx + 0x1007cf58]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x2bc], al
and ecx, 0x800000ff
jns 0x10003d17
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1f
jl 0x10003cf7
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 0x29d], 0
xor edx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003d30
sub ecx, edi
lea edi, [ecx + 1]
test edi, edi
je 0x10003d54
lea ecx, [ebp - 0x2bc]
add ecx, edx
mov al, byte [ecx]
cmp al, byte [ecx + esi]
jne 0x10003d75
inc edx
cmp edx, edi
jb 0x10003d40
mov al, 1
test al, al
jne 0x10003d79
mov eax, dword [ebp - 0x294]
inc esi
inc eax
mov dword [ebp - 0x294], eax
cmp eax, dword [ebp - 0x298]
jb 0x10003cf0
jmp 0x10004387
xor al, al
jmp 0x10003d56
mov ecx, 0x88
xor edx, edx
mov al, byte [edx + 0x1007cf58]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x2bc], al
and ecx, 0x800000ff
jns 0x10003da0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1f
jl 0x10003d80
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 0x29d], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003db6
sub ecx, edx
mov edx, dword [ebp - 0x294]
inc edx
add edx, ecx
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003dd0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x144]
call fcn.100070a0
mov edx, dword [ebp - 0x130]
lea ecx, [ebp - 0x144]
cmp edx, 0x10
jb 0x10003e01
mov ecx, dword [ebp - 0x144]
mov eax, ecx
jmp 0x10003e07
lea eax, [ebp - 0x144]
add ecx, edx
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
cmp eax, ecx
je 0x10003e41
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x15c]
call fcn.100070a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1a8]
movups xmm2, xmmword [ebp - 0x15c]
lea edx, [ebp - 0x12c]
movq xmm1, qword [ebp - 0x14c]
movups xmm0, xmmword [ebp - 0x1a8]
movq qword [ebp - 0x2a4], xmm1
cmp dword [ebp - 0x2a0], 0x10
movd eax, xmm2
movups xmmword [ebp - 0x15c], xmm0
movq xmm0, qword [ebp - 0x198]
cmovae ecx, eax
mov eax, dword [ebp - 0x2a4]
push ecx
add eax, ecx
movq qword [ebp - 0x14c], xmm0
push edx
push eax
push ecx
lea ecx, [ebp - 0x1d0]
movq qword [ebp - 0x198], xmm1
movups xmmword [ebp - 0x1a8], xmm2
call fcn.10037dc0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x148]
mov byte [ebp - 0x28d], al
cmp ecx, 0x10
jb 0x10003f04
mov edx, dword [ebp - 0x15c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003ef4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004562
push ecx
push edx
call fcn.100429f4
mov al, byte [ebp - 0x28d]
add esp, 8
test al, al
je 0x10004387
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003f15
sub ecx, edx
lea eax, [ebp - 0x114]
add eax, ecx
lea ecx, [ebp - 0x114]
cmp eax, ecx
jb 0x10003f40
cmp byte [eax], 0x5c
je 0x10003f40
dec eax
lea ecx, [ebp - 0x114]
cmp eax, ecx
jae 0x10003f30
push 0x1007cf7d
push str.Files
lea ecx, [ebp - 0x12c]
mov byte [eax + 1], 0
call fcn.1003c250
push 0x1007cf8e
push str.Configurations
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x10003f8a
mov ecx, eax
call fcn.1003ba80
push eax
push 0x103
push 0x100890c0
call fcn.10049285
add esp, 0xc
push 0x100890c0
lea eax, [ebp - 0x114]
push 0x103
push eax
call fcn.100498f1
lea eax, [ebp - 0x114]
push eax
push 0x103
push 0x100890c0
call fcn.10049285
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.10045670
add esp, 0x24
lea ecx, [ebp - 0x12c]
push 0x1007cf97
push str.Library
call fcn.1003c250
push 0x1007cfa4
push str.MasterSwitch
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x10004004
mov ecx, eax
call fcn.1003bf40
mov byte [0x100891e4], al
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007cfaf
push str.NoSmoke
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x1000403c
mov ecx, eax
call fcn.1003bf40
mov byte [0x100891e5], al
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007cfb7
push str.NoFlash
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x10004074
mov ecx, eax
call fcn.1003bf40
mov byte [0x100891e6], al
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007cfbd
push str.NoSky
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x100040ac
mov ecx, eax
call fcn.1003bf40
mov byte [0x100891e7], al
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007cfc6
push str.EspBox
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x100040e4
mov ecx, eax
call fcn.1003bf40
mov byte [0x100891e8], al
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007cfd0
push str.BunnyHop
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x1000411c
mov ecx, eax
call fcn.1003bf40
mov byte [0x100891e9], al
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007cfd8
push str.Zoom
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x10004154
mov ecx, eax
call fcn.1003bf40
mov byte [0x100891ea], al
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007cfe4
push str.WallHack
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x1000418c
mov ecx, eax
call fcn.1003bb40
mov dword [0x100891ec], eax
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007cff2
push str.ExtraWalls
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x100041c4
mov ecx, eax
call fcn.1003bb40
mov dword [0x100891f0], eax
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007cfff
push str.ExtraModels
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x100041fc
mov ecx, eax
call fcn.1003bb40
mov dword [0x100891f4], eax
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007d007
push str.AimTeam
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x10004234
mov ecx, eax
call fcn.1003bb40
mov dword [0x100891f8], eax
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007d015
push str.WireFrameWall
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x1000426c
mov ecx, eax
call fcn.1003bb40
mov dword [0x100891fc], eax
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007d022
push str.WireModels
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x100042a4
mov ecx, eax
call fcn.1003bb40
mov dword [0x10089200], eax
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007d02d
push str.CrossHair
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x100042dc
mov ecx, eax
call fcn.1003bb40
mov dword [0x10089204], eax
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007d036
push str.Recoil
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x10004314
mov ecx, eax
call fcn.1003bb40
mov dword [0x10089208], eax
push 0x1007cf97
push str.Library
lea ecx, [ebp - 0x12c]
call fcn.1003c250
push 0x1007d03d
push str.Speed
mov ecx, eax
call fcn.1003c250
cmp byte [eax + 8], 0
je 0x1000434c
mov ecx, eax
call fcn.1003bb40
mov dword [0x1008920c], eax
push 0x1007cf50
push 0x100890c0
call fcn.10048b55
mov esi, eax
add esp, 8
test esi, esi
je 0x1000437c
push esi
push 1
push 0x30
push 0x100891e4
call fcn.10049b7b
push esi
call fcn.10048f2b
add esp, 0x14
lea ecx, [ebp - 0x12c]
call fcn.10035540
mov edi, dword [ebp - 0x28c]
push edi
call fcn.100427c2
add esp, 4
mov eax, dword [ebp - 0x288]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x28c], eax
lea ecx, [ebp - 0x278]
call fcn.10005f20
mov eax, dword [ebp - 0x288]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x28c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xb
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10043e42
mov ecx, dword [ebp - 0x130]
add esp, 4
cmp ecx, 0x10
jb 0x10004446
mov edx, dword [ebp - 0x144]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000443c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004562
push ecx
push edx
call fcn.100429f4
add esp, 8
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
cmp ecx, 0x10
jb 0x1000449b
mov edx, dword [ebp - 0x17c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004491
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004562
push ecx
push edx
call fcn.100429f4
add esp, 8
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0xf
mov byte [ebp - 0x17c], 0
cmp ecx, 0x10
jb 0x100044f0
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100044e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004562
push ecx
push edx
call fcn.100429f4
add esp, 8
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0xf
mov byte [ebp - 0x1a8], 0
call fcn.10006fa0
mov eax, dword [ebp - 0x1bc]
push 8
push eax
mov dword [ebp - 0x1bc], 0
call fcn.100429f4
add esp, 8
lea ecx, [ebp - 0x1d0]
call fcn.10006750
lea ecx, [ebp - 0x12c]
call fcn.1003b920
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.100427b4
mov esp, ebp
pop ebp
ret
call fcn.1004a164
int3