Function at 0x5c7d90
Capabilities:
Check if file exists
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x607af3
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [esp + 0x2f], bl
call fcn.005c8c20
test al, al
je 0x5c7dd6
mov byte [esp + 0x2f], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, 0x10
call fcn.0040a210
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0xc0], ebx
mov eax, dword [esi - 0xc]
cmp eax, ebx
jle 0x5c7e1c
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x5c7e70
cmp ecx, eax
jg 0x5c7e70
movzx eax, word [esi + ecx*2]
cmp ax, 0x5c
je 0x5c7e1c
push 0x5c
lea edi, [esp + 0x28]
call fcn.0040af90
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x24]
push ecx
call fcn.005c6600
add esp, 4
test al, al
jne 0x5c7e7a
lea eax, [esi - 0x10]
mov dword [esp + 0xc0], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5c8c00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403650
lea edi, [esp + 0x38]
call fcn.0047ac70
mov byte [esp + 0xc0], 1
mov esi, dword [esp + 0x38]
mov eax, dword [esi - 0xc]
cmp eax, ebx
jle 0x5c7eb6
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x5c7e70
cmp ecx, eax
jg 0x5c7e70
movzx eax, word [esi + ecx*2]
cmp ax, 0x5c
je 0x5c7eb6
push 0x5c
call fcn.0040af90
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, 0x640498
call fcn.0040aab0
add esp, 8
mov byte [esp + 0xc0], 2
mov eax, dword [esp + 0x1c]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [esp + 0x1c]
push ecx
call fcn.005c7220
add esp, 4
test al, al
je 0x5c80b0
lea edx, [esp + 0x44]
push edx
xor edi, edi
call fcn.0050f180
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, str.OPTIONS.INI
mov byte [esp + 0xc8], 3
call fcn.0040aab0
add esp, 8
mov byte [esp + 0xc0], 4
mov ecx, dword [eax]
lea edx, [esp + 0x44]
call fcn.0050f300
mov byte [esp + 0xc0], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5c7f5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.version
push str.EUDC
lea ecx, [esp + 0x4c]
push ecx
call fcn.0050fb90
lea edx, [esp + 0x7c]
push edx
xor edi, edi
mov esi, eax
call fcn.0050f180
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, str.OPTIONS.INI
mov byte [esp + 0xc8], 5
call fcn.0040aab0
add esp, 8
mov byte [esp + 0xc0], 6
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
call fcn.0050f300
mov byte [esp + 0xc0], 5
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5c7fdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.version
push str.EUDC
lea ecx, [esp + 0x84]
push ecx
call fcn.0050fb90
cmp esi, eax
jb 0x5c8088
cmp byte [esp + 0x2f], 0
jne 0x5c81bb
lea edx, [esp + 0x3c]
push edx
call fcn.005c7ba0
add esp, 4
mov byte [esp + 0xc0], 7
call fcn.005c90c0
lea eax, [esp + 0x30]
push eax
call fcn.005c90f0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
push ecx
push edx
call fcn.005d2da6
add esp, 8
test eax, eax
lea ecx, [esp + 0x30]
jne 0x5c807a
call fcn.00403870
lea ecx, [esp + 0x3c]
call fcn.00403870
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xc4], 3
call fcn.0050f250
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0xc4], 2
call fcn.0050f250
jmp 0x5c8be5
call fcn.00403870
lea ecx, [esp + 0x3c]
call fcn.00403870
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0xc4], 3
call fcn.0050f250
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0xc4], 2
call fcn.0050f250
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ebx, str.EUDC_temp_
call fcn.0040aab0
mov byte [esp + 0xc8], 9
mov eax, dword [esp + 0x3c]
add esp, 4
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov edi, esp
call fcn.0040a210
add eax, 0x10
mov dword [edi], eax
call fcn.005c6670
add esp, 4
lea edx, [esp + 0x34]
lea ecx, [esp + 0x24]
call fcn.005c6810
test eax, eax
jne 0x5c81e4
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov edi, esp
mov dword [esp + 0x2c], esp
call fcn.0040a210
add eax, 0x10
mov dword [edi], eax
call fcn.005c6670
mov byte [esp + 0xc4], 2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
add esp, 4
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5c814b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c8173
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0xc0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c8197
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x5c7e48
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0xc4], 3
call fcn.0050f250
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0xc4], 2
call fcn.0050f250
jmp 0x5c8be5
lea eax, [esp + 0x34]
lea edi, [esp + 0x24]
call fcn.0040ab90
mov ecx, edi
push ecx
call fcn.005c5720
add esp, 4
test al, al
je 0x5c8103
lea edx, [esp + 0x1c]
call fcn.005c7700
mov edx, dword [0x677600]
add eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, str.OPTIONS.INI
mov byte [esp + 0xc8], 0xa
call fcn.0040aab0
add esp, 8
lea edi, [esp + 0x3c]
mov byte [esp + 0xc0], 0xb
call fcn.0040ab90
mov byte [esp + 0xc0], 0xa
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c8283
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x3c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
je 0x5c829b
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
je 0x5c82c7
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.0040a210
add eax, 0x10
mov dword [esi], eax
call fcn.005c6670
add esp, 4
jmp 0x5c8bd3
push 0
call fcn.005c60d0
lea ecx, [esp + 0x20]
add esp, 4
push ecx
call fcn.005c6ca0
add esp, 4
push 1
call fcn.005c60d0
add esp, 4
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, str.OPTIONS.INI
mov byte [esp + 0x1b], 1
call fcn.0040aab0
mov esi, eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0xd0], 0xc
call fcn.0040aab0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x10
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c8350
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 0xa
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c8378
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x5c8386
mov byte [esp + 0x13], 0
jmp 0x5c8a5e
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xc0], 0xd
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea esi, [esp + 0x18]
mov byte [esp + 0xc0], 0xe
call fcn.004036c0
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.QQPYEUDC.TTE
call fcn.00409dd0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
mov ebx, str.QQPYEUDC.TTE
mov byte [esp + 0xc8], 0xf
call fcn.0040aab0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
lea eax, [esp + 0x54]
mov bl, 0x10
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8], bl
call fcn.005c7780
add esp, 0x18
mov edi, esi
mov byte [esp + 0xc0], 0x11
call fcn.0040ab90
mov byte [esp + 0xc0], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c8453
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 0xf
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c847b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 0xe
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c84a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edi - 0xc], ebx
jne 0x5c84d1
lea ecx, [esp + 0x14]
mov byte [esp + 0x13], bl
call fcn.00403870
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 0xa
call fcn.00403870
jmp 0x5c8a5e
lea esi, [esp + 0x14]
call fcn.004036c0
mov edx, esi
mov ecx, edi
call fcn.005c7ab0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
je 0x5c84ae
mov eax, 1
test byte [0x6809c4], al
jne 0x5c850c
or dword [0x6809c4], eax
push 0x613fd0
call fcn.005d268a
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.005c93e0
test al, al
je 0x5c84ae
lea esi, [esp + 0x18]
call fcn.004036c0
lea eax, [esp + 0x20]
push eax
mov ecx, str.QQPYEUDC.EUF
call fcn.00409dd0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x44]
push edx
mov ebx, str.QQPYEUDC.EUF
mov byte [esp + 0xc8], 0x12
call fcn.0040aab0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
lea eax, [esp + 0x3c]
mov bl, 0x13
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8], bl
call fcn.005c7780
add esp, 0x18
mov edi, esi
mov byte [esp + 0xc0], 0x14
call fcn.0040ab90
mov byte [esp + 0xc0], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c85a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 0x12
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c85d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 0xe
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c85f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edi - 0xc], ebx
je 0x5c84ae
lea esi, [esp + 0x14]
call fcn.004036c0
mov edx, esi
mov ecx, edi
call fcn.005c7ab0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
je 0x5c84ae
mov eax, 1
test byte [0x6809c4], al
jne 0x5c8647
or dword [0x6809c4], eax
push 0x613fd0
call fcn.005d268a
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.005c94b0
test al, al
je 0x5c84ae
lea esi, [esp + 0x18]
call fcn.004036c0
lea eax, [esp + 0x20]
push eax
mov ecx, str.EUDCDICT.DICT
call fcn.00409dd0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x44]
push edx
mov ebx, str.EUDCDICT.DICT
mov byte [esp + 0xc8], 0x15
call fcn.0040aab0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
lea eax, [esp + 0x3c]
mov bl, 0x16
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8], bl
call fcn.005c7780
add esp, 0x18
mov edi, esi
mov byte [esp + 0xc0], 0x17
call fcn.0040ab90
mov byte [esp + 0xc0], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c86e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 0x15
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c8710
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 0xe
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c8738
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edi - 0xc], ebx
je 0x5c84ae
lea esi, [esp + 0x14]
call fcn.004036c0
mov edx, esi
mov ecx, edi
call fcn.005c7ab0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
je 0x5c84ae
mov eax, 1
test byte [0x6809c4], al
jne 0x5c8786
or dword [0x6809c4], eax
push 0x613fd0
call fcn.005d268a
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.005c9310
test al, al
je 0x5c84ae
lea esi, [esp + 0x18]
call fcn.004036c0
lea eax, [esp + 0x20]
push eax
mov ecx, str.EUDCBIHUA.DAT
call fcn.00409dd0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x44]
push edx
mov ebx, str.EUDCBIHUA.DAT
mov byte [esp + 0xc8], 0x18
call fcn.0040aab0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
lea eax, [esp + 0x3c]
mov bl, 0x19
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8], bl
call fcn.005c7780
add esp, 0x18
mov edi, esi
mov byte [esp + 0xc0], 0x1a
call fcn.0040ab90
mov byte [esp + 0xc0], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c8827
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 0x18
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c884f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 0xe
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c8877
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edi - 0xc], ebx
je 0x5c84ae
lea esi, [esp + 0x14]
call fcn.004036c0
mov edx, esi
mov ecx, edi
call fcn.005c7ab0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
je 0x5c84ae
mov eax, 1
test byte [0x6809c4], al
jne 0x5c88c5
or dword [0x6809c4], eax
push 0x613fd0
call fcn.005d268a
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.005c96f0
test al, al
je 0x5c84ae
lea esi, [esp + 0x18]
call fcn.004036c0
lea eax, [esp + 0x20]
push eax
mov ecx, 0x62778c
call fcn.00409dd0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x44]
push edx
mov ebx, 0x62778c
mov byte [esp + 0xc8], 0x1b
call fcn.0040aab0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
lea eax, [esp + 0x3c]
mov bl, 0x1c
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8], bl
call fcn.005c7780
add esp, 0x18
mov edi, esi
mov byte [esp + 0xc0], 0x1d
call fcn.0040ab90
mov byte [esp + 0xc0], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c8966
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 0x1b
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c898e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 0xe
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c89b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edi - 0xc], ebx
je 0x5c84ae
lea esi, [esp + 0x14]
call fcn.004036c0
mov edx, esi
mov ecx, edi
call fcn.005c7ab0
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], ebx
je 0x5c84ae
mov eax, 1
test byte [0x6809c4], al
jne 0x5c8a04
or dword [0x6809c4], eax
push 0x613fd0
call fcn.005d268a
add esp, 4
lea ecx, [esp + 0x14]
push ecx
call fcn.005c97c0
test al, al
je 0x5c84ae
lea eax, [esi - 0x10]
mov byte [esp + 0xc0], 0xd
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5c8a3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0xc0], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5c8a5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.0040a210
add eax, 0x10
mov dword [esi], eax
call fcn.005c6670
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x5c8a97
lea ecx, [esp + 0x1c]
push ecx
call fcn.005c6ca0
add esp, 4
jmp 0x5c8bd3
lea edx, [esp + 0x44]
push edx
xor edi, edi
call fcn.0050f180
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str.OPTIONS.INI
mov byte [esp + 0xc8], 0x1e
call fcn.0040aab0
add esp, 8
mov byte [esp + 0xc0], 0x1f
mov ecx, dword [eax]
lea edx, [esp + 0x44]
call fcn.0050f300
lea ecx, [esp + 0x28]
call fcn.00403870
lea ecx, [esp + 0x30]
call fcn.00403890
lea edx, [esp + 0x30]
push edx
push 0x6404a4
mov ecx, str.EUDC
lea edx, [esp + 0x4c]
mov byte [esp + 0xc8], 0x20
call fcn.0050fa60
test eax, eax
jne 0x5c8b14
lea esi, [esp + 0x30]
call fcn.004036c0
cmp byte [esp + 0x2f], 0
jne 0x5c8bb8
cmp byte [ebp + 0xc], 0
je 0x5c8bb8
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ebx, [esp + 0x24]
call fcn.0041eb50
push eax
mov byte [esp + 0xcc], 0x21
call fcn.005c6120
add esp, 0xc
lea ecx, [esp + 0x28]
mov bl, al
call fcn.00403870
lea ecx, [esp + 0x30]
call fcn.00403870
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0xc4], 0xa
call fcn.0050f250
lea ecx, [esp + 0x3c]
call fcn.00403870
lea ecx, [esp + 0x34]
call fcn.00403870
lea ecx, [esp + 0x1c]
call fcn.00403870
lea ecx, [esp + 0x38]
call fcn.00403870
lea ecx, [esp + 0x24]
call fcn.00403870
mov al, bl
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x30]
call fcn.00403870
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0xc4], 0xa
call fcn.0050f250
lea ecx, [esp + 0x3c]
call fcn.00403870
lea ecx, [esp + 0x34]
call fcn.00403870
lea ecx, [esp + 0x1c]
call fcn.00403870
lea ecx, [esp + 0x38]
call fcn.00403870
lea ecx, [esp + 0x24]
call fcn.00403870
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret