Function at 0x4b6850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x513368
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x572bb0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
call fcn.00460220
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x4b689c
push 0x80004005
call fcn.004712d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x80], 0
mov byte [esp + 0x13], 0
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b68d4
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov dword [esp + 0x44], eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x80], 1
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b690a
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x80], 2
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b693c
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov edi, dword [ebp + 8]
mov ecx, edi
push str.filePath
mov byte [esp + 0x84], 3
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b7499
push str.filePath
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b7499
push str.filePath
mov ecx, edi
call fcn.0048ad90
mov dword [esp + 0x34], eax
cmp byte [eax + 8], 4
je 0x4b69b3
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
mov eax, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [eax]
test edx, edx
jne 0x4b69bd
xor ecx, ecx
jmp 0x4b69d1
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b69c6
sub ecx, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0047e3b0
lea edx, [esp + 0x20]
lea ecx, [esp + 0x14]
call fcn.0047da90
push 0x551930
mov ecx, edi
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b7310
push 0x551930
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b7310
push 0x551930
mov ecx, edi
call fcn.0048ad90
mov ebx, eax
cmp byte [ebx + 8], 4
je 0x4b6a41
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov edx, dword [ebx]
test edx, edx
jne 0x4b6a4b
xor ecx, ecx
jmp 0x4b6a59
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b6a50
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0047e3b0
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.0047da90
push str.content
mov ecx, edi
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b7188
push str.content
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b7188
push str.content
mov ecx, edi
call fcn.0048ad90
mov esi, eax
cmp byte [esi + 8], 4
je 0x4b6ac9
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x4b6ad3
xor ecx, ecx
jmp 0x4b6ae1
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b6ad8
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0047e3b0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
call fcn.0047da90
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b6b15
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x80], 0x10
lea eax, [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
push edi
push ebx
push str._s_s.txt
push eax
call fcn.00472d30
add esp, 0x10
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b6b63
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 1
lea edx, [esp + 0x1c]
mov byte [esp + 0x84], 0x11
lea ecx, [esp + 0x24]
call fcn.00477910
add esp, 4
test al, al
je 0x4b6ed6
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
push 1
push 1
sub esp, 0xc
mov byte [esp + 0x94], 0x12
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x68]
push 4
push 0xc0000000
push esi
call fcn.0047e590
test eax, eax
je 0x4b6e2b
push str.textfileerroropen
lea ecx, [esp + 0x34]
call fcn.00471bb0
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 0x13
call fcn.00474280
mov byte [esp + 0x80], 0x12
or eax, 0xffffffff
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b6c3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.openFile_error
lea ecx, [esp + 0x38]
call fcn.00471c70
push str.createTextFile
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 0x14
call fcn.00471bb0
mov byte [esp + 0x80], 0x15
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b6c84
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov dword [esp + 0x40], eax
add eax, 0x10
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
mov byte [esp + 0x80], 0x16
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x40]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov byte [esp + 0x80], 0x17
mov eax, dword [esp + 0x24]
cmp dword [eax + 0xc], 0
je 0x4b6cd8
push 2
push ecx
lea ecx, [esp + 0x38]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x80], 0x16
or ecx, 0xffffffff
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b6cfe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0x15
or ecx, 0xffffffff
mov edx, dword [esp + 0x40]
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b6d21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0x14
or ecx, 0xffffffff
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b6d47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0x12
or ecx, 0xffffffff
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b6d6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x54]
call fcn.0047e540
mov byte [esp + 0x80], 0x10
or ecx, 0xffffffff
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b6d9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x80], 3
or esi, 0xffffffff
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b6dc0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 2
mov ecx, esi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b6de5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x80], 1
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b6e06
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x80], 0
mov ecx, esi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b762c
mov ecx, dword [ebx]
push ebx
jmp 0x4b7627
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
call fcn.0047ea70
test al, al
jne 0x4b6e7d
push str.textfileerrorwrite
lea ecx, [esp + 0x38]
call fcn.00471bb0
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 0x18
call fcn.00474280
mov byte [esp + 0x80], 0x12
or eax, 0xffffffff
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jmp 0x4b6d63
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4b6e8c
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x58]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x4b6ea4
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
je 0x4b6eb0
push eax
call ecx
mov byte [esp + 0x80], 0x10
or eax, 0xffffffff
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov byte [esp + 0x13], 1
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jmp 0x4b6d92
push 0x54c414
lea ecx, [esp + 0x28]
call fcn.00471bb0
push 0x54c414
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 0x19
call fcn.00471bb0
push str.textfileerrorcreatedir
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 0x1a
call fcn.00471bb0
push ecx
mov byte [esp + 0x84], 0x1b
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x54c730
call fcn.00471bb0
mov byte [esp + 0x84], 0x1c
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b6f4d
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x44], esi
lea eax, [esp + 0x38]
mov byte [esp + 0x84], 0x1d
push eax
lea edx, [esp + 0x48]
lea ecx, [esp + 0x54]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 0x1e
push ecx
mov edx, eax
lea ecx, [esp + 0x50]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 0x1f
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 0x20
push ecx
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0x21
push ecx
mov edx, eax
lea ecx, [esp + 0x44]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x84], 0x22
mov ecx, eax
mov byte [esp + 0x84], 0x28
call fcn.00474300
mov byte [esp + 0x84], 0x27
add esp, 4
mov edx, dword [esp + 0x3c]
or eax, 0xffffffff
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b7024
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0x26
or ecx, 0xffffffff
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b704a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0x25
or ecx, 0xffffffff
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b7070
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0x24
or ecx, 0xffffffff
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b7096
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0x23
or ecx, 0xffffffff
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b70bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x80], 0x1b
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b70e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0x1a
mov ecx, esi
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b7105
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0x19
mov ecx, esi
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b712a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0x11
mov ecx, esi
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b714f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0x10
mov ecx, esi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b7174
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 3
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
jmp 0x4b6daa
push str.content_error
lea ecx, [esp + 0x34]
call fcn.00471c70
push str.createTextFile
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 0xc
call fcn.00471bb0
mov byte [esp + 0x80], 0xd
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b71d0
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x4c], edi
lea eax, [esp + 0x30]
mov byte [esp + 0x80], 0xe
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov byte [esp + 0x80], 0xf
mov eax, dword [esp + 0x24]
cmp dword [eax + 0xc], 0
je 0x4b7220
push 2
push ecx
lea ecx, [esp + 0x3c]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x80], 0xe
or ebx, 0xffffffff
mov edx, dword [esp + 0x48]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b7248
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x80], 0xd
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b7269
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0xc
mov ecx, ebx
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b728e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 3
mov ecx, ebx
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b72b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x80], 2
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b72d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 1
mov ecx, esi
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b72fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
jmp 0x4b7616
push str.name_error
lea ecx, [esp + 0x34]
call fcn.00471c70
push str.createTextFile
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 8
call fcn.00471bb0
mov byte [esp + 0x80], 9
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b7358
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x4c], edi
lea eax, [esp + 0x30]
mov byte [esp + 0x80], 0xa
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov byte [esp + 0x80], 0xb
mov eax, dword [esp + 0x24]
cmp dword [eax + 0xc], 0
je 0x4b73a8
push 2
push ecx
lea ecx, [esp + 0x3c]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x80], 0xa
or eax, 0xffffffff
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b73ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x80], 9
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b73f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 8
mov ecx, edi
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b7417
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 3
mov ecx, edi
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b743c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x80], 2
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b7460
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x80], 1
mov ecx, esi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b72fc
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
jmp 0x4b7616
push str.filePath_error
lea ecx, [esp + 0x34]
call fcn.00471c70
push str.createTextFile
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 4
call fcn.00471bb0
mov byte [esp + 0x80], 5
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b74e1
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x4c], edi
lea eax, [esp + 0x30]
mov byte [esp + 0x80], 6
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov byte [esp + 0x80], 7
mov eax, dword [esp + 0x24]
cmp dword [eax + 0xc], 0
je 0x4b7531
push 2
push ecx
lea ecx, [esp + 0x3c]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x80], 6
or eax, 0xffffffff
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b7557
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x80], 5
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b757b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 4
mov ecx, edi
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b75a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 3
mov ecx, edi
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b75c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x80], 2
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b75e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x80], 1
mov ecx, esi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b760a
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x80], 0
mov edx, dword [esp + 0x44]
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b762c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4b7646
mov eax, 0xb
mov word [ecx], ax
mov al, byte [esp + 0x13]
movzx eax, al
mov word [ecx + 8], ax
mov dword [esp + 0x80], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4b766c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8