Function at 0x52d810
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push esi
push edi
mov dword [ebp - 0x118], 1
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0052d603
add esp, 4
mov dword [ebp - 8], eax
lea edx, [ebp - 0x21c]
push edx
call fcn.00529440
add esp, 4
push 0x5cb860
lea eax, [ebp - 0x21c]
push eax
call fcn.0054bea0
add esp, 8
cmp dword [0x673e5c], 0
je 0x52d8a7
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edi, 0x678b50
mov edx, dword [ebp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x52e59f
lea edi, [ebp - 0x21c]
mov edx, dword [ebp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x673ea0], 4
jl 0x52d904
cmp dword [0x673ea0], 5
jg 0x52d904
cmp dword [0x5ea0a0], 0
je 0x52d904
push 0
push 0
push 1
push 0x5ea080
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0052d056
add esp, 0x14
jmp 0x52e59f
cmp dword [0x673ea0], 6
jne 0x52dc97
push 0x5cb864
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054bea0
add esp, 8
lea eax, [ebp - 0x10c]
push eax
push 1
mov ecx, dword [0x673ea0]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call fcn.0052e5ab
add esp, 0x10
test eax, eax
je 0x52d95d
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x52dc92
mov edx, dword [ebp + 0xc]
and edx, 1
test edx, edx
je 0x52d999
cmp dword [0x67aa6c], 0
je 0x52d983
push str.SM325ACptest_HYNIX_Disable_Interleave.bin
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054bea0
add esp, 8
jmp 0x52d994
push str.SM325Acptest_HYNIX.bin
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x52dc92
cmp dword [ebp + 8], 0
je 0x52d9b5
push str.SM325Acptest_AG_AND.bin
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054bea0
add esp, 8
jmp 0x52dc92
cmp dword [0x67aa6c], 0
je 0x52d9d4
push str.SM325ACptest_Disable_Interleave.bin
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054bea0
add esp, 8
jmp 0x52dc92
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x20]
cmp edx, 0xec
jne 0x52db2e
cmp dword [ebp - 8], 0
je 0x52db2e
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x21]
cmp ecx, 0xd7
jne 0x52da2f
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x22]
cmp eax, 0x55
jne 0x52da2f
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x23]
cmp edx, 0xb6
je 0x52db05
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x21]
cmp ecx, 0xd5
jne 0x52da69
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x22]
cmp eax, 0x51
jne 0x52da69
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x23]
cmp edx, 0xa6
je 0x52db05
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x21]
cmp ecx, 0xd5
jne 0x52da9c
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x22]
cmp eax, 0x55
jne 0x52da9c
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x23]
cmp edx, 0x25
je 0x52db05
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x21]
cmp ecx, 0xd3
jne 0x52dacf
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x22]
cmp eax, 0x55
jne 0x52dacf
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x23]
cmp edx, 0x25
je 0x52db05
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x21]
cmp ecx, 0xd3
jne 0x52db18
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x22]
cmp eax, 0x51
jne 0x52db18
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x23]
cmp edx, 0x95
jne 0x52db18
push 0x5cb8f0
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054bea0
add esp, 8
jmp 0x52db29
push 0x5cb90c
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x52dc92
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x60]
cmp eax, 0xec
jne 0x52dc81
cmp dword [ebp - 8], 0
je 0x52dc81
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x61]
cmp edx, 0xd7
jne 0x52db87
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x62]
cmp ecx, 0x55
jne 0x52db87
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x63]
cmp eax, 0xb6
je 0x52dc5b
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x61]
cmp edx, 0xd5
jne 0x52dbc0
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x62]
cmp ecx, 0x51
jne 0x52dbc0
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x63]
cmp eax, 0xa6
je 0x52dc5b
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x61]
cmp edx, 0xd5
jne 0x52dbf3
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x62]
cmp ecx, 0x55
jne 0x52dbf3
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x63]
cmp eax, 0x25
je 0x52dc5b
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x61]
cmp edx, 0xd3
jne 0x52dc26
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x62]
cmp ecx, 0x55
jne 0x52dc26
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x63]
cmp eax, 0x25
je 0x52dc5b
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x61]
cmp edx, 0xd3
jne 0x52dc6e
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x62]
cmp ecx, 0x51
jne 0x52dc6e
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x63]
cmp eax, 0x95
jne 0x52dc6e
push str.SM325ACPTest_InterLeave.BIN
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x52dc7f
push str.SM325ACPTest.BIN
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054bea0
add esp, 8
jmp 0x52dc92
push str.SM325ACPTEST.BIN
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054bea0
add esp, 8
jmp 0x52e59f
cmp dword [0x673ea0], 1
jne 0x52ddee
push 0x5cb964
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
lea edx, [ebp - 0x10c]
push edx
push 1
mov eax, dword [0x673ea0]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0052e5ab
add esp, 0x10
test eax, eax
je 0x52dcef
lea edx, [ebp - 0x10c]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054bea0
add esp, 8
jmp 0x52dde9
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x20]
cmp edx, 0x2c
jne 0x52dd38
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x21]
cmp ecx, 0xd7
jne 0x52dd38
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x22]
cmp eax, 0x94
jne 0x52dd38
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x23]
cmp edx, 0x3e
je 0x52ddc5
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x20]
cmp ecx, 0x2c
jne 0x52dd7d
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x21]
cmp eax, 0xd9
jne 0x52dd7d
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x22]
cmp edx, 0xd5
jne 0x52dd7d
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x23]
cmp ecx, 0x3e
je 0x52ddc5
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x20]
cmp eax, 0x89
jne 0x52ddd8
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x21]
cmp edx, 0xd7
jne 0x52ddd8
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x22]
cmp ecx, 0x94
jne 0x52ddd8
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x23]
cmp eax, 0x3e
jne 0x52ddd8
push str.SM3252Aptest_MI_34NM.bin
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x52dde9
push str.SM3252APTEST.BIN
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054bea0
add esp, 8
jmp 0x52e59f
cmp dword [0x673ea0], 2
jne 0x52e008
push 0x5cb9a0
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054bea0
add esp, 8
lea ecx, [ebp - 0x10c]
push ecx
push 1
mov edx, dword [0x673ea0]
push edx
mov eax, dword [ebp - 0x114]
push eax
call fcn.0052e5ab
add esp, 0x10
test eax, eax
je 0x52de47
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054bea0
add esp, 8
jmp 0x52e003
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x20]
cmp ecx, 0x2c
jne 0x52de90
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x21]
cmp eax, 0xd7
jne 0x52de90
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x22]
cmp edx, 0x94
jne 0x52de90
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x23]
cmp ecx, 0x3e
je 0x52dfa7
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x20]
cmp eax, 0x2c
jne 0x52deda
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x21]
cmp edx, 0xd9
jne 0x52deda
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x22]
cmp ecx, 0xd5
jne 0x52deda
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x23]
cmp eax, 0x3e
je 0x52dfa7
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x20]
cmp edx, 0x89
jne 0x52df26
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x21]
cmp ecx, 0xd7
jne 0x52df26
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x22]
cmp eax, 0x94
jne 0x52df26
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x23]
cmp edx, 0x3e
je 0x52dfa7
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x20]
cmp ecx, 0x2c
jne 0x52df65
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x21]
cmp eax, 0x48
jne 0x52df65
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x22]
test edx, edx
jne 0x52df65
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x23]
cmp ecx, 0x26
je 0x52dfa7
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x20]
cmp eax, 0x2c
jne 0x52dfd6
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x21]
cmp edx, 0x68
jne 0x52dfd6
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x22]
cmp ecx, 1
jne 0x52dfd6
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x23]
cmp eax, 0xa6
jne 0x52dfd6
cmp dword [0x67aa6c], 0
je 0x52dfc3
push str.SM3252Bptest_MI_34NM_Disable_Interleave.bin
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x52dfd4
push str.SM3252Bptest_MI_34NM.bin
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054bea0
add esp, 8
jmp 0x52e003
cmp dword [0x67aa6c], 0
je 0x52dff2
push str.SM3252Bptest_Disable_Interleave.bin
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054bea0
add esp, 8
jmp 0x52e003
push str.SM3252BPTEST.BIN
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x52e59f
cmp dword [0x673ea0], 3
jne 0x52e380
push 0x5cba2c
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054bea0
add esp, 8
lea eax, [ebp - 0x10c]
push eax
push 1
mov ecx, dword [0x673ea0]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call fcn.0052e5ab
add esp, 0x10
test eax, eax
je 0x52e061
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x52e37b
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x20]
cmp eax, 0x2c
jne 0x52e0ab
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x21]
cmp edx, 0xd7
jne 0x52e0ab
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x22]
cmp ecx, 0x94
jne 0x52e0ab
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x23]
cmp eax, 0x3e
je 0x52e31f
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x20]
cmp edx, 0x2c
jne 0x52e0f4
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x21]
cmp ecx, 0xd9
jne 0x52e0f4
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x22]
cmp eax, 0xd5
jne 0x52e0f4
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x23]
cmp edx, 0x3e
je 0x52e31f
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x20]
cmp ecx, 0x89
jne 0x52e140
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x21]
cmp eax, 0xd7
jne 0x52e140
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x22]
cmp edx, 0x94
jne 0x52e140
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x23]
cmp ecx, 0x3e
je 0x52e31f
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x20]
cmp eax, 0x2c
jne 0x52e184
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x21]
cmp edx, 0x48
jne 0x52e184
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x22]
cmp ecx, 4
jne 0x52e184
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x23]
cmp eax, 0x46
je 0x52e31f
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x20]
cmp edx, 0x2c
jne 0x52e1c8
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x21]
cmp ecx, 0x68
jne 0x52e1c8
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x22]
cmp eax, 4
jne 0x52e1c8
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x23]
cmp edx, 0x46
je 0x52e31f
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x20]
cmp ecx, 0x2c
jne 0x52e211
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x21]
cmp eax, 0x88
jne 0x52e211
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x22]
cmp edx, 5
jne 0x52e211
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x23]
cmp ecx, 0xc6
je 0x52e31f
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x20]
cmp eax, 0x89
jne 0x52e257
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x21]
cmp edx, 0x68
jne 0x52e257
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x22]
cmp ecx, 4
jne 0x52e257
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x23]
cmp eax, 0x46
je 0x52e31f
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x20]
cmp edx, 0x2c
jne 0x52e29a
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x21]
cmp ecx, 0x48
jne 0x52e29a
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x22]
test eax, eax
jne 0x52e29a
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x23]
cmp edx, 0x26
je 0x52e31f
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x20]
cmp ecx, 0x2c
jne 0x52e2dd
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x21]
cmp eax, 0x68
jne 0x52e2dd
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x22]
cmp edx, 1
jne 0x52e2dd
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x23]
cmp ecx, 0xa6
je 0x52e31f
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x20]
cmp eax, 0x89
jne 0x52e34e
mov ecx, dword [ebp - 0x114]
xor edx, edx
mov dl, byte [ecx + 0x21]
cmp edx, 0x68
jne 0x52e34e
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov cl, byte [eax + 0x22]
cmp ecx, 0x24
jne 0x52e34e
mov edx, dword [ebp - 0x114]
xor eax, eax
mov al, byte [edx + 0x23]
cmp eax, 0x46
jne 0x52e34e
cmp dword [0x67aa6c], 0
je 0x52e33b
push str.SM3252Cptest_MI_34NM_Disable_Interleave.bin
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x52e34c
push str.SM3252Cptest_MI_34NM.bin
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054bea0
add esp, 8
jmp 0x52e37b
cmp dword [0x67aa6c], 0
je 0x52e36a
push str.SM3252Cptest_Disable_Interleave.bin
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054bea0
add esp, 8
jmp 0x52e37b
push str.SM3252CPTEST.BIN
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x52e59f
cmp dword [0x673ea0], 4
jne 0x52e411
push 0x5cbab8
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054bea0
add esp, 8
lea eax, [ebp - 0x10c]
push eax
push 1
mov ecx, dword [0x673ea0]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call fcn.0052e5ab
add esp, 0x10
test eax, eax
je 0x52e3d6
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x52e40c
cmp dword [0x5ea08c], 0
je 0x52e3fb
cmp dword [0x67ab70], 0
je 0x52e3fb
push str.SM3211BCPTest_Static.BIN
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054bea0
add esp, 8
jmp 0x52e40c
push str.SM3211BCptest.bin
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054bea0
add esp, 8
jmp 0x52e59f
cmp dword [0x673ea0], 5
jne 0x52e4a1
push 0x5cbaf4
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
lea edx, [ebp - 0x10c]
push edx
push 1
mov eax, dword [0x673ea0]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0052e5ab
add esp, 0x10
test eax, eax
je 0x52e466
lea edx, [ebp - 0x10c]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054bea0
add esp, 8
jmp 0x52e49c
cmp dword [0x5ea08c], 0
je 0x52e48b
cmp dword [0x67ab70], 0
je 0x52e48b
push str.SM3211BC1PTest_Static.BIN
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x52e49c
push str.SM3211BC1ptest.bin
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054bea0
add esp, 8
jmp 0x52e59f
mov dword [ebp - 0x110], 0
jmp 0x52e4bc
mov eax, dword [ebp - 0x110]
add eax, 1
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0x11
jge 0x52e4e9
mov ecx, dword [ebp - 0x110]
imul ecx, ecx, 0xc
mov edx, dword [0x673ea0]
cmp edx, dword [ecx + 0x5cb0e0]
jne 0x52e4e7
mov eax, dword [ebp - 0x110]
mov dword [ebp - 4], eax
jmp 0x52e4e9
jmp 0x52e4ad
cmp dword [ebp - 4], 0
je 0x52e595
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0xc
mov edx, dword [ecx + 0x5cb0dc]
push edx
push 0x5cbb34
lea eax, [ebp - 0x41c]
push eax
call fcn.0054c6e3
add esp, 0xc
lea ecx, [ebp - 0x41c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054bea0
add esp, 8
lea eax, [ebp - 0x10c]
push eax
push 1
mov ecx, dword [0x673ea0]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call fcn.0052e5ab
add esp, 0x10
test eax, eax
je 0x52e55f
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x52e593
mov edx, dword [ebp - 4]
imul edx, edx, 0xc
mov eax, dword [edx + 0x5cb0d8]
push eax
push str._sPTest.BIN
lea ecx, [ebp - 0x41c]
push ecx
call fcn.0054c6e3
add esp, 0xc
lea edx, [ebp - 0x41c]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054bea0
add esp, 8
jmp 0x52e59f
mov dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
pop edi
pop esi
mov esp, ebp
pop ebp
ret