Function at 0x42c580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500df3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6ac
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0042b950
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
xor ebx, ebx
mov eax, 0xf
mov dword [edi + 8], ebx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], ebx
mov byte [ebp - 0x248], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 0x22c], bl
mov dword [ebp - 0x1ec], ebx
mov dword [ebp - 0x1e0], ebx
mov dword [ebp - 0x1e4], ebx
mov dword [ebp - 0x1e8], ebx
push ebx
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
call fcn.00420a60
mov dword [ebp - 0x1f0], ebx
cmp dword [edi + 0x54], 0x10
lea esi, [edi + 0x40]
mov dword [ebp - 4], 4
jb 0x42c638
mov eax, dword [esi]
jmp 0x42c63a
mov eax, esi
push eax
push str.GetLclTools_Local:_s
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0xb
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.CToolBoxDoc
mov byte [ecx], bl
call fcn.00404e20
push 4
push 0x57d720
call fcn.0041cec0
add esp, 0x2c
cmp dword [esi + 0x14], 0x10
jb 0x42c679
mov eax, dword [esi]
jmp 0x42c67b
mov eax, esi
push ebx
push eax
call fcn.004e346e
add esp, 8
test eax, eax
je 0x42c73f
cmp dword [esi + 0x14], 0x10
jb 0x42c695
mov esi, dword [esi]
push 0x507c94
push esi
call fcn.004e081e
add esp, 8
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x42c6e0
push str.create_local_tools_record_failed
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0xb
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.GetLclTools
mov byte [ecx], bl
call fcn.00404e20
push 1
push 0x57d720
call fcn.0041cec0
add esp, 0x28
jmp 0x42c73f
mov ecx, 0xe
mov esi, str.__xml_version_1.0__encoding_UTF_8____n_tools__n_n__tools_
lea edi, [ebp - 0x6b8]
rep movsd dword es:[edi], dword [esi]
push 0x3c7
lea edx, [ebp - 0x67f]
push ebx
push edx
movsb byte es:[edi], byte [esi]
call fcn.004e00a0
lea eax, [ebp - 0x6b8]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42c711
mov esi, dword [ebp - 0x10]
sub eax, edx
push esi
push eax
lea eax, [ebp - 0x6b8]
push 1
push eax
call fcn.004e18b7
push esi
call fcn.004e1599
push esi
call fcn.004e0487
mov edi, dword [ebp - 0x14]
add esp, 0x18
cmp dword [edi + 0x54], 0x10
lea esi, [edi + 0x40]
jb 0x42c74c
mov eax, dword [esi]
jmp 0x42c74e
mov eax, esi
push eax
lea ecx, [ebp - 0x248]
call fcn.00420ab0
test al, al
jne 0x42c7c0
cmp dword [esi + 0x14], 0x10
jb 0x42c766
mov esi, dword [esi]
push esi
push str.GetLclTools_Local:_s_load_failed___
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0xb
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.CToolBoxDoc
mov byte [ecx], bl
call fcn.00404e20
push 1
push 0x57d720
call fcn.0041cec0
add esp, 0x2c
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.004167d0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.tools
lea ecx, [ebp - 0x248]
call fcn.0041dfc0
test al, al
je 0x42d2fb
push str.tool
lea ecx, [ebp - 0x248]
call fcn.0041e030
test al, al
je 0x42d2fb
mov edi, 0xf
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x108], ebx
mov byte [ebp - 0x118], bl
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xec], ebx
mov byte [ebp - 0xfc], bl
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xd0], ebx
mov byte [ebp - 0xe0], bl
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb4], ebx
mov byte [ebp - 0xc4], bl
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x98], ebx
mov byte [ebp - 0xa8], bl
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x8c], bl
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
push 0x5062bc
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 5
call fcn.00415d50
mov esi, eax
lea edx, [ebp - 0x134]
cmp edx, esi
je 0x42c905
cmp dword [ebp - 0x120], 0x10
jb 0x42c8b2
mov eax, dword [ebp - 0x134]
push eax
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
cmp dword [esi + 0x14], 0x10
jae 0x42c8e1
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x134]
push esi
push ecx
call fcn.004dfc80
add esp, 0xc
jmp 0x42c8eb
mov edx, dword [esi]
mov dword [ebp - 0x134], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x124], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x120], ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x1c], 0x10
mov byte [ebp - 4], 5
jb 0x42c91b
mov edx, dword [ebp - 0x30]
push edx
call fcn.004df8f9
add esp, 4
push str.version
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x248]
call fcn.00415d50
mov esi, eax
lea ecx, [ebp - 0x118]
cmp ecx, esi
je 0x42c9a6
cmp dword [ebp - 0x104], 0x10
jb 0x42c953
mov edx, dword [ebp - 0x118]
push edx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x108], ebx
mov byte [ebp - 0x118], bl
cmp dword [esi + 0x14], 0x10
jae 0x42c982
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004dfc80
add esp, 0xc
jmp 0x42c98c
mov ecx, dword [esi]
mov dword [ebp - 0x118], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x108], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x104], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x1c], 0x10
mov byte [ebp - 4], 5
jb 0x42c9bc
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004df8f9
add esp, 4
push str.path
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x248]
call fcn.00415d50
mov esi, eax
lea eax, [ebp - 0xfc]
cmp eax, esi
je 0x42ca47
cmp dword [ebp - 0xe8], 0x10
jb 0x42c9f4
mov ecx, dword [ebp - 0xfc]
push ecx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xec], ebx
mov byte [ebp - 0xfc], bl
cmp dword [esi + 0x14], 0x10
jae 0x42ca23
mov eax, dword [esi + 0x10]
inc eax
push eax
lea edx, [ebp - 0xfc]
push esi
push edx
call fcn.004dfc80
add esp, 0xc
jmp 0x42ca2d
mov eax, dword [esi]
mov dword [ebp - 0xfc], eax
mov dword [esi], ebx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xec], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0xe8], edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x1c], 0x10
mov byte [ebp - 4], 5
jb 0x42ca5d
mov eax, dword [ebp - 0x30]
push eax
call fcn.004df8f9
add esp, 4
push str.releaseTime
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00415d50
mov esi, eax
lea edx, [ebp - 0x8c]
cmp edx, esi
je 0x42cad9
cmp dword [ebp - 0x78], 0x10
jb 0x42ca92
mov eax, dword [ebp - 0x8c]
push eax
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x8c], bl
cmp dword [esi + 0x14], 0x10
jae 0x42cabb
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x8c]
push esi
push ecx
call fcn.004dfc80
add esp, 0xc
jmp 0x42cac5
mov edx, dword [esi]
mov dword [ebp - 0x8c], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x7c], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x78], ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x1c], 0x10
mov byte [ebp - 4], 5
jb 0x42caef
mov edx, dword [ebp - 0x30]
push edx
call fcn.004df8f9
add esp, 4
push 0x506280
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x248]
call fcn.00415d50
mov esi, eax
lea ecx, [ebp - 0xe0]
cmp ecx, esi
je 0x42cb7a
cmp dword [ebp - 0xcc], 0x10
jb 0x42cb27
mov edx, dword [ebp - 0xe0]
push edx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xd0], ebx
mov byte [ebp - 0xe0], bl
cmp dword [esi + 0x14], 0x10
jae 0x42cb56
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0xe0]
push esi
push eax
call fcn.004dfc80
add esp, 0xc
jmp 0x42cb60
mov ecx, dword [esi]
mov dword [ebp - 0xe0], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0xd0], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xcc], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x1c], 0x10
mov byte [ebp - 4], 5
jb 0x42cb90
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004df8f9
add esp, 4
push str.logo
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0x248]
call fcn.00415d50
mov eax, dword [ebp - 0x140]
mov byte [ebp - 4], 0xb
cmp eax, 1
jb 0x42cc1c
dec eax
cmp eax, 0xffffffff
jbe 0x42cbbf
or eax, 0xffffffff
mov edi, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x150]
cmp edi, 0x10
jae 0x42cbd6
lea ecx, [ebp - 0x150]
lea esi, [ecx + eax]
lea esp, [esp]
cmp byte [esi], 0x2e
jne 0x42cbf5
movzx eax, byte [esi]
sub eax, 0x2e
je 0x42cc07
sar eax, 0x1f
or eax, 1
je 0x42cc07
lea ecx, [ebp - 0x150]
call fcn.004017d0
cmp esi, eax
je 0x42cc1c
dec esi
jmp 0x42cbe0
mov eax, dword [ebp - 0x150]
cmp edi, 0x10
jae 0x42cc18
lea eax, [ebp - 0x150]
sub esi, eax
jmp 0x42cc1f
or esi, 0xffffffff
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x150]
mov edi, 0xf
call fcn.004065d0
push eax
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 0xc
call fcn.0042b350
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0xc4]
cmp eax, esi
je 0x42ccc5
cmp dword [ebp - 0xb0], 0x10
jb 0x42cc72
mov ecx, dword [ebp - 0xc4]
push ecx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb4], ebx
mov byte [ebp - 0xc4], bl
cmp dword [esi + 0x14], 0x10
jae 0x42cca1
mov eax, dword [esi + 0x10]
inc eax
push eax
lea edx, [ebp - 0xc4]
push esi
push edx
call fcn.004dfc80
add esp, 0xc
jmp 0x42ccab
mov eax, dword [esi]
mov dword [ebp - 0xc4], eax
mov dword [esi], ebx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xb4], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0xb0], edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x38], 0x10
jb 0x42ccd7
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004df8f9
add esp, 4
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 0xb
jb 0x42ccf6
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004df8f9
add esp, 4
push str.desc
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x248]
call fcn.00415d50
mov esi, eax
lea eax, [ebp - 0xa8]
cmp eax, esi
je 0x42cd81
cmp dword [ebp - 0x94], 0x10
jb 0x42cd2e
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x98], ebx
mov byte [ebp - 0xa8], bl
cmp dword [esi + 0x14], 0x10
jae 0x42cd5d
mov eax, dword [esi + 0x10]
inc eax
push eax
lea edx, [ebp - 0xa8]
push esi
push edx
call fcn.004dfc80
add esp, 0xc
jmp 0x42cd67
mov eax, dword [esi]
mov dword [ebp - 0xa8], eax
mov dword [esi], ebx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x98], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x94], edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x1c], 0x10
mov byte [ebp - 4], 0xb
jb 0x42cd97
mov eax, dword [ebp - 0x30]
push eax
call fcn.004df8f9
add esp, 4
push str.tooltype
lea ecx, [ebp - 0x1c0]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00415d50
cmp dword [ebp - 0x1ac], 0x10
mov eax, dword [ebp - 0x1c0]
mov byte [ebp - 4], 0xf
jae 0x42cdc7
lea eax, [ebp - 0x1c0]
push eax
call fcn.004e2f4f
add esp, 4
mov edx, eax
mov word [ebp - 0x70], ax
push str.exemd5
lea eax, [ebp - 0x30]
sar edx, 0x10
push eax
lea ecx, [ebp - 0x248]
mov word [ebp - 0x6e], dx
call fcn.00415d50
mov esi, eax
lea ecx, [ebp - 0x68]
cmp ecx, esi
je 0x42ce4a
cmp dword [ebp - 0x54], 0x10
jb 0x42ce0c
mov edx, dword [ebp - 0x68]
push edx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [esi + 0x14], 0x10
jae 0x42ce2f
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.004dfc80
add esp, 0xc
jmp 0x42ce36
mov ecx, dword [esi]
mov dword [ebp - 0x68], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x58], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x54], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x1c], 0x10
mov byte [ebp - 4], 0xf
jb 0x42ce60
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004df8f9
add esp, 4
push str.admin
lea edx, [ebp - 0x16c]
push edx
lea ecx, [ebp - 0x248]
call fcn.00415d50
mov esi, dword [ebp - 0x15c]
mov byte [ebp - 4], 0x11
mov ecx, esi
cmp esi, 4
jb 0x42ce8d
mov ecx, 4
mov edi, dword [ebp - 0x158]
mov eax, dword [ebp - 0x16c]
cmp edi, 0x10
jae 0x42cea4
lea eax, [ebp - 0x16c]
push ecx
push str.TRUE
push eax
call fcn.00401040
add esp, 0xc
cmp eax, ebx
jne 0x42cecb
cmp esi, 4
jae 0x42cec1
or eax, 0xffffffff
jmp 0x42cec9
xor eax, eax
cmp esi, 4
setne al
cmp eax, ebx
sete al
cmp al, bl
jne 0x42cf6c
mov ecx, esi
cmp esi, 4
jb 0x42cee2
mov ecx, 4
mov eax, dword [ebp - 0x16c]
cmp edi, 0x10
jae 0x42cef3
lea eax, [ebp - 0x16c]
push ecx
push str.true
push eax
call fcn.00401040
add esp, 0xc
cmp eax, ebx
jne 0x42cf1a
cmp esi, 4
jae 0x42cf10
or eax, 0xffffffff
jmp 0x42cf18
xor eax, eax
cmp esi, 4
setne al
cmp eax, ebx
sete al
cmp al, bl
jne 0x42cf6c
mov ecx, esi
cmp esi, 4
jb 0x42cf2d
mov ecx, 4
mov eax, dword [ebp - 0x16c]
cmp edi, 0x10
jae 0x42cf3e
lea eax, [ebp - 0x16c]
push ecx
push str.True
push eax
call fcn.00401040
add esp, 0xc
cmp eax, ebx
jne 0x42cf65
cmp esi, 4
jae 0x42cf5b
or eax, 0xffffffff
jmp 0x42cf63
xor eax, eax
cmp esi, 4
setne al
cmp eax, ebx
sete al
cmp al, bl
je 0x42cf70
mov byte [ebp - 0x6c], 1
lea eax, [ebp - 0x188]
push eax
call fcn.004222c0
mov ecx, eax
call fcn.00406530
lea ecx, [ebp - 0xfc]
push ecx
push eax
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 0x12
call fcn.004088d0
lea ecx, [ebp - 0xe0]
push ecx
push eax
lea edx, [ebp - 0x1a4]
push edx
mov byte [ebp - 4], 0x13
call fcn.004088d0
add esp, 0x18
mov edi, 0x10
cmp dword [ebp - 0x38], edi
jb 0x42cfc9
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004df8f9
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x174], edi
jb 0x42cff2
mov ecx, dword [ebp - 0x188]
push ecx
call fcn.004df8f9
add esp, 4
lea edx, [ebp - 0xe0]
push edx
push 0x504374
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x134]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x178], ebx
mov byte [ebp - 0x188], bl
mov byte [ecx], bl
call fcn.00404af0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x564448
call fcn.00408c90
mov esi, eax
lea edx, [ebp - 0x264]
push edx
mov byte [ebp - 4], 0x17
call fcn.004222c0
mov ecx, eax
call fcn.00406530
lea ecx, [ebp - 0xfc]
push ecx
push eax
lea edx, [ebp - 0x280]
push edx
mov byte [ebp - 4], 0x18
call fcn.004088d0
push esi
push eax
lea eax, [ebp - 0x2b8]
push eax
mov byte [ebp - 4], 0x19
call fcn.004089d0
add esp, 0x18
push eax
lea ecx, [ebp - 0x29c]
push ecx
mov byte [ebp - 4], 0x1a
call fcn.00408880
add esp, 0xc
push eax
lea edx, [ebp - 0x1dc]
push edx
mov byte [ebp - 4], 0x1b
call fcn.004088d0
add esp, 0xc
cmp dword [ebp - 0x288], edi
jb 0x42d0c2
mov eax, dword [ebp - 0x29c]
push eax
call fcn.004df8f9
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x28c], ebx
mov byte [ebp - 0x29c], bl
cmp dword [ebp - 0x2a4], edi
jb 0x42d0f0
mov ecx, dword [ebp - 0x2b8]
push ecx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x2a8], ebx
mov byte [ebp - 0x2b8], bl
cmp dword [ebp - 0x26c], edi
jb 0x42d119
mov edx, dword [ebp - 0x280]
push edx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x270], ebx
mov byte [ebp - 0x280], bl
cmp dword [ebp - 0x250], edi
jb 0x42d142
mov eax, dword [ebp - 0x264]
push eax
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x254], ebx
mov byte [ebp - 0x264], bl
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x1c], edi
jb 0x42d169
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004df8f9
add esp, 4
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x190], edi
jae 0x42d186
lea eax, [ebp - 0x1a4]
push ebx
push eax
call fcn.004e346e
add esp, 8
test eax, eax
jne 0x42d362
mov edx, dword [ebp - 0x134]
cmp dword [ebp - 0x120], edi
jae 0x42d1ac
lea edx, [ebp - 0x134]
mov eax, edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42d1c0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x4c]
call fcn.00404e20
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x134]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.0042c190
mov ecx, eax
call fcn.004136d0
cmp dword [ebp - 0x38], edi
jb 0x42d202
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004df8f9
add esp, 4
mov esi, 0xf
cmp dword [ebp - 0x1c8], edi
jb 0x42d21e
mov edx, dword [ebp - 0x1dc]
push edx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x1c8], esi
mov dword [ebp - 0x1cc], ebx
mov byte [ebp - 0x1dc], bl
cmp dword [ebp - 0x190], edi
jb 0x42d247
mov eax, dword [ebp - 0x1a4]
push eax
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x190], esi
mov dword [ebp - 0x194], ebx
mov byte [ebp - 0x1a4], bl
cmp dword [ebp - 0x158], edi
jb 0x42d270
mov ecx, dword [ebp - 0x16c]
push ecx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x15c], ebx
mov byte [ebp - 0x16c], bl
cmp dword [ebp - 0x1ac], edi
jb 0x42d299
mov edx, dword [ebp - 0x1c0]
push edx
call fcn.004df8f9
add esp, 4
mov dword [ebp - 0x1ac], esi
mov dword [ebp - 0x1b0], ebx
mov byte [ebp - 0x1c0], bl
cmp dword [ebp - 0x13c], edi
jb 0x42d2c2
mov eax, dword [ebp - 0x150]
push eax
call fcn.004df8f9
add esp, 4
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
mov byte [ebp - 4], 4
call fcn.00404820
push str.tool
lea ecx, [ebp - 0x248]
call fcn.0041e030
test al, al
jne 0x42c7f0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 8]
push eax
push str.GetLclTools_Local_total__d_tools_
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0xb
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.CToolBoxDoc
mov byte [ecx], bl
call fcn.00404e20
push 4
push 0x57d720
call fcn.0041cec0
add esp, 0x2c
mov ecx, esi
call fcn.0042ab50
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.004167d0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1dc]
cmp dword [ebp - 0x1c8], edi
jae 0x42d376
lea eax, [ebp - 0x1dc]
push ebx
push eax
call fcn.004e346e
add esp, 8
test eax, eax
jne 0x42d3c2
mov edx, dword [ebp - 0x134]
cmp dword [ebp - 0x120], edi
jae 0x42d398
lea edx, [ebp - 0x134]
mov eax, edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42d3a6
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x4c]
call fcn.00404e20
mov byte [ebp - 4], 0x23
jmp 0x42d1d7
push 4
push ebx
push str..exe
lea ecx, [ebp - 0xe0]
call fcn.00402860
cmp eax, 0xffffffff
jne 0x42d207
mov eax, dword [ebp - 0x134]
cmp dword [ebp - 0x120], edi
jae 0x42d3f2
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x188]
call fcn.00406560
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x134]
push edx
lea eax, [ebp - 0x188]
push eax
mov byte [ebp - 4], 0x24
call fcn.0042c190
mov ecx, eax
call fcn.004136d0
cmp dword [ebp - 0x174], edi
jb 0x42d207
mov ecx, dword [ebp - 0x188]
push ecx
call fcn.004df8f9
add esp, 4
jmp 0x42d207