Function at 0x452b50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54dba4
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x5a4ca4]
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 ebx, ecx
mov dword [ebp - 0x2b8], ebx
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x2bc], ebx
lea esi, [ebx + 4]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x2a8], eax
mov dword [ebx], vtable.FanInfoProtobuf.0
mov dword [ebp - 0x2a8], esi
mov dword [ebp - 0x2b4], eax
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00404260
mov dword [esi], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2a8], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00404260
mov dword [esi], eax
push 0x4060f02
mov byte [ebp - 4], 1
mov dword [ebx + 0x14], 0xe0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebp - 0x2a8], 0
call fcn.00408490
add esp, 4
test al, al
je 0x452c32
lea eax, [ebp - 0x2a8]
push eax
push 0x4060f02
call fcn.00407740
add esp, 8
cmp dword [ebp - 0x2a8], 0
je 0x452c70
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00455300
mov ecx, eax
mov eax, 1
mov dword [ebp - 0x2b4], eax
cmp dword [ecx + 0x14], 0x10
jb 0x452c5e
mov ecx, dword [ecx]
push ecx
call fcn.0052c2f8
add esp, 4
cmp eax, 0x6a
jge 0x452c70
mov cl, 1
jmp 0x452c72
xor cl, cl
mov eax, dword [ebp - 0x2b4]
mov byte [0x5bdbd0], cl
test al, 1
je 0x452ccb
mov edx, dword [ebp - 0x21c]
and eax, 0xfffffffe
mov dword [ebp - 0x2b4], eax
cmp edx, 0x10
jb 0x452ccb
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x452cbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453023
push edx
push ecx
call fcn.0050974d
mov cl, byte [0x5bdbd0]
add esp, 8
test cl, cl
je 0x452f6c
mov ecx, 0x1b
lea edi, [ebp - 0x218]
mov esi, 0x5632e8
lea eax, [ebp - 0x1aa]
rep movsd dword es:[edi], dword [esi]
push 0x19a
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.00521d30
add esp, 0xc
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x230]
push eax
call fcn.00450f50
mov eax, dword [ebp - 0x2b4]
or eax, 2
mov byte [ebp - 4], 2
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x230]
push eax
call fcn.0045e850
add esp, 4
test al, al
je 0x452d4c
lea eax, [ebp - 0x218]
push eax
call fcn.00472030
add esp, 4
test eax, eax
jne 0x452d4c
mov bl, 1
jmp 0x452d4e
xor bl, bl
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.00404720
test bl, bl
je 0x452e26
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00450f50
push 0x5bde50
push 0x451780
push 0x5bde4c
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0
call fcn.00507b8f
add esp, 0xc
test eax, eax
je 0x453028
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x2a8], 0x5bde50
push eax
lea eax, [ebp - 0x220]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x248]
movlpd qword [ebp - 0x220], xmm0
push eax
call fcn.0045dca0
push 0x5bde50
push 0x451780
push 0x5bde4c
call fcn.00507b8f
add esp, 0x18
test eax, eax
je 0x45302d
mov eax, dword [ebp - 0x2a8]
mov eax, dword [eax + 4]
cmp eax, dword [0x5bde54]
jne 0x452fd6
cmp dword [ebp - 0x2ac], 0
jne 0x452fd6
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00404720
lea eax, [ebp - 0x218]
push eax
call fcn.00472130
add esp, 4
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x248]
push eax
call fcn.00450f50
lea eax, [ebp - 0x248]
push eax
call fcn.0045e850
add esp, 4
lea ecx, [ebp - 0x248]
mov bl, al
call fcn.00404720
test bl, bl
jne 0x452e74
push 0
push 0x5632e8
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.C:ProgramDataASUSARMOURY_CRATE_DiagnosisFanCtrlSvcplc_debug.log
mov ecx, 0x5bdddc
call fcn.00432f40
call fcn.00507fb0
push 0
push 0x989680
push edx
push eax
call fcn.0050a720
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x294]
mov dword [ebp - 0x21c], edx
push 0x1a
push eax
call fcn.005326e1
xor eax, eax
mov word [ebp - 0x264], ax
lea eax, [ebp - 0x294]
push eax
push str._n__s__n
push 0x5bdddc
call fcn.00432ed0
push 3
push 2
call fcn.00404580
add esp, 0x20
movzx eax, al
push eax
push 2
push 2
call fcn.00404580
add esp, 8
movzx eax, al
push eax
push str._FanCtrlSvc__Reg02__0x_x__Reg03__0x_x_n
push 0x5bdddc
call fcn.00432ed0
push 3
push 2
mov dword [ebp - 0x2b0], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservice_faninfoprotobuf.cpp
mov dword [ebp - 0x2ac], 0x4f6
call fcn.00404580
add esp, 0x18
movzx eax, al
push eax
push 2
push 2
call fcn.00404580
movq xmm0, qword [ebp - 0x2b0]
add esp, 8
movzx eax, al
push eax
push str._FanCtrlSvc__Reg02__0x_x__Reg03__0x_x
sub esp, 0xc
mov eax, esp
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.FanInfoProtobuf::CheckPLCPlugReg
call fcn.0047d6b0
push eax
call fcn.00481b00
mov ebx, dword [ebp - 0x2b8]
add esp, 0x20
mov ecx, ebx
call fcn.00456110
test al, al
jne 0x452fb8
push str.invalid_fan_proto_files
sub esp, 0xc
mov dword [ebp - 0x224], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservice_faninfoprotobuf.cpp
mov ecx, esp
mov dword [ebp - 0x220], 0x4e
movq xmm0, qword [ebp - 0x224]
push 2
movq qword [ecx], xmm0
mov dword [ecx + 8], str.FanInfoProtobuf::FanInfoProtobuf
call fcn.0047d6b0
push eax
call fcn.00481b00
add esp, 0x18
mov eax, ebx
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.0050970c
mov esp, ebp
pop ebp
push str.remove_all_p_:_invalid_argument
lea ecx, [ebp - 0x260]
call fcn.0044f100
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 4
push 1
push eax
call fcn.0045eb30
add esp, 8
lea ecx, [ebp - 0x2a4]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x260]
push eax
call fcn.004534b0
push 0x5955d4
lea eax, [ebp - 0x2a4]
push eax
call fcn.005211b7
call fcn.00524f8e
call fcn.005326a5
call fcn.005326a5
int3