Function at 0x1001aff0
Capabilities:
Check if file exists
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d9490
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x29c], edx
mov esi, ecx
push 0x104
lea eax, [ebp - 0x118]
mov dword [ebp - 0x298], 0
push 0
push eax
call fcn.100b7060
add esp, 0xc
lea eax, [ebp - 0x118]
push esi
push 0x104
push eax
call fcn.100c3c1c
add esp, 0xc
lea eax, [ebp - 0x118]
push str.manifest.json
push 0x104
push eax
call fcn.100c3c76
add esp, 0xc
push str.d:hudsonjobscoupon_1.0.1.1workspacecouponcomponentinjectlogicalcrxinstobjc2w.cpp
push 0x378
push str._DEBUGINFO__SETCRX__line_d_file_s_n
call fcn.100043d0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1001b577
push 0x80
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.d:hudsonjobscoupon_1.0.1.1workspacecouponcomponentinjectlogicalcrxinstobjc2w.cpp
push 0x37c
push str._DEBUGINFO__SETCRX__line_d_file_s_n
call fcn.100043d0
add esp, 0xc
lea eax, [ebp - 0x290]
xor ebx, ebx
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
push eax
cmovne ebx, dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0x64
jbe 0x1001b577
push str.d:hudsonjobscoupon_1.0.1.1workspacecouponcomponentinjectlogicalcrxinstobjc2w.cpp
push 0x381
push str._DEBUGINFO__SETCRX__line_d_file_s_n
call fcn.100043d0
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x100ee020
push eax
call fcn.100bed8c
add esp, 8
mov dword [ebp - 0x294], eax
test eax, eax
je 0x1001b577
push str.d:hudsonjobscoupon_1.0.1.1workspacecouponcomponentinjectlogicalcrxinstobjc2w.cpp
push 0x385
push str._DEBUGINFO__SETCRX__line_d_file_s_n
call fcn.100043d0
add esp, 0xc
lea esi, [ebx + 1]
push esi
call fcn.100bd8fa
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100b7060
mov esi, dword [ebp - 0x294]
add esp, 0xc
push esi
push ebx
push 1
push edi
call fcn.100bfba1
push esi
call fcn.100bf0a9
add esp, 0x14
push str.d:hudsonjobscoupon_1.0.1.1workspacecouponcomponentinjectlogicalcrxinstobjc2w.cpp
push 0x38a
push str._DEBUGINFO__SETCRX__line_d_file_s_n
call fcn.100043d0
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b198
sub ecx, edx
cmp ecx, 1
jb 0x1001b577
mov ecx, edi
mov esi, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b1b1
sub ecx, edx
cmp ecx, 1
jb 0x1001b577
mov ebx, 1
sub ebx, edi
nop word [eax + eax]
push 1
push 0x100edcbc
push esi
call fcn.100bdd68
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
test eax, eax
je 0x1001b205
inc esi
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b1f0
sub ecx, edx
lea eax, [ebx + esi]
cmp eax, ecx
jbe 0x1001b1d0
jmp 0x1001b577
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b205
sub ecx, edx
cmp ecx, 1
jb 0x1001b577
mov ecx, edi
mov esi, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b220
sub ecx, edx
cmp ecx, 1
jb 0x1001b577
push 1
push 0x100edcc0
push esi
call fcn.100bdd68
add esp, 0xc
test eax, eax
je 0x1001b265
mov ecx, edi
inc esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b250
sub ecx, edx
lea eax, [ebx + esi]
cmp eax, ecx
jbe 0x1001b232
jmp 0x1001b577
push str.d:hudsonjobscoupon_1.0.1.1workspacecouponcomponentinjectlogicalcrxinstobjc2w.cpp
push 0x38d
push str._DEBUGINFO__SETCRX__line_d_file_s_n
call fcn.100043d0
add esp, 0xc
push 0x74
call fcn.100b47e3
add esp, 4
mov dword [ebp - 0x2bc], eax
lea ecx, [ebp - 0x294]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
mov dword [ebp - 0x294], 0x100
call fcn.1000b7d0
and dword [ebp - 0x2b0], 0xfffffe00
mov esi, eax
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 4], 2
mov dword [ebp - method.Json::FastWriter.virtual_0], vtable.Json::FastWriter.0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
mov word [ebp - 0x11c], 0
mov byte [ebp - 0x11a], 0
push 0x100edcbc
push edi
mov byte [ebp - 4], 3
call fcn.100b6560
add esp, 8
test eax, eax
je 0x1001b36e
push 0x100edcbc
push edi
call fcn.100b6560
add esp, 8
lea ecx, [ebp - 0x150]
push eax
call fcn.10001670
push 1
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x298], 1
push eax
mov ecx, esi
call fcn.1000b8f0
test al, al
je 0x1001b36e
mov bl, 1
jmp 0x1001b370
xor bl, bl
mov dword [ebp - 4], 3
test byte [ebp - 0x298], 1
je 0x1001b3ba
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x1001b3ba
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b3b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b5aa
push edx
push ecx
call fcn.100b4813
add esp, 8
test bl, bl
je 0x1001b561
mov ecx, dword [ebp - 0x29c]
call fcn.1001a080
mov esi, eax
lea ecx, [ebp - 0x2d8]
push esi
call fcn.10014df0
push 0x100ee028
push str.name
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 5
call fcn.10015d00
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.100151a0
lea ecx, [ebp - 0x2d8]
call fcn.10015080
push esi
lea ecx, [ebp - 0x2d8]
call fcn.10014df0
push 0x100ee036
push str.short_name
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 6
call fcn.10015d00
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.100151a0
lea ecx, [ebp - 0x2d8]
call fcn.10015080
cmp dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x134]
mov dword [ebp - 0x124], 0
lea ecx, [ebp - 0x138]
cmovae eax, dword [ebp - 0x134]
mov byte [eax], 0
lea eax, [ebp - 0x2b8]
push eax
call fcn.100183f0
cmp byte [ebp - 0x11a], 0
jne 0x1001b49f
push 0x100ed634
lea ecx, [ebp - 0x134]
call fcn.100015b0
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x150]
call fcn.1000e910
lea eax, [ebp - 0x118]
push 0x100ee038
push eax
call fcn.100bed8c
mov esi, eax
add esp, 8
test esi, esi
je 0x1001b52b
push str.d:hudsonjobscoupon_1.0.1.1workspacecouponcomponentinjectlogicalcrxinstobjc2w.cpp
push 0x39c
push str._DEBUGINFO__SETCRX__line_d_file_s_n
call fcn.100043d0
mov edi, dword [ebp - 0x13c]
lea edx, [ebp - 0x150]
mov ebx, dword [ebp - 0x150]
add esp, 0xc
cmp edi, 0x10
cmovae edx, ebx
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1001b500
sub edx, ecx
lea ecx, [ebp - 0x150]
push esi
cmp edi, 0x10
push 1
lea eax, [edx - 1]
cmovae ecx, ebx
push eax
push ecx
call fcn.100befdb
push esi
call fcn.100bf0a9
add esp, 0x14
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x1001b561
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b557
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b5af
push edx
push ecx
call fcn.100b4813
add esp, 8
lea ecx, [ebp - 0x138]
call fcn.10017a80
lea ecx, [ebp - 0x2b8]
call fcn.10015080
push str.d:hudsonjobscoupon_1.0.1.1workspacecouponcomponentinjectlogicalcrxinstobjc2w.cpp
push 0x3aa
push str._DEBUGINFO__SETCRX__line_d_file_s_n
call fcn.100043d0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
call fcn.100ba02c
call fcn.100ba02c
int3