Function at 0x428250
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a9318
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x40]
push str.fixorder_abc.dat
push eax
call fcn.00579288
add esp, 8
test eax, eax
jne 0x4282b5
mov eax, dword [esi + 4]
push 2
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ebx, [esi + 0x38]
lea edi, [esp + 0x1c]
mov dword [esp + 0x60], 0
call fcn.0041df00
call fcn.00449610
mov dword [esp + 0x4c], eax
mov cl, 1
mov byte [eax + 0x21], cl
mov eax, dword [esp + 0x4c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [eax], eax
mov eax, dword [esp + 0x4c]
mov dword [eax + 8], eax
mov dword [esp + 0x50], 0
mov byte [esp + 0x60], cl
lea ecx, [esp + 0x48]
push ecx
mov edx, edi
push edx
push esi
call fcn.00428060
lea ebx, [esp + 0x18]
call fcn.004747c0
mov byte [esp + 0x60], 2
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
xor ebx, ebx
cmp eax, ebx
jle 0x42835f
lea edx, [eax - 1]
cmp edx, ebx
jl 0x4285f7
cmp edx, eax
jg 0x4285f7
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
je 0x42835f
push 0x5c
lea edi, [esp + 0x1c]
call fcn.00404400
push 0xa
push str.CandOrder_
lea eax, [esp + 0x20]
push eax
call fcn.00403fc0
mov eax, dword [esi + 0x40]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00403fc0
call fcn.00449610
mov dword [esp + 0x40], eax
mov byte [eax + 0x21], 1
mov eax, dword [esp + 0x40]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x40]
mov dword [eax], eax
mov eax, dword [esp + 0x40]
mov dword [eax + 8], eax
mov dword [esp + 0x44], ebx
push 1
lea edx, [esp + 0x40]
mov byte [esp + 0x64], 3
mov eax, dword [esp + 0x1c]
push edx
push eax
push esi
call fcn.004279e0
lea edi, [esp + 0x14]
call fcn.00474ab0
push 0xa
push str.CandOrder_
mov ecx, edi
push ecx
mov byte [esp + 0x6c], 4
call fcn.00403fc0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jle 0x42840e
lea edx, [eax - 1]
cmp edx, ebx
jl 0x4285f7
cmp edx, eax
jg 0x4285f7
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
je 0x42840e
push 0x5c
call fcn.00404400
mov ecx, dword [esp + 0x14]
push ebx
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [esi + 0x40]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.00403fc0
mov dword [esp + 0x34], ebx
push 1
lea eax, [esp + 0x38]
mov edx, 2
mov byte [esp + 0x64], 5
mov ecx, dword [esp + 0x18]
push eax
lea eax, [edx - 1]
call fcn.004d0980
cmp eax, ebx
jl 0x428730
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x60], 6
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov dword [esp + 0x30], edx
lea edi, [esp + 0x48]
lea edx, [esp + 0x3c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
test edi, edi
mov ebx, dword [esp + 0x4c]
je 0x4284a2
lea eax, [esp + 0x48]
cmp edi, eax
je 0x4284a7
call fcn.00578ff3
cmp dword [esp + 0x30], ebx
je 0x428709
mov eax, dword [esp + 0x24]
test eax, eax
mov ebx, dword [esp + 0x40]
je 0x4284c5
lea ecx, [esp + 0x3c]
cmp eax, ecx
je 0x4284ca
call fcn.00578ff3
cmp dword [esp + 0x28], ebx
je 0x428709
test edi, edi
jne 0x4284dd
call fcn.00578ff3
mov ebx, dword [esp + 0x30]
cmp ebx, dword [edi + 4]
jne 0x4284eb
call fcn.00578ff3
mov esi, dword [esp + 0x30]
add ebx, 0xc
cmp esi, dword [edi + 4]
jne 0x4284fc
call fcn.00578ff3
add esi, 0x10
cmp dword [esp + 0x24], 0
jne 0x42850b
call fcn.00578ff3
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
cmp edi, dword [edx + 4]
jne 0x42851d
call fcn.00578ff3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add edi, 0xc
cmp ecx, dword [eax + 4]
jne 0x428532
call fcn.00578ff3
mov edx, dword [esp + 0x28]
add edx, 0x10
push ebx
mov eax, edi
mov dword [esp + 0x24], edx
call fcn.00419620
add esp, 4
test al, al
je 0x428601
mov eax, ebx
lea edi, [esp + 0x10]
call fcn.004035d0
mov eax, esi
xor edi, edi
call fcn.00548180
test eax, eax
jbe 0x4285be
jmp 0x428570
push 1
push 0x5bd000
lea eax, [esp + 0x18]
push eax
call fcn.00403fc0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x428594
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x428599
call fcn.00578ff3
mov ecx, dword [esi + 4]
lea eax, [ecx + edi*4]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
push edx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00403fc0
mov eax, esi
add edi, 1
call fcn.00548180
cmp edi, eax
jb 0x428570
mov edx, dword [esp + 0x10]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4285c7
sub eax, esi
sar eax, 1
push edx
mov ecx, eax
lea esi, [esp + 0x38]
call fcn.004d0b10
lea esi, [esp + 0x2c]
call fcn.0046f3e0
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x2c]
jmp 0x428492
push 0x80070057
call fcn.00404550
push ebx
mov eax, edi
call fcn.00428a60
add esp, 4
test al, al
je 0x428647
mov edi, dword [edi]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428617
sub eax, edx
sar eax, 1
push edi
mov ecx, eax
lea esi, [esp + 0x38]
call fcn.004d0b10
lea esi, [esp + 0x24]
call fcn.0046f3e0
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x2c]
jmp 0x428492
mov ecx, dword [esp + 0x20]
push ecx
push esi
call fcn.00429f10
add esp, 8
test al, al
jne 0x4286eb
mov eax, ebx
lea edi, [esp + 0x10]
call fcn.004035d0
mov eax, esi
xor edi, edi
call fcn.00548180
test eax, eax
jbe 0x4286c3
push 1
push 0x5bd000
lea edx, [esp + 0x18]
push edx
call fcn.00403fc0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x428699
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x42869e
call fcn.00578ff3
mov eax, dword [esi + 4]
lea eax, [eax + edi*4]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00403fc0
mov eax, esi
add edi, 1
call fcn.00548180
cmp edi, eax
jb 0x428675
mov edx, dword [esp + 0x10]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4286d0
sub eax, esi
sar eax, 1
push edx
mov ecx, eax
lea esi, [esp + 0x38]
call fcn.004d0b10
lea esi, [esp + 0x2c]
call fcn.0046f3e0
lea esi, [esp + 0x24]
call fcn.0046f3e0
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x2c]
jmp 0x428492
mov byte [esp + 0x60], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42872e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x42874b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x60], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428770
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x40]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x44]
push ecx
mov edi, esi
call fcn.00429180
mov edx, dword [esp + 0x40]
push edx
call fcn.00578327
mov byte [esp + 0x64], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4287cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x4c]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x44]
push ecx
mov edi, esi
call fcn.00429180
mov edx, dword [esp + 0x4c]
push edx
call fcn.00578327
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428829
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4