Function at 0x100064a8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x10059008]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
push esi
push edi
push ebx
mov dword [esp + 0x58], ecx
call fcn.10005930
test ebx, ebx
je 0x10005b54
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 1
push 0x1005257c
call dword [eax + 0x58]
jmp 0x10005b6a
test edi, edi
je 0x10005b6a
push edi
push 1
push 1
push 0x1005257c
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x10005b9a
push 1
mov ecx, esi
call fcn.1000f060
test al, al
je 0x10005b9a
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, 0x1005257c
je 0x10005b90
mov al, byte [0x1005257c]
mov byte [ecx], al
inc dword [esi + 0x14]
mov ecx, esi
call fcn.1000f120
mov eax, dword [esp + 0x48]
mov ecx, 0x1008df88
push dword [eax]
mov eax, dword [0x1008df88]
call dword [eax + 0x10]
mov ecx, dword [esp + 0x48]
push eax
push esi
push edi
push ebx
call fcn.100059b0
test ebx, ebx
je 0x10005bcf
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 2
push 0x10053074
call dword [eax + 0x58]
jmp 0x10005be5
test edi, edi
je 0x10005be5
push edi
push 1
push 2
push 0x10053074
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x10005c18
push 2
mov ecx, esi
call fcn.1000f060
test al, al
je 0x10005c18
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, 0x10053074
je 0x10005c0d
mov ax, word [0x10053074]
mov word [ecx], ax
add dword [esi + 0x14], 2
mov ecx, esi
call fcn.1000f120
push dword [ebp + 0x14]
push esi
push edi
push ebx
call fcn.10005930
test ebx, ebx
je 0x10005c38
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 2
push 0x10053078
call dword [eax + 0x58]
jmp 0x10005c4e
test edi, edi
je 0x10005c4e
push edi
push 1
push 2
push 0x10053078
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x10005c81
push 2
mov ecx, esi
call fcn.1000f060
test al, al
je 0x10005c81
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, 0x10053078
je 0x10005c76
mov ax, word [0x10053078]
mov word [ecx], ax
add dword [esi + 0x14], 2
mov ecx, esi
call fcn.1000f120
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x100064cb
mov edx, dword [ebp + 0x18]
cmp dword [ecx + 0x18], 0
je 0x10005cb4
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x44]
inc eax
push edx
push eax
push esi
push edi
push ebx
call fcn.10005b10
jmp 0x100064b5
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 7
ja case.0x10005cc2.4
jmp dword [eax*4 + 0x10006548]
mov eax, dword [ecx + 4]
test eax, eax
je case.0x10005cc2.4
test dl, dl
jne 0x10005ce0
cmp byte [eax], dl
je case.0x10005cc2.4
mov eax, dword [ebp + 0x14]
inc eax
push eax
push esi
push edi
push ebx
call fcn.10005930
push 1
push 0x1005257c
push esi
push edi
push ebx
call fcn.10005aa0
mov eax, dword [esp + 0x44]
mov ecx, 0x1008df88
push dword [eax]
mov eax, dword [0x1008df88]
call dword [eax + 0x10]
mov ecx, dword [esp + 0x48]
push eax
push esi
push edi
push ebx
call fcn.100059b0
push 4
push str.__t_t_
push esi
push edi
push ebx
call fcn.10005aa0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
push dword [eax + 4]
push esi
push edi
push ebx
call fcn.100059b0
push 2
push 0x10053074
push esi
push edi
push ebx
call fcn.10005aa0
jmp 0x100064b5
mov eax, dword [ecx + 8]
test eax, eax
je case.0x10005cc2.4
push 0x400
mov edx, 0x10094098
mov ecx, eax
call fcn.10010c10
add esp, 4
test eax, eax
je 0x100064b5
mov eax, dword [ebp + 0x14]
inc eax
push eax
push esi
push edi
push ebx
call fcn.10005930
push 1
push 0x1005257c
push esi
push edi
push ebx
call fcn.10005aa0
mov eax, dword [esp + 0x44]
mov ecx, 0x1008df88
push dword [eax]
mov eax, dword [0x1008df88]
call dword [eax + 0x10]
lea edx, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005db0
sub eax, edx
mov ecx, 0x1008df88
push eax
mov eax, dword [esp + 0x48]
push dword [eax]
mov eax, dword [0x1008df88]
call dword [eax + 0x10]
push eax
push esi
push edi
push ebx
call fcn.10005aa0
push 4
push str.__t_t_
push esi
push edi
push ebx
call fcn.10005aa0
mov ecx, dword [esp + 0x48]
push 0x10094098
push esi
push edi
push ebx
call fcn.100059b0
push 2
push 0x10053074
push esi
push edi
push ebx
call fcn.10005aa0
jmp 0x100064b5
mov eax, dword [ebp + 0x14]
inc eax
push eax
push esi
push edi
push ebx
call fcn.10005930
test ebx, ebx
je 0x10005e2c
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 1
push 0x1005257c
call dword [eax + 0x58]
jmp 0x10005e42
test edi, edi
je 0x10005e42
push edi
push 1
push 1
push 0x1005257c
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x10005e72
push 1
mov ecx, esi
call fcn.1000f060
test al, al
je 0x10005e72
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, 0x1005257c
je 0x10005e68
mov al, byte [0x1005257c]
mov byte [ecx], al
inc dword [esi + 0x14]
mov ecx, esi
call fcn.1000f120
mov eax, dword [esp + 0x44]
mov ecx, 0x1008df88
push dword [eax]
mov eax, dword [0x1008df88]
call dword [eax + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005e88
sub eax, edx
mov ecx, 0x1008df88
push eax
mov eax, dword [esp + 0x48]
push dword [eax]
mov eax, dword [0x1008df88]
call dword [eax + 0x10]
push eax
push esi
push edi
push ebx
call fcn.10005aa0
test ebx, ebx
je 0x10005ec3
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 4
push str.__t_t_
call dword [eax + 0x58]
jmp 0x10005ed9
test edi, edi
je 0x10005ed9
push edi
push 1
push 4
push str.__t_t_
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x10005f0a
push 4
mov ecx, esi
call fcn.1000f060
test al, al
je 0x10005f0a
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, str.__t_t_
je 0x10005eff
mov eax, dword [str.__t_t_]
mov dword [ecx], eax
add dword [esi + 0x14], 4
mov ecx, esi
call fcn.1000f120
mov eax, dword [esp + 0x44]
push dword [eax + 0xc]
lea eax, [esp + 0x50]
push 0x10052584
push 0x20
push eax
call fcn.10009df0
lea ecx, [esp + 0x5c]
add esp, 0x10
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005f30
sub ecx, edx
lea eax, [esp + 0x4c]
push ecx
push eax
push esi
push edi
push ebx
call fcn.10005aa0
test ebx, ebx
je 0x10005f5c
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 2
push 0x10053074
call dword [eax + 0x58]
jmp 0x10005f72
test edi, edi
je 0x10005f72
push edi
push 1
push 2
push 0x10053074
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x100064b5
push 2
mov ecx, esi
call fcn.1000f060
test al, al
je 0x100064b5
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, 0x10053074
je 0x10005fa2
mov ax, word [0x10053074]
mov word [ecx], ax
add dword [esi + 0x14], 2
mov ecx, esi
call fcn.1000f120
jmp 0x100064b5
mov eax, dword [ebp + 0x14]
inc eax
push eax
push esi
push edi
push ebx
call fcn.10005930
test ebx, ebx
je 0x10005fd4
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 1
push 0x1005257c
call dword [eax + 0x58]
jmp 0x10005fea
test edi, edi
je 0x10005fea
push edi
push 1
push 1
push 0x1005257c
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x1000601a
push 1
mov ecx, esi
call fcn.1000f060
test al, al
je 0x1000601a
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, 0x1005257c
je 0x10006010
mov al, byte [0x1005257c]
mov byte [ecx], al
inc dword [esi + 0x14]
mov ecx, esi
call fcn.1000f120
mov eax, dword [esp + 0x44]
mov ecx, 0x1008df88
push dword [eax]
mov eax, dword [0x1008df88]
call dword [eax + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006030
sub eax, edx
mov ecx, 0x1008df88
push eax
mov eax, dword [esp + 0x48]
push dword [eax]
mov eax, dword [0x1008df88]
call dword [eax + 0x10]
push eax
push esi
push edi
push ebx
call fcn.10005aa0
test ebx, ebx
je 0x1000606b
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 4
push str.__t_t_
call dword [eax + 0x58]
jmp 0x10006081
test edi, edi
je 0x10006081
push edi
push 1
push 4
push str.__t_t_
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x100060b2
push 4
mov ecx, esi
call fcn.1000f060
test al, al
je 0x100060b2
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, str.__t_t_
je 0x100060a7
mov eax, dword [str.__t_t_]
mov dword [ecx], eax
add dword [esi + 0x14], 4
mov ecx, esi
call fcn.1000f120
mov eax, dword [esp + 0x44]
push dword [eax + 0xc]
lea eax, [esp + 0x50]
push 0x10052c88
push 0x20
push eax
call fcn.10009df0
lea ecx, [esp + 0x5c]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100060d4
sub ecx, edx
lea eax, [esp + 0x4c]
push ecx
push eax
push esi
push edi
push ebx
call fcn.10005aa0
test ebx, ebx
je 0x10006100
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 2
push 0x10053074
call dword [eax + 0x58]
jmp 0x10006116
test edi, edi
je 0x10006116
push edi
push 1
push 2
push 0x10053074
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x100064b5
push 2
mov ecx, esi
call fcn.1000f060
test al, al
je 0x100064b5
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, 0x10053074
je 0x10006146
mov ax, word [0x10053074]
mov word [ecx], ax
add dword [esi + 0x14], 2
mov ecx, esi
call fcn.1000f120
jmp 0x100064b5
mov eax, dword [ebp + 0x14]
inc eax
push eax
push esi
push edi
push ebx
call fcn.10005930
test ebx, ebx
je 0x10006178
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 1
push 0x1005257c
call dword [eax + 0x58]
jmp 0x1000618e
test edi, edi
je 0x1000618e
push edi
push 1
push 1
push 0x1005257c
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x100061be
push 1
mov ecx, esi
call fcn.1000f060
test al, al
je 0x100061be
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, 0x1005257c
je 0x100061b4
mov al, byte [0x1005257c]
mov byte [ecx], al
inc dword [esi + 0x14]
mov ecx, esi
call fcn.1000f120
mov eax, dword [esp + 0x44]
mov ecx, 0x1008df88
push dword [eax]
mov eax, dword [0x1008df88]
call dword [eax + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100061d4
sub eax, edx
mov ecx, 0x1008df88
push eax
mov eax, dword [esp + 0x48]
push dword [eax]
mov eax, dword [0x1008df88]
call dword [eax + 0x10]
push eax
push esi
push edi
push ebx
call fcn.10005aa0
test ebx, ebx
je 0x1000620f
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 4
push str.__t_t_
call dword [eax + 0x58]
jmp 0x10006225
test edi, edi
je 0x10006225
push edi
push 1
push 4
push str.__t_t_
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x10006256
push 4
mov ecx, esi
call fcn.1000f060
test al, al
je 0x10006256
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, str.__t_t_
je 0x1000624b
mov eax, dword [str.__t_t_]
mov dword [ecx], eax
add dword [esi + 0x14], 4
mov ecx, esi
call fcn.1000f120
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x54]
push str.0x_016I64X
push 0x20
push eax
call fcn.10009df0
lea ecx, [esp + 0x60]
add esp, 0x14
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006280
sub ecx, edx
lea eax, [esp + 0x4c]
push ecx
push eax
push esi
push edi
push ebx
call fcn.10005aa0
test ebx, ebx
je 0x100062ac
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 2
push 0x10053074
call dword [eax + 0x58]
jmp 0x100062c2
test edi, edi
je 0x100062c2
push edi
push 1
push 2
push 0x10053074
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x100064b5
push 2
mov ecx, esi
call fcn.1000f060
test al, al
je 0x100064b5
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, 0x10053074
je 0x100062f2
mov ax, word [0x10053074]
mov word [ecx], ax
add dword [esi + 0x14], 2
mov ecx, esi
call fcn.1000f120
jmp 0x100064b5
mov eax, dword [ebp + 0x14]
inc eax
push eax
push esi
push edi
push ebx
call fcn.10005930
test ebx, ebx
je 0x10006324
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 1
push 0x1005257c
call dword [eax + 0x58]
jmp 0x1000633a
test edi, edi
je 0x1000633a
push edi
push 1
push 1
push 0x1005257c
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x1000636a
push 1
mov ecx, esi
call fcn.1000f060
test al, al
je 0x1000636a
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, 0x1005257c
je 0x10006360
mov al, byte [0x1005257c]
mov byte [ecx], al
inc dword [esi + 0x14]
mov ecx, esi
call fcn.1000f120
mov eax, dword [esp + 0x44]
mov ecx, 0x1008df88
push dword [eax]
mov eax, dword [0x1008df88]
call dword [eax + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006380
sub eax, edx
mov ecx, 0x1008df88
push eax
mov eax, dword [esp + 0x48]
push dword [eax]
mov eax, dword [0x1008df88]
call dword [eax + 0x10]
push eax
push esi
push edi
push ebx
call fcn.10005aa0
test ebx, ebx
je 0x100063bb
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 4
push str.__t_t_
call dword [eax + 0x58]
jmp 0x100063d1
test edi, edi
je 0x100063d1
push edi
push 1
push 4
push str.__t_t_
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x10006402
push 4
mov ecx, esi
call fcn.1000f060
test al, al
je 0x10006402
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, str.__t_t_
je 0x100063f7
mov eax, dword [str.__t_t_]
mov dword [ecx], eax
add dword [esi + 0x14], 4
mov ecx, esi
call fcn.1000f120
mov eax, dword [esp + 0x44]
sub esp, 8
movss xmm0, dword [eax + 0xc]
lea eax, [esp + 0x54]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x100534f4
push 0x30
push eax
call fcn.10009df0
lea ecx, [esp + 0x60]
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006431
sub ecx, edx
lea eax, [esp + 0x4c]
push ecx
push eax
push esi
push edi
push ebx
call fcn.10005aa0
test ebx, ebx
je 0x1000645d
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 2
push 0x10053074
call dword [eax + 0x58]
jmp 0x10006473
test edi, edi
je 0x10006473
push edi
push 1
push 2
push 0x10053074
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x100064b5
push 2
mov ecx, esi
call fcn.1000f060
test al, al
je 0x100064b5
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, 0x10053074
je 0x1000649b
mov ax, word [0x10053074]
mov word [ecx], ax
add dword [esi + 0x14], 2
mov ecx, esi
call fcn.1000f120
jmp 0x100064b5
push str.KeyValues::RecursiveSaveToFile:_TODO__missing_code_for_TYPE_COLOR._n
call fcn.10003020
add esp, 4
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x44], ecx
test ecx, ecx
jne 0x10005c97
push dword [ebp + 0x14]
push esi
push edi
push ebx
call fcn.10005930
test ebx, ebx
je 0x100064eb
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 2
push 0x100530d4
call dword [eax + 0x58]
jmp 0x10006501
test edi, edi
je 0x10006501
push edi
push 1
push 2
push 0x100530d4
call fcn.100350bc
add esp, 0x10
test esi, esi
je 0x10006534
push 2
mov ecx, esi
call fcn.1000f060
test al, al
je 0x10006534
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, 0x100530d4
je 0x10006529
mov ax, word [0x100530d4]
mov word [ecx], ax
add dword [esi + 0x14], 2
mov ecx, esi
call fcn.1000f120
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100288b6
mov esp, ebp
pop ebp
ret 0x14