Function at 0x402330
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42adee
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x439008]
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 - 0x9c], edx
mov edi, ecx
cmp byte [0x43a693], 0
je 0x402397
push 1
call fcn.0040fb65
push 0x432304
push 0x432308
mov dword [0x43a738], eax
call fcn.0040fa86
add esp, 0xc
mov dword [0x43a624], eax
jmp 0x4027d2
cmp byte [0x43a6a3], 0
je 0x4023b9
xorps xmm0, xmm0
movlpd qword [ebp - 0xa4], xmm0
mov esi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xa4]
jmp 0x4023bf
mov ebx, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
push esi
push ebx
lea ecx, [ebp - 0x80]
call fcn.00406610
shrd ebx, esi, 0x10
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
shr esi, 0x10
push esi
push ebx
push str._lld
push eax
call fcn.00401c40
add esp, 0x18
cmp byte [ebp - 0x50], 0
jne 0x4023f4
xor ecx, ecx
jmp 0x402409
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402400
sub ecx, edx
push ecx
lea eax, [ebp - 0x50]
mov ecx, 0x43a744
push eax
call fcn.00404d60
push 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [0x43a754]
mov edx, dword [0x43a758]
cmp eax, edx
jne 0x40247d
lea ecx, [eax + 1]
cmp ecx, 0xfffffffe
jbe 0x402445
push str.string_too_long
call fcn.0040d10b
cmp edx, ecx
jae 0x402457
push eax
push ecx
mov ecx, 0x43a744
call fcn.00405300
jmp 0x402472
test ecx, ecx
jne 0x40247d
cmp edx, 0x10
mov dword [0x43a754], ecx
mov eax, 0x43a744
cmovae eax, dword [0x43a744]
mov byte [eax], cl
mov eax, dword [0x43a754]
mov edx, dword [0x43a758]
cmp edx, 0x10
mov ecx, 0x43a744
cmovae ecx, dword [0x43a744]
mov byte [eax + ecx], 0x2f
mov eax, dword [0x43a754]
inc eax
cmp dword [0x43a620], 0
mov dword [0x43a754], eax
mov byte [eax + ecx], 0
je 0x4024f8
movzx eax, byte [0x43a61c]
push eax
movzx eax, byte [0x43a61d]
push eax
lea eax, [ebp - 0x50]
push str.kw_02x_02x
push eax
call fcn.00401c40
add esp, 0x10
cmp byte [ebp - 0x50], 0
jne 0x4024d3
xor ecx, ecx
jmp 0x4024e9
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4024e0
sub ecx, edx
push ecx
lea eax, [ebp - 0x50]
mov ecx, 0x43a744
push eax
call fcn.00404f80
movzx eax, byte [0x43a61e]
and eax, 4
push eax
lea eax, [ebp - 0x50]
push 0x432320
push eax
call fcn.00401c40
add esp, 0xc
cmp byte [ebp - 0x50], 0
jne 0x40251e
xor ecx, ecx
jmp 0x40252d
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402524
sub ecx, edx
push ecx
lea eax, [ebp - 0x50]
mov ecx, 0x43a744
push eax
call fcn.00404f80
mov eax, dword [0x43a754]
mov ecx, dword [0x43a758]
cmp eax, ecx
jne 0x402595
lea edx, [eax + 1]
cmp edx, 0xfffffffe
jbe 0x40255d
push str.string_too_long
call fcn.0040d10b
cmp ecx, edx
jae 0x40256f
push eax
push edx
mov ecx, 0x43a744
call fcn.00405300
jmp 0x40258a
test edx, edx
jne 0x402595
cmp ecx, 0x10
mov dword [0x43a754], edx
mov eax, 0x43a744
cmovae eax, dword [0x43a744]
mov byte [eax], dl
mov eax, dword [0x43a754]
mov ecx, dword [0x43a758]
cmp ecx, 0x10
mov edx, 0x43a744
push 0xffffffffffffffff
cmovae edx, dword [0x43a744]
mov ecx, 0x43a744
push 0
push 0x43a75c
mov byte [edx + eax], 0x2d
mov eax, dword [0x43a754]
inc eax
mov dword [0x43a754], eax
mov byte [edx + eax], 0
call fcn.004050b0
push str..txt
lea ecx, [ebp - 0x98]
call fcn.00405b10
add esp, 4
mov edx, 0x432324
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.00402210
lea ecx, [ebp - 0x98]
mov dword [0x43a624], eax
mov byte [ebp - 4], 0
call fcn.00404b10
push str..dat
lea ecx, [ebp - 0x98]
call fcn.00405b10
add esp, 4
mov edx, 0x432324
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.00402210
lea ecx, [ebp - 0x98]
mov dword [0x43a738], eax
mov byte [ebp - 4], 0
call fcn.00404b10
lea ecx, [ebp - 0x68]
call fcn.00402180
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
push str.Start:__s_n
push dword [0x43a624]
call fcn.00401bc0
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push eax
push str._Start:__s_n
push dword [0x43a738]
call fcn.00401bc0
cmp dword [0x43a7a0], 0x10
mov esi, 0x43a78c
mov eax, esi
cmovae eax, dword [0x43a78c]
push eax
push str._Command_Line:__s_n
push dword [0x43a738]
call fcn.00401bc0
cmp dword [0x43a7a0], 0x10
cmovae esi, dword [0x43a78c]
push esi
push str.Command_Line:__s_n
call fcn.00402140
movsd xmm1, qword [edi + 0x48]
add esp, 0x1c
movsd xmm0, qword [0x433228]
divsd xmm0, xmm1
divsd xmm1, qword [0x433220]
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm1
push str.Performance_Frequency:__g_MHz___g_ns__n
call fcn.00402140
mov eax, dword [ebp - 0x9c]
push dword [eax + 8]
push str.Card_Reader:__s_n
call fcn.00402140
movzx eax, byte [edi + 9]
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
push eax
movzx eax, byte [edi + 8]
cmovae ecx, dword [ebp - 0x80]
push eax
push ecx
push str.Card_ID:__s___c_03d__n
call fcn.00402140
mov eax, dword [0x43a620]
push dword [eax*4 + 0x432f74]
push str.Command:__s
call fcn.00402140
add esp, 0x34
cmp byte [0x43a6a7], 0
je 0x40275a
movzx eax, byte [0x43a61c]
push eax
movzx eax, byte [0x43a61d]
push eax
push str._Kw_02x_02x
call fcn.00402140
add esp, 0xc
movzx eax, byte [0x43a61e]
push eax
push str._protocol_02x
call fcn.00402140
push dword [0x439950]
push dword [0x43a730]
push str._n_blocks_d__transmit__d_times_per_R_test_n
call fcn.00402140
mov eax, dword [edi + 0x18]
add esp, 0x14
test eax, eax
je 0x4027c2
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push dword [eax*4 + 0x432f4c]
push dword [0x43a738]
call fcn.00401bc0
push dword [edi + 0x24]
mov eax, dword [edi + 0x18]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push dword [eax*4 + 0x432f4c]
call fcn.00402140
add esp, 0x24
lea ecx, [ebp - 0x68]
call fcn.00404b10
lea ecx, [ebp - 0x80]
call fcn.00404b10
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.0040c26c
mov esp, ebp
pop ebp
ret