Function at 0x52af0c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28dc
call fcn.0054cd40
push esi
push edi
mov dword [ebp - 0x28dc], ecx
mov dword [ebp - 0x25c0], 1
mov dword [ebp - 0x27d4], 1
mov byte [ebp - 0x27d0], 0
mov ecx, dword [ebp - 0x28dc]
call fcn.0052e364
push 0
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x14a40
call fcn.00564472
push 0x1240
push 0
push 0x5db8a8
call fcn.0054bfb0
add esp, 0xc
cmp dword [0x5be024], 0
je 0x52af81
mov dword [0x5cc5ac], 1
push 0x200
push 0x30
mov eax, dword [ebp - 0x28dc]
add eax, 0x10d30
push eax
call fcn.0054bfb0
add esp, 0xc
push 0x2000
push 0
lea ecx, [ebp - 0x2004]
push ecx
call fcn.0054bfb0
add esp, 0xc
mov edx, dword [ebp - 0x28dc]
mov dword [edx + 0x195b8], 1
mov eax, dword [ebp - 0x28dc]
mov dword [eax + 0x1737c], 0
mov ecx, dword [ebp - 0x28dc]
mov dword [ecx + 0x17378], 0
mov dword [ebp - 0x25bc], 0
jmp 0x52affd
mov edx, dword [ebp - 0x25bc]
add edx, 1
mov dword [ebp - 0x25bc], edx
cmp dword [ebp - 0x25bc], 0x10
jge 0x52b06b
mov eax, dword [ebp - 0x25bc]
mov dword [ebp + eax*4 - 0x21a0], 0
push 0x200
mov ecx, dword [ebp - 0x25bc]
shl ecx, 9
lea edx, [ebp + ecx - 0x2004]
push edx
mov eax, dword [ebp - 0x25bc]
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0x28dc]
lea ecx, [ecx + eax + 0xaec]
call fcn.00564356
cmp dword [0x5be5b8], 0
je 0x52b069
mov edx, dword [ebp - 0x25bc]
add edx, 0x97
push edx
mov ecx, dword [ebp - 0x28dc]
call fcn.00411370
jmp 0x52afee
push 0x5dcc18
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x14914
call fcn.0056432f
mov dword [ebp - 0x25bc], 0
jmp 0x52b09c
mov eax, dword [ebp - 0x25bc]
add eax, 1
mov dword [ebp - 0x25bc], eax
cmp dword [ebp - 0x25bc], 8
jge 0x52b0c4
push 5
mov ecx, dword [ebp - 0x25bc]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0x28dc]
lea ecx, [edx + ecx + 0x14680]
call fcn.00564430
jmp 0x52b08d
push 5
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x14644
call fcn.00564430
push 0
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x14914
call fcn.00564430
mov dword [ebp - 0x23b4], 1
mov dword [ebp - 0x211c], 0
mov dword [ebp - 0x23b4], 0
mov dword [ebp - 4], 0
cmp dword [0x5be60c], 0
jne 0x52b1e6
mov dword [ebp - 0x25bc], 0
jmp 0x52b137
mov eax, dword [ebp - 0x25bc]
add eax, 1
mov dword [ebp - 0x25bc], eax
cmp dword [ebp - 0x25bc], 0x10
jge 0x52b1e6
push 0x40
push 0
lea ecx, [ebp - 0x215c]
push ecx
call fcn.0054bfb0
add esp, 0xc
push 0x40
lea edx, [ebp - 0x215c]
push edx
mov eax, dword [ebp - 0x25bc]
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0x28dc]
lea ecx, [ecx + eax + 0xaec]
call fcn.00564356
movsx edx, byte [ebp - 0x215c]
cmp edx, 0x41
jl 0x52b1e1
movsx eax, byte [ebp - 0x215c]
cmp eax, 0x5a
jg 0x52b1e1
push 0x5b7364
lea ecx, [ebp - 0x215c]
push ecx
call fcn.0054ccc0
add esp, 8
test eax, eax
jne 0x52b1e1
push 0x5b7378
lea edx, [ebp - 0x26c8]
push edx
call fcn.0054bec0
add esp, 8
lea eax, [ebp - 0x26c8]
push eax
mov ecx, dword [ebp - 0x25bc]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0x28dc]
lea ecx, [edx + ecx + 0xaec]
call fcn.0056432f
jmp 0x52b128
mov eax, dword [ebp - 0x28dc]
mov dword [eax + 0x19600], 1
cmp dword [0x5be60c], 0
je 0x52b4f5
mov dword [ebp - 0x25c8], 0
mov dword [ebp - 0x2160], 0
mov ecx, dword [ebp - 0x25c8]
cmp ecx, dword [0x5be610]
jge 0x52b4f5
mov edx, dword [ebp - 0x28dc]
cmp dword [edx + 0x17380], 0
je 0x52b273
push str.User_Stop__
lea eax, [ebp - 0x26c8]
push eax
call fcn.0054bec0
add esp, 8
lea ecx, [ebp - 0x26c8]
push ecx
mov edx, dword [ebp - 0x25bc]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0x28dc]
lea ecx, [eax + edx + 0xaec]
call fcn.0056432f
jmp 0x52bf76
mov dword [ebp - 0x21a4], 0
mov byte [ebp - 0x27d0], 0x41
jmp 0x52b295
mov cl, byte [ebp - 0x27d0]
add cl, 1
mov byte [ebp - 0x27d0], cl
movsx edx, byte [ebp - 0x27d0]
cmp edx, 0x5a
jg 0x52b352
movsx eax, byte [ebp - 0x27d0]
mov ecx, dword [ebp - 0x28dc]
movsx edx, byte [ecx + 0x173f4]
cmp eax, edx
je 0x52b2d5
movsx eax, byte [ebp - 0x27d0]
mov ecx, dword [ebp - 0x28dc]
movsx edx, byte [ecx + 0x173f5]
cmp eax, edx
jne 0x52b2d7
jmp 0x52b286
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x25b8]
push eax
call fcn.0054bfb0
add esp, 0xc
push 0x10
push 0
lea ecx, [ebp - 0x2014]
push ecx
call fcn.0054bfb0
add esp, 0xc
lea edx, [ebp - 0x2014]
push edx
lea eax, [ebp - 0x25b8]
push eax
mov cl, byte [ebp - 0x27d0]
push ecx
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x10d2c
call fcn.004d0824
push 0x5b7394
lea edx, [ebp - 0x25b8]
push edx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x52b34d
mov eax, dword [ebp - 0x21a4]
add eax, 1
mov dword [ebp - 0x21a4], eax
jmp 0x52b286
cmp dword [ebp - 0x21a4], 0
jle 0x52b3b4
cmp dword [ebp - 0x25c8], 0
jle 0x52b3b4
mov eax, dword [ebp - 0x25c8]
cdq
mov ecx, 0xa
idiv ecx
test edx, edx
jne 0x52b3b4
mov edx, dword [ebp - 0x2160]
cmp edx, dword [ebp - 0x21a4]
je 0x52b392
mov eax, dword [ebp - 0x21a4]
mov dword [ebp - 0x2160], eax
jmp 0x52b3b4
mov ecx, dword [ebp - 0x28dc]
mov dword [ecx + 0x195b0], 1
push 0
mov ecx, dword [ebp - 0x28dc]
call fcn.0051c321
jmp 0x52b4f5
mov eax, dword [ebp - 0x25c8]
imul eax, eax, 0x64
cdq
idiv dword [0x5be610]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0x25c4], edx
mov dword [ebp - 0x25bc], 0
jmp 0x52b3ed
mov edx, dword [ebp - 0x25bc]
add edx, 1
mov dword [ebp - 0x25bc], edx
cmp dword [ebp - 0x25bc], 0x10
jge 0x52b4bb
push 0x40
push 0
lea eax, [ebp - 0x215c]
push eax
call fcn.0054bfb0
add esp, 0xc
push 0x40
lea ecx, [ebp - 0x215c]
push ecx
mov edx, dword [ebp - 0x25bc]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0x28dc]
lea ecx, [eax + edx + 0xaec]
call fcn.00564356
lea ecx, [ebp - 0x215c]
push ecx
call fcn.0054c3e0
add esp, 4
test eax, eax
je 0x52b4b6
mov edx, dword [ebp - 0x25bc]
mov eax, dword [ebp - 0x28dc]
cmp dword [eax + edx*4 + 0x10f70], 0x1f
je 0x52b4b6
cmp dword [ebp - 0x25c8], 0
jne 0x52b479
push 0x5b7398
lea ecx, [ebp - 0x26c8]
push ecx
call fcn.0054bec0
add esp, 8
jmp 0x52b494
mov edx, dword [ebp - 0x25c4]
push edx
push str.Sorting....._d__
lea eax, [ebp - 0x26c8]
push eax
call fcn.0054c45b
add esp, 0xc
lea ecx, [ebp - 0x26c8]
push ecx
mov edx, dword [ebp - 0x25bc]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0x28dc]
lea ecx, [eax + edx + 0xaec]
call fcn.0056432f
jmp 0x52b3de
cmp dword [ebp - 0x25c8], 0
jne 0x52b4d1
push 1
mov ecx, dword [ebp - 0x28dc]
call fcn.004089e0
call fcn.004033b4
mov ecx, dword [ebp - 0x25c8]
add ecx, 1
mov dword [ebp - 0x25c8], ecx
push 0x320
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x52b217
mov edx, dword [ebp - 0x28dc]
mov dword [edx + 0x17378], 1
mov eax, dword [ebp - 0x28dc]
mov dword [eax + 0x1737c], 1
cmp dword [0x5be59c], 0
jne 0x52b613
mov dword [ebp - 0x25bc], 0
jmp 0x52b53d
mov ecx, dword [ebp - 0x25bc]
add ecx, 1
mov dword [ebp - 0x25bc], ecx
cmp dword [ebp - 0x25bc], 0x10
jge 0x52b613
push 0x40
push 0
lea edx, [ebp - 0x215c]
push edx
call fcn.0054bfb0
add esp, 0xc
push 0x20
lea eax, [ebp - 0x215c]
push eax
mov ecx, dword [ebp - 0x25bc]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0x28dc]
lea ecx, [edx + ecx + 0x72c]
call fcn.00564356
mov al, byte [ebp - 0x215c]
push eax
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x10d2c
call fcn.004bb30a
test eax, eax
je 0x52b60e
mov ecx, dword [ebp - 0x25bc]
mov edx, dword [ebp - 0x28dc]
cmp dword [edx + ecx*4 + 0x13070], 0
je 0x52b60e
mov eax, dword [ebp - 0x25bc]
imul eax, eax, 0x42c
mov ecx, dword [ebp - 0x28dc]
movsx edx, byte [ecx + eax + 0x163c]
test edx, edx
je 0x52b60e
mov eax, dword [ebp - 0x25bc]
imul eax, eax, 0x42c
mov ecx, dword [ebp - 0x28dc]
mov edx, dword [ebp - 0x28dc]
mov al, byte [edx + eax + 0x163c]
mov byte [ecx + 0x6d4c], al
mov ecx, dword [ebp - 0x25bc]
add ecx, 0x97
push ecx
mov ecx, dword [ebp - 0x28dc]
call fcn.00411370
jmp 0x52b52e
cmp dword [0x5be5a0], 0
je 0x52b63f
lea edx, [ebp - 0x24b8]
push edx
call fcn.0053534c
add esp, 4
push str.SaveFile
lea eax, [ebp - 0x24b8]
push eax
call fcn.0054bed0
add esp, 8
mov ecx, dword [ebp - 0x28dc]
mov dword [ecx + 0x173e8], 0
mov edx, dword [ebp - 0x28dc]
mov dword [edx + 0x173ec], 1
mov eax, dword [ebp - 0x28dc]
mov dword [eax + 0x173f0], 1
mov dword [ebp - 0x25bc], 0
jmp 0x52b68a
mov ecx, dword [ebp - 0x25bc]
add ecx, 1
mov dword [ebp - 0x25bc], ecx
cmp dword [ebp - 0x25bc], 0x10
jge 0x52b7cc
mov edx, dword [ebp - 0x25bc]
mov eax, dword [ebp - 0x28dc]
cmp dword [eax + edx*4 + 0x13070], 0
je 0x52b7c7
mov ecx, dword [ebp - 0x25bc]
imul ecx, ecx, 0x42c
mov edx, dword [ebp - 0x28dc]
movsx eax, byte [edx + ecx + 0x163c]
test eax, eax
je 0x52b7c7
mov ecx, dword [ebp - 0x25bc]
imul ecx, ecx, 0x42c
mov edx, dword [ebp - 0x28dc]
mov eax, dword [ebp - 0x28dc]
mov cl, byte [eax + ecx + 0x163c]
mov byte [edx + 0x6d4c], cl
mov edx, dword [ebp - 0x25bc]
push edx
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x10d2c
call fcn.004bb379
test eax, eax
je 0x52b7c7
mov eax, dword [0x5cc5ac]
push eax
mov ecx, dword [ebp - 0x25bc]
push ecx
push str.Port_.2d:_g_Testparams.bfactorydriverc___d_r_n
lea edx, [ebp - 0x23ac]
push edx
call fcn.0054c45b
add esp, 0x10
lea eax, [ebp - 0x23ac]
push eax
call fcn.00536ebf
add esp, 4
mov ecx, dword [0x5cc5ac]
neg ecx
sbb ecx, ecx
and ecx, 0x80
mov edx, dword [ebp - 0x25bc]
or edx, ecx
push edx
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x162c
call fcn.0053eb20
test eax, eax
je 0x52b7c7
cmp dword [0x5c4d90], 0
jne 0x52b7b0
mov eax, dword [ebp - 0x25bc]
mov ecx, dword [ebp - 0x28dc]
cmp dword [ecx + eax*4 + 0x10f70], 0x31
je 0x52b7ab
mov edx, dword [ebp - 0x25bc]
mov eax, dword [ebp - 0x28dc]
cmp dword [eax + edx*4 + 0x10f70], 0x1f
jne 0x52b7b0
jmp 0x52b67b
mov ecx, dword [ebp - 0x25bc]
mov edx, dword [ebp - 0x28dc]
mov dword [edx + ecx*4 + 0x10f70], 0xffffffff
jmp 0x52b67b
mov dword [ebp - 0x25bc], 0
jmp 0x52b7e7
mov eax, dword [ebp - 0x25bc]
add eax, 1
mov dword [ebp - 0x25bc], eax
cmp dword [ebp - 0x25bc], 0x10
jge 0x52bf63
mov ecx, dword [ebp - 0x25bc]
mov edx, dword [ebp - 0x28dc]
cmp dword [edx + ecx*4 + 0x13070], 0
je 0x52bf5e
mov eax, dword [ebp - 0x25bc]
imul eax, eax, 0x42c
mov ecx, dword [ebp - 0x28dc]
movsx edx, byte [ecx + eax + 0x163c]
test edx, edx
je 0x52bf5e
mov eax, dword [ebp - 0x25bc]
imul eax, eax, 0x42c
mov ecx, dword [ebp - 0x28dc]
mov edx, dword [ebp - 0x28dc]
mov al, byte [edx + eax + 0x163c]
mov byte [ecx + 0x6d4c], al
cmp dword [ebp - 0x27d4], 0
je 0x52ba56
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x3b0
push ecx
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x10d2c
call fcn.004ca07b
mov edx, dword [ebp - 0x25bc]
mov eax, dword [ebp - 0x28dc]
mov ecx, dword [eax + edx*4 + 0x13070]
cmp dword [ecx + 0x29434], 0
je 0x52ba4c
mov edx, dword [ebp - 0x25bc]
mov eax, dword [ebp - 0x28dc]
mov ecx, dword [eax + edx*4 + 0x13070]
cmp dword [ecx + 0x28be4], 0
je 0x52ba4c
mov edx, dword [ebp - 0x25bc]
mov eax, dword [ebp - 0x28dc]
mov ecx, dword [eax + edx*4 + 0x13070]
cmp dword [ecx + 0x304b0], 0
jne 0x52ba4c
mov edx, dword [ebp - 0x25bc]
mov eax, dword [ebp - 0x28dc]
mov ecx, dword [eax + edx*4 + 0x13070]
add ecx, 0x2fa88
push ecx
lea edx, [ebp - 0x2118]
push edx
call fcn.0054bec0
add esp, 8
mov eax, dword [ebp - 0x25bc]
mov ecx, dword [ebp - 0x28dc]
mov edx, dword [ecx + eax*4 + 0x13070]
add edx, 0x28cec
push edx
lea eax, [ebp - 0x27cc]
push eax
call fcn.0054bec0
add esp, 8
mov ecx, dword [ebp - 0x25bc]
mov edx, dword [ebp - 0x28dc]
mov eax, dword [edx + ecx*4 + 0x13070]
add eax, 0x28df0
push eax
lea ecx, [ebp - 0x28d8]
push ecx
call fcn.0054bec0
add esp, 8
lea edx, [ebp - 0x2118]
push edx
push 0x5b73f8
lea eax, [ebp - 0x23ac]
push eax
call fcn.0054c45b
add esp, 0xc
lea ecx, [ebp - 0x23ac]
push ecx
call fcn.00536ebf
add esp, 4
lea edx, [ebp - 0x27cc]
push edx
push 0x5b7408
lea eax, [ebp - 0x23ac]
push eax
call fcn.0054c45b
add esp, 0xc
lea ecx, [ebp - 0x23ac]
push ecx
call fcn.00536ebf
add esp, 4
lea edx, [ebp - 0x28d8]
push edx
push 0x5b7418
lea eax, [ebp - 0x23ac]
push eax
call fcn.0054c45b
add esp, 0xc
lea ecx, [ebp - 0x23ac]
push ecx
call fcn.00536ebf
add esp, 4
lea edx, [ebp - 0x27cc]
push edx
call fcn.00537523
add esp, 4
mov dword [ebp - 0x25c0], eax
lea eax, [ebp - 0x28d8]
push eax
call fcn.00537523
add esp, 4
mov dword [ebp - 0x25c0], eax
push 0
lea ecx, [ebp - 0x27cc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea edx, [ebp - 0x28d8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x27cc]
push eax
lea ecx, [ebp - 0x2118]
push ecx
call fcn.005372f7
add esp, 8
lea edx, [ebp - 0x28d8]
push edx
lea eax, [ebp - 0x2118]
push eax
call fcn.005372f7
add esp, 8
mov dword [ebp - 0x27d4], 0
cmp dword [0x5be174], 0
je 0x52baa0
mov edx, 1
mov ecx, dword [ebp - 0x25bc]
shl edx, cl
mov eax, dword [ebp - 0x28dc]
mov ecx, dword [eax + 0x173e8]
or ecx, edx
mov edx, dword [ebp - 0x28dc]
mov dword [edx + 0x173e8], ecx
push 1
mov eax, dword [ebp - 0x28dc]
mov ecx, dword [eax + 0x173e8]
push ecx
mov ecx, dword [ebp - 0x28dc]
call fcn.00526f7c
mov edx, dword [ebp - 0x25bc]
push edx
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x10d2c
call fcn.004bb379
test eax, eax
je 0x52bf5e
mov eax, dword [ebp - 0x25bc]
push eax
push 0x5b7428
lea ecx, [ebp - 0x23ac]
push ecx
call fcn.0054c45b
add esp, 0xc
lea edx, [ebp - 0x23ac]
push edx
call fcn.00536ebf
add esp, 4
mov eax, dword [0x5cc5ac]
push eax
mov ecx, dword [ebp - 0x25bc]
push ecx
push 0x5b7448
lea edx, [ebp - 0x23ac]
push edx
call fcn.0054c45b
add esp, 0x10
lea eax, [ebp - 0x23ac]
push eax
call fcn.00536ebf
add esp, 4
mov ecx, dword [0x5cc5ac]
neg ecx
sbb ecx, ecx
and ecx, 0x80
mov edx, dword [ebp - 0x25bc]
or edx, ecx
push edx
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x162c
call fcn.0053eb20
test eax, eax
je 0x52bf5e
mov eax, dword [ebp - 0x25bc]
push eax
push 0x5b7478
lea ecx, [ebp - 0x23ac]
push ecx
call fcn.0054c45b
add esp, 0xc
lea edx, [ebp - 0x23ac]
push edx
call fcn.00536ebf
add esp, 4
cmp dword [0x5c4d90], 0
jne 0x52bbb0
mov eax, dword [ebp - 0x25bc]
mov ecx, dword [ebp - 0x28dc]
cmp dword [ecx + eax*4 + 0x10f70], 0x31
je 0x52bbab
mov edx, dword [ebp - 0x25bc]
mov eax, dword [ebp - 0x28dc]
cmp dword [eax + edx*4 + 0x10f70], 0x1f
jne 0x52bbb0
jmp 0x52b7d8
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x3b0
push ecx
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x10d2c
call fcn.004ca07b
cmp dword [0x5be024], 0
jne 0x52bbef
mov edx, dword [ebp - 0x25bc]
push edx
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x10d2c
call fcn.004d070d
mov eax, dword [ebp - 0x28dc]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0x25bc]
push edx
mov eax, dword [ebp - 0x25bc]
imul eax, eax, 0x42c
mov ecx, dword [ebp - 0x28dc]
lea esi, [ecx + eax + 0x1634]
sub esp, 0x42c
mov ecx, 0x10b
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x10d2c
call fcn.004b9eb5
mov edx, dword [ebp - 0x25bc]
mov eax, dword [ebp - 0x28dc]
mov ecx, dword [eax + edx*4 + 0x13070]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x28dc]
mov eax, dword [edx + 0x4b4]
push eax
call fcn.004016bb
add esp, 8
mov dword [ebp - 0x23b0], 0
call fcn.00537252
mov dword [ebp - 0x21ac], eax
mov ecx, dword [ebp - 0x25bc]
mov edx, dword [ebp - 0x28dc]
mov eax, dword [edx + ecx*4 + 0x13070]
mov ecx, dword [ebp - 0x28dc]
mov edx, dword [ecx + 0x17384]
mov dword [eax + 0x25a8], edx
mov eax, dword [ebp - 0x28dc]
mov dword [eax + 0x1737c], 0
mov ecx, dword [ebp - 0x25bc]
mov edx, dword [ebp - 0x28dc]
mov dword [edx + ecx*4 + 0x195c0], 1
push 0x5dcc1c
mov eax, dword [ebp - 0x25bc]
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0x28dc]
lea ecx, [ecx + eax + 0xeac]
call fcn.0056432f
mov edx, dword [ebp - 0x25bc]
push edx
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x10d2c
call fcn.004cc30f
mov eax, dword [0x5cc5ac]
push eax
mov ecx, dword [ebp - 0x25bc]
push ecx
push str.Port_.2d:_22g_Testparams.bfactorydriverc___d_r_n
lea edx, [ebp - 0x23ac]
push edx
call fcn.0054c45b
add esp, 0x10
lea eax, [ebp - 0x23ac]
push eax
call fcn.00536ebf
add esp, 4
mov ecx, dword [0x5be024]
mov dword [0x5cc5ac], ecx
mov edx, dword [ebp - 0x25bc]
mov eax, dword [ebp - 0x28dc]
mov ecx, dword [eax + edx*4 + 0x13070]
mov edx, dword [0x5be014]
mov dword [ecx + 0x36f38], edx
push 0xe4dc
push 0x5bdfe0
mov eax, dword [ebp - 0x25bc]
mov ecx, dword [ebp - 0x28dc]
mov edx, dword [ecx + eax*4 + 0x13070]
add edx, 0x28a50
push edx
call fcn.0054c980
add esp, 0xc
mov eax, dword [ebp - 0x25bc]
imul eax, eax, 0x124
mov dword [eax + 0x5db8b8], 1
mov ecx, dword [ebp - 0x25bc]
push ecx
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x10d2c
call fcn.004ba8d6
test eax, eax
jne 0x52be7f
mov edx, dword [ebp - 0x25bc]
push edx
push 0x5b74c8
lea eax, [ebp - 0x23ac]
push eax
call fcn.0054c45b
add esp, 0xc
lea ecx, [ebp - 0x23ac]
push ecx
call fcn.00536ebf
add esp, 4
mov edx, dword [ebp - 0x23b0]
mov eax, dword [ebp - 0x23b0]
add eax, 1
mov dword [ebp - 0x23b0], eax
cmp edx, 4
jle 0x52be3e
mov ecx, dword [ebp - 0x25bc]
mov dword [ebp + ecx*4 - 0x21a0], 1
mov edx, dword [ebp - 0x25bc]
shl edx, 9
lea eax, [ebp + edx - 0x2004]
push eax
mov ecx, dword [ebp - 0x25bc]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0x28dc]
lea ecx, [edx + ecx + 0xaec]
call fcn.0056432f
jmp 0x52be7f
mov eax, dword [ebp - 0x23b0]
push eax
mov ecx, dword [ebp - 0x25bc]
push ecx
push 0x5b74e4
lea edx, [ebp - 0x26c8]
push edx
call fcn.0054c45b
add esp, 0x10
lea eax, [ebp - 0x26c8]
push eax
call fcn.00536ebf
add esp, 4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x52bd9b
call fcn.00537252
mov dword [ebp - 0x21a8], eax
mov ecx, dword [ebp - 0x21a8]
sub ecx, dword [ebp - 0x21ac]
push ecx
mov edx, dword [ebp - 0x25bc]
push edx
push 0x5b7514
lea eax, [ebp - 0x26c8]
push eax
call fcn.0054c45b
add esp, 0x10
lea ecx, [ebp - 0x26c8]
push ecx
call fcn.00536ebf
add esp, 4
cmp dword [ebp - 0x23b0], 4
jg 0x52bf23
mov edx, dword [ebp - 0x25bc]
mov eax, dword [ebp - 0x28dc]
mov dword [eax + edx*4 + 0x194d0], 0
mov ecx, dword [ebp - 0x25bc]
mov edx, dword [ebp - 0x28dc]
mov dword [edx + ecx*4 + 0x19510], 0
mov eax, dword [ebp - 0x25bc]
mov ecx, dword [ebp - 0x28dc]
mov dword [ecx + eax*4 + 0x15328], 0
mov edx, dword [ebp - 0x25bc]
push edx
mov ecx, dword [ebp - 0x28dc]
call fcn.0052e125
jmp 0x52bf5e
mov eax, dword [ebp - 0x25bc]
mov ecx, dword [ebp - 0x28dc]
mov dword [ecx + eax*4 + 0x195c0], 0
push 0x5dcc20
mov edx, dword [ebp - 0x25bc]
shl edx, 8
mov eax, dword [ebp - 0x28dc]
lea ecx, [eax + edx + 0x10ff0]
push ecx
call fcn.0054bec0
add esp, 8
jmp 0x52b7d8
push 1
mov ecx, dword [ebp - 0x28dc]
add ecx, 0x14a40
call fcn.00564472
pop edi
pop esi
mov esp, ebp
pop ebp
ret