Function at 0x508950
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53554d
mov eax, dword fs:[0]
push eax
sub esp, 0x9f4
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x9e8], edi
mov esi, dword [ebp + 0xc]
cmp esi, 3
mov edx, dword [ebp + 8]
sete byte [ebp - 0x9d5]
mov dword [ebp - 0x88], 0
xor eax, eax
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov ecx, edx
mov byte [ebp - 4], 1
lea eax, [ecx + 2]
mov dword [ebp - 0x9ec], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5089d2
sub ecx, dword [ebp - 0x9ec]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.00413520
lea ecx, [ebp - 0x80]
call fcn.00513e30
xor eax, eax
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
mov byte [ebp - 4], 3
xorps xmm0, xmm0
push eax
mov dword [ebp - 0x9e0], eax
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.004e2e2c
mov dword [ebp - 0x9fc], eax
lea eax, [ebp - 0x9fc]
push eax
mov dword [ebp - 0x9f8], edx
call fcn.004e4cc4
add esp, 4
mov dword [ebp - 0x9ec], eax
lea eax, [ebp - 0x9e0]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0050a6d0
mov ecx, dword [ebp - 0x9ec]
mov byte [ebp - 0x9d1], al
test ecx, ecx
je 0x508ab4
push dword [ecx]
mov eax, dword [ecx + 0x10]
push dword [ecx + 4]
inc eax
push dword [ecx + 8]
push dword [ecx + 0xc]
push eax
mov eax, dword [ecx + 0x14]
add eax, 0x76c
push eax
push str._04d_02d_02d_02d_02d_02d
lea eax, [ebp - 0x50]
push 0x10
push eax
call fcn.00448050
mov al, byte [ebp - 0x9d1]
add esp, 0x24
test esi, esi
jne 0x508b4f
test al, al
je 0x508b4a
mov eax, dword [ebp - 0x9fc]
lea ecx, [ebp - 0xec]
cmp dword [ebp - 0xd8], 8
mov dword [ebp - 0x9dc], eax
mov eax, dword [ebp - 0x9f8]
cmovae ecx, dword [ebp - 0xec]
mov dword [ebp - 0xa00], eax
call fcn.0050cfa0
mov ecx, eax
mov dword [ebp - 0x9ec], eax
and ecx, edx
mov dword [ebp - 0x9f0], edx
cmp ecx, 0xffffffff
je 0x508b4a
mov ecx, dword [ebp - 0xa00]
cmp edx, ecx
jg 0x508b4a
mov eax, dword [ebp - 0x9dc]
mov edx, dword [ebp - 0x9ec]
jl 0x508b26
cmp edx, eax
ja 0x508b4a
sub eax, edx
push 0
sbb ecx, dword [ebp - 0x9f0]
push 0x15180
push ecx
push eax
call fcn.004d7620
mov ecx, 1
cmp eax, ecx
cmovl ecx, esi
mov esi, ecx
jmp 0x508b4f
mov esi, 1
cmp dword [0x5c92c8], 8
mov edx, 0x5c92b4
mov dword [ebp - 0x58], 0
cmovae edx, dword [0x5c92b4]
xor eax, eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov ecx, edx
mov byte [ebp - 4], 4
lea eax, [ecx + 2]
mov dword [ebp - 0x9f0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x508b85
sub ecx, dword [ebp - 0x9f0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.00413520
lea ecx, [ebp - 0x68]
call fcn.00513e30
push 1
push 0x597154
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.0042c750
push 6
push str.Backup
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.004e7033
add esp, 4
cmp eax, 0xffffffff
jne 0x508c16
xorps xmm0, xmm0
movups xmmword [ebp - 0xb8], xmm0
movups xmmword [ebp - 0xa8], xmm0
call fcn.004e1e89
push dword [eax]
lea eax, [ebp - 0xb8]
push 0x20
push eax
call fcn.004e6595
add esp, 0xc
cmp byte [edi + 0x1a1], 0
je 0x508cef
mov eax, dword [edi + 0x128]
cmp eax, 0x4c
jne 0x508cef
mov edi, dword [edi + 0x124]
test edi, edi
je 0x508cef
xor ecx, ecx
cmp eax, eax
cmovne edi, ecx
mov edi, dword [edi + 0x10]
test edi, edi
jns 0x508cf1
lea eax, [ebp - 0x9f4]
push eax
call fcn.004e2e2c
lea eax, [ebp - 0x9f4]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.004e4ceb
push dword [ebp - 0xbc]
cmp dword [0x5c92e0], 8
mov ecx, 0x5c92cc
push dword [ebp - 0xb8]
cmovae ecx, dword [0x5c92cc]
push dword [ebp - 0xb4]
mov eax, dword [ebp - 0xac]
push dword [ebp - 0xb0]
inc eax
push eax
mov eax, dword [ebp - 0xa8]
add eax, 0x76c
push eax
push ecx
push 0x5d2130
push str.__s___s___04d__02d__02d__02d:_02d:_02d_
call fcn.005212c0
push 0x2e3
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
push edi
push esi
push str.state:_d__nUsrWordNum___0__usrwordnum_d
call fcn.005212c0
add esp, 0x48
mov byte [ebp - 0x9d1], 0
jmp 0x509c5e
xor edi, edi
cmp esi, 5
je 0x509906
cmp byte [ebp - 0x9d1], 0
je 0x509906
test esi, esi
jne 0x508d6f
cmp edi, dword [ebp - 0x9e0]
jl 0x508d6f
push dword [ebp - 0x9d5]
mov ecx, dword [ebp - 0x9e8]
lea eax, [ebp - 0x80]
push eax
call fcn.00509cb0
test al, al
jne 0x509c57
call fcn.00521240
push 0x3fd
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
push esi
push str.state:_d__WriteToDict_false__topath:_s
call fcn.005212c0
add esp, 0x18
mov byte [ebp - 0x9d1], 0
jmp 0x509c5e
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
cmp dword [0x5c92c8], 8
mov edx, 0x5c92b4
push str.usrv3merge
cmovae edx, dword [0x5c92b4]
call fcn.005132b0
add esp, 4
test al, al
jne 0x508df7
call fcn.00521240
push 0x335
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
push str.GetTempPath_false
call fcn.005212c0
add esp, 0x10
lea ecx, [ebp - 0xd4]
call fcn.00517530
mov byte [ebp - 0x9d1], 0
jmp 0x509c5e
push dword [ebp - 0x9d5]
mov ecx, dword [ebp - 0x9e8]
lea eax, [ebp - 0x9d1]
push eax
lea eax, [ebp - 0x9e0]
mov dword [ebp - 0x9dc], 0
push eax
lea eax, [ebp - 0x9dc]
mov byte [ebp - 0x9d1], 0
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0050a110
cmp dword [0x5c92c8], 8
mov ecx, 0x5c92b4
push str.PseudoMap.ini
cmovae ecx, dword [0x5c92b4]
push ecx
lea ecx, [ebp - 0xb0]
mov byte [ebp - 0x9e1], al
call fcn.00514290
mov byte [ebp - 4], 7
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
cmovae eax, dword [ebp - 0xb0]
push eax
call fcn.004456c0
mov ecx, eax
call fcn.0050c760
push 0x110
lea eax, [ebp - 0x9cc]
mov dword [ebp - 0x9d0], str.kernelDetect.ini
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
lea ecx, [ebp - 0x9d0]
call fcn.00501d70
inc dword [ebp - 0x8d4]
lea ecx, [ebp - 0x9d0]
call fcn.00500950
cmp byte [ebp - 0x9e1], 0
mov ecx, dword [ebp - 0x9e0]
mov eax, dword [ebp - 0x9dc]
jne 0x5090d4
push 0x110
lea eax, [ebp - 0x9cc]
mov dword [ebp - 0x9d0], str.kernelDetect.ini
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
lea ecx, [ebp - 0x9d0]
call fcn.00501d70
inc dword [ebp - 0x8d0]
lea ecx, [ebp - 0x9d0]
call fcn.00500950
call fcn.00521240
push 0x344
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
push esi
push str.state:_d__merge_false
call fcn.005212c0
add esp, 0x14
push edi
push 0x5986d4
lea eax, [ebp - 0x30]
push 0x10
push eax
call fcn.00448050
add esp, 0x10
cmp word [ebp - 0x30], 0
je 0x508f97
push 1
push 0x597154
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x30]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x508f73
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
push 1
push 0x5986dc
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
cmp word [str.sgim_usr_v3new.bin], 0
je 0x508fcf
push 0x12
push str.sgim_usr_v3new.bin
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
push 1
push 0x5986dc
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
cmp word [ebp - 0x50], 0
je 0x509017
lea ecx, [ebp - 0x50]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x508ff3
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
cmp edi, dword [ebp - 0x9e0]
jl 0x5095ca
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
mov edi, dword [ebp - 0x9e8]
mov ecx, dword [ebp - 0x9d5]
cmovae eax, dword [ebp - 0x68]
push ecx
push eax
lea ecx, [edi + 0xc]
call fcn.00520120
test al, al
je 0x509510
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.00509fb0
mov dword [ebp - 0x9f0], eax
test eax, eax
je 0x50948b
lea ecx, [ebp - 0x68]
call fcn.00513d60
call fcn.00521240
push 0x391
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
push dword [ebp - 0x9f0]
push esi
push str.state:_d__WriteDict_check_dict_false__errcode:_d__topath:_s
call fcn.005212c0
add esp, 0x1c
lea eax, [ebp - 0x80]
mov ecx, edi
push dword [ebp - 0x9d5]
push eax
call fcn.00509cb0
test al, al
jne 0x509469
call fcn.00521240
push 0x396
jmp 0x509870
cmp eax, edi
je 0x509151
push 0x110
lea eax, [ebp - 0x9cc]
mov dword [ebp - 0x9d0], str.kernelDetect.ini
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
lea ecx, [ebp - 0x9d0]
call fcn.00501d70
inc dword [ebp - 0x8cc]
lea ecx, [ebp - 0x9d0]
call fcn.00500950
call fcn.00521240
push 0x349
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
mov ecx, dword [ebp - 0x9dc]
push edi
push ecx
push esi
push str.state:_d__merge_nMergedWordNum___p_nWordNumAffterSave__nMergedWordNum:_d__nWordNumAffterSave:_d_r_n
call fcn.005212c0
mov eax, dword [ebp - 0x9dc]
add esp, 0x1c
mov ecx, dword [ebp - 0x9e0]
cmp eax, edi
mov dl, byte [ebp - 0x9d1]
jl 0x50915d
cmp eax, ecx
jge 0x509165
test dl, dl
je 0x508f43
cmp edi, ecx
jge 0x50921d
test dl, dl
jne 0x50921d
call fcn.00521240
push 0x352
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
add esp, 0xc
call fcn.00446a70
push str.UsrDict
mov ecx, eax
call fcn.00506660
mov ecx, dword [ebp - 0x9e0]
push ecx
mov ecx, dword [ebp - 0x9dc]
push edi
push ecx
movzx eax, al
push eax
push esi
push str.state:_d__backup__word_is_small__version_is_right:_d__mergenum:_d__wordnum:_d__backupwordnum:_d_r_n
call fcn.005212c0
add esp, 0x18
lea ecx, [ebp - 0x9d0]
call fcn.005032c0
test esi, esi
jne 0x5091da
inc dword [ebp - 0x9a0]
jmp 0x50920c
cmp esi, 1
jne 0x5091e7
inc dword [ebp - 0x990]
jmp 0x50920c
cmp esi, 2
jne 0x5091f4
inc dword [ebp - 0x980]
jmp 0x50920c
cmp esi, 3
jne 0x509201
inc dword [ebp - 0x970]
jmp 0x50920c
cmp esi, 4
jne 0x50920c
inc dword [ebp - 0x960]
lea ecx, [ebp - 0x9d0]
call fcn.00500950
mov eax, dword [ebp - 0x9dc]
push eax
push 0x5986d4
lea eax, [ebp - 0x30]
push 0x10
push eax
call fcn.00448050
add esp, 0x10
cmp word [ebp - 0x30], 0
je 0x509274
push 1
push 0x597154
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x30]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x509250
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
push 1
push 0x5986dc
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
cmp word [str.sgim_usr_v3new.bin], 0
je 0x5092ac
push 0x12
push str.sgim_usr_v3new.bin
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
push 1
push 0x5986dc
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
cmp word [ebp - 0x50], 0
je 0x5092f4
lea ecx, [ebp - 0x50]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5092d0
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0xd4]
call fcn.00513a20
test al, al
jne 0x509350
call fcn.00521240
push 0x362
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0xd4]
cmovae ecx, dword [ebp - 0x68]
cmp dword [ebp - 0xc0], 8
push ecx
cmovae eax, dword [ebp - 0xd4]
push eax
push esi
push str.state:_d__CopyToDict_false__frompath:_s__topath:_s_r_n
call fcn.005212c0
add esp, 0x1c
jmp 0x50935b
lea ecx, [ebp - 0x98]
call fcn.00513d60
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0xd4]
call fcn.00513190
test al, al
jne 0x5098eb
call fcn.00521240
push 0x36c
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x6c], 8
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0xd4]
cmovae ecx, dword [ebp - 0x80]
cmp dword [ebp - 0xc0], 8
push ecx
cmovae eax, dword [ebp - 0xd4]
push eax
push esi
push str.state:_d__MoveToDict_false__frompath:_s__topath:_s
call fcn.005212c0
add esp, 0x1c
lea ecx, [ebp - 0x68]
call fcn.00513dd0
test al, al
je 0x5098eb
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x68]
call fcn.00513a20
test al, al
jne 0x5098eb
call fcn.00521240
push 0x371
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x6c], 8
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x68]
cmovae ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x54], 8
push ecx
cmovae eax, dword [ebp - 0x68]
push eax
push esi
push str.state:_d__CopyToDict_false__frompath:_s__topath:_s_r_n
call fcn.005212c0
mov ecx, dword [ebp - 0x9d5]
lea eax, [ebp - 0x80]
add esp, 0x1c
push ecx
mov ecx, dword [ebp - 0x9e8]
push eax
call fcn.00509cb0
test al, al
jne 0x5098eb
call fcn.00521240
push 0x376
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
push esi
push str.state:_d__WriteToDict_false__topath:_s_r_n
jmp 0x509891
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.00513a20
test al, al
jne 0x5098eb
call fcn.00521240
push 0x39e
jmp 0x509590
lea ecx, [ebp - 0x98]
call fcn.00513d60
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x68]
call fcn.00513a20
test al, al
jne 0x5098eb
call fcn.00521240
push 0x3a9
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x6c], 8
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x68]
cmovae ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x54], 8
push ecx
cmovae eax, dword [ebp - 0x68]
push eax
push esi
push str.state:_d__CopyToDict_false__frompath:_s__topath:_s
call fcn.005212c0
add esp, 0x1c
lea eax, [ebp - 0x80]
mov ecx, edi
push dword [ebp - 0x9d5]
push eax
call fcn.00509cb0
test al, al
jne 0x5098eb
call fcn.00521240
push 0x3ae
jmp 0x509870
call fcn.00521240
push 0x3b6
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x80]
cmovae ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x6c], 8
push ecx
cmovae eax, dword [ebp - 0x80]
push eax
push esi
push str.state:_d__WriteDict_false__frompath:_s__topath:_s
call fcn.005212c0
add esp, 0x1c
lea eax, [ebp - 0x80]
mov ecx, edi
push dword [ebp - 0x9d5]
push eax
call fcn.00509cb0
test al, al
jne 0x509573
call fcn.00521240
push 0x3bb
jmp 0x509870
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.00513a20
test al, al
jne 0x5098eb
call fcn.00521240
push 0x3c3
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x80]
cmovae ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x6c], 8
push ecx
cmovae eax, dword [ebp - 0x80]
push eax
push esi
push str.state:_d__CopyToDict_false__frompath:_s__topath:_s
call fcn.005212c0
add esp, 0x1c
jmp 0x5098eb
call fcn.00521240
push 0x3ca
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
add esp, 0xc
call fcn.00446a70
push str.UsrDict
mov ecx, eax
call fcn.00506660
mov ecx, dword [ebp - 0x9e0]
push ecx
mov ecx, dword [ebp - 0x9dc]
push edi
push ecx
movzx eax, al
push eax
push esi
push str.state:_d__backup__word_is_small__version_is_right:_d__mergenum:_d__wordnum:_d__backupwordnum:_d_r_n
call fcn.005212c0
push 0x110
lea eax, [ebp - 0x9cc]
mov dword [ebp - 0x9d0], str.kernelDetect.ini
push 0
push eax
call fcn.004d9fe0
add esp, 0x24
lea ecx, [ebp - 0x9d0]
call fcn.00501d70
test esi, esi
jne 0x50964c
inc dword [ebp - 0x9a0]
jmp 0x50967e
cmp esi, 1
jne 0x509659
inc dword [ebp - 0x990]
jmp 0x50967e
cmp esi, 2
jne 0x509666
inc dword [ebp - 0x980]
jmp 0x50967e
cmp esi, 3
jne 0x509673
inc dword [ebp - 0x970]
jmp 0x50967e
cmp esi, 4
jne 0x50967e
inc dword [ebp - 0x960]
lea ecx, [ebp - 0x9d0]
call fcn.00500950
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.00509fb0
mov dword [ebp - 0x9f0], eax
test eax, eax
je 0x5097eb
call fcn.00521240
push 0x3d1
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push eax
push dword [ebp - 0x9f0]
push str.CheckDict_err__errcode:_d__desname:_s_r_n
call fcn.005212c0
add esp, 0x18
lea ecx, [ebp - 0x98]
call fcn.00513d60
push dword [ebp - 0x9d5]
mov ecx, dword [ebp - 0x9e8]
lea eax, [ebp - 0x80]
push eax
call fcn.00509cb0
test al, al
jne 0x509725
call fcn.00521240
push 0x3d7
jmp 0x509870
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.00513a20
test al, al
jne 0x509773
call fcn.00521240
push 0x3df
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x80]
cmovae ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x6c], 8
push ecx
cmovae eax, dword [ebp - 0x80]
push eax
push esi
push str.state:_d__CopyToDict_false__frompath:_s__topath:_s
call fcn.005212c0
add esp, 0x1c
call fcn.00521240
push 0x3f3
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
push dword [ebp - 0x9e0]
push edi
push dword [ebp - 0x9dc]
push esi
push str.state:_d__backup_merge_false__mergenum:_d__usrwordnum:_d__backupwordnum:_d_r_n
call fcn.005212c0
push 0x110
lea eax, [ebp - 0x9cc]
mov dword [ebp - 0x9d0], str.kernelDetect.ini
push 0
push eax
call fcn.004d9fe0
add esp, 0x2c
lea ecx, [ebp - 0x9d0]
call fcn.00501d70
test esi, esi
je 0x5098e0
cmp esi, 1
jne 0x5098bb
inc dword [ebp - 0x994]
jmp 0x5098e0
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x98]
call fcn.00513a20
test al, al
jne 0x509773
call fcn.00521240
push 0x3e8
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x6c], 8
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x98]
cmovae ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x84], 8
push ecx
cmovae eax, dword [ebp - 0x98]
push eax
push esi
push str.state:_d__CopyToDict_false__frompath:_s__topath:_s
call fcn.005212c0
mov ecx, dword [ebp - 0x9e8]
lea eax, [ebp - 0x80]
add esp, 0x1c
push dword [ebp - 0x9d5]
push eax
call fcn.00509cb0
test al, al
jne 0x509773
call fcn.00521240
push 0x3ed
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
push esi
push str.state:_d__WriteToDict_false__topath:_s
call fcn.005212c0
add esp, 0x18
lea ecx, [ebp - 0xb0]
call fcn.004134c0
lea ecx, [ebp - 0xd4]
call fcn.00517530
mov byte [ebp - 0x9d1], 0
jmp 0x509c5e
cmp esi, 2
jne 0x5098c8
inc dword [ebp - 0x984]
jmp 0x5098e0
cmp esi, 3
jne 0x5098d5
inc dword [ebp - 0x974]
jmp 0x5098e0
cmp esi, 4
jne 0x5098e0
inc dword [ebp - 0x964]
lea ecx, [ebp - 0x9d0]
call fcn.00500950
lea ecx, [ebp - 0xb0]
call fcn.004134c0
lea ecx, [ebp - 0xd4]
call fcn.00517530
jmp 0x509c57
push edi
push 0x5986d4
lea eax, [ebp - 0x30]
push 0x10
push eax
call fcn.00448050
add esp, 0x10
cmp word [ebp - 0x30], 0
je 0x50995a
push 1
push 0x597154
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x30]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x509936
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
push 1
push 0x5986dc
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
cmp word [str.sgim_usr_v3new.bin], 0
je 0x509992
push 0x12
push str.sgim_usr_v3new.bin
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
push 1
push 0x5986dc
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
cmp word [ebp - 0x50], 0
je 0x5099da
lea ecx, [ebp - 0x50]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5099b6
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.0042c750
lea ecx, [ebp - 0x68]
call fcn.00513e30
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
mov edi, dword [ebp - 0x9e8]
push dword [ebp - 0x9d5]
cmovae eax, dword [ebp - 0x68]
push eax
lea ecx, [edi + 0xc]
call fcn.00520120
test al, al
je 0x509b1b
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.00509fb0
mov dword [ebp - 0x9f0], eax
test eax, eax
je 0x509aa9
lea ecx, [ebp - 0x68]
call fcn.00513d60
call fcn.00521240
push 0x2fb
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
push dword [ebp - 0x9f0]
push esi
push str.state:_d__WriteDict_check_dict_false__errcode:_d__path:_s
call fcn.005212c0
mov eax, dword [ebp - 0x9d5]
add esp, 0x1c
mov ecx, edi
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00509cb0
test al, al
jne 0x509a87
call fcn.00521240
push 0x300
jmp 0x509bd7
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.00513a20
test al, al
jne 0x509c57
call fcn.00521240
push 0x308
jmp 0x509c22
cmp byte [ebp - 0x9d1], 0
je 0x509abd
lea ecx, [ebp - 0x98]
call fcn.00513d60
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x68]
call fcn.00513a20
test al, al
jne 0x509c57
call fcn.00521240
push 0x316
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x6c], 8
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x68]
cmovae ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x54], 8
push ecx
cmovae eax, dword [ebp - 0x68]
push eax
push esi
push str.state:_d__CopyToDict_false__frompath:_s__topath:_s
call fcn.005212c0
add esp, 0x1c
mov byte [ebp - 0x9d1], 0
jmp 0x509c5e
lea eax, [ebp - 0x9f4]
push eax
call fcn.004e2e2c
lea eax, [ebp - 0x9f4]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.004e4ceb
push dword [ebp - 0xbc]
cmp dword [0x5c92e0], 8
mov ecx, 0x5c92cc
push dword [ebp - 0xb8]
cmovae ecx, dword [0x5c92cc]
push dword [ebp - 0xb4]
mov eax, dword [ebp - 0xac]
push dword [ebp - 0xb0]
inc eax
push eax
mov eax, dword [ebp - 0xa8]
add eax, 0x76c
push eax
push ecx
push 0x5d2130
push str.__s___s___04d__02d__02d__02d:_02d:_02d_
call fcn.005212c0
push 0x31d
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
push esi
push str.state:_d__WriteDict_false__topath:_s
call fcn.005212c0
mov eax, dword [ebp - 0x9d5]
add esp, 0x48
mov ecx, edi
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00509cb0
test al, al
jne 0x509c09
call fcn.00521240
push 0x322
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
push esi
push str.state:_d__WriteToDict_false__topath:_s
call fcn.005212c0
add esp, 0x18
mov byte [ebp - 0x9d1], 0
jmp 0x509c5e
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.00513a20
test al, al
jne 0x509c57
call fcn.00521240
push 0x32a
push str.t_usrDictV3Core::UsrBackup
push str.__S_L:_d__
call fcn.005212c0
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x80]
cmovae ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x6c], 8
push ecx
cmovae eax, dword [ebp - 0x80]
push eax
push esi
push str.state:_d__CopyToDict_false__frompath:_s__topath:_s
call fcn.005212c0
add esp, 0x1c
mov byte [ebp - 0x9d1], 1
lea ecx, [ebp - 0x68]
call fcn.004134c0
lea ecx, [ebp - 0xec]
call fcn.004134c0
lea ecx, [ebp - 0x80]
call fcn.004134c0
lea ecx, [ebp - 0x98]
call fcn.004134c0
mov al, byte [ebp - 0x9d1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 8