Function at 0x42e370
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ce50
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x5d3640]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x214], 0
mov dword [ebp - 4], 0
movzx eax, byte [ebp - 0x27b]
push eax
lea ecx, [ebp - 0x120]
call fcn.00409420
mov byte [ebp - 4], 1
mov dword [ebp - 0x230], str.SOFTWARE
mov ecx, dword [ebp - 0x230]
add ecx, 2
mov dword [ebp - 0x380], ecx
mov edx, dword [ebp - 0x230]
mov ax, word [edx]
mov word [ebp - 0x270], ax
add dword [ebp - 0x230], 2
cmp word [ebp - 0x270], 0
jne 0x42e3e2
mov ecx, dword [ebp - 0x230]
sub ecx, dword [ebp - 0x380]
sar ecx, 1
mov dword [ebp - 0x3d0], ecx
mov edx, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d4], edx
mov eax, dword [ebp - 0x3d4]
mov dword [ebp - 0x3d8], eax
mov ecx, dword [ebp - 0x3d8]
push ecx
push str.SOFTWARE
lea ecx, [ebp - 0x120]
call fcn.00403cb0
mov byte [ebp - 4], 0
lea edx, [ebp - 0x120]
mov dword [ebp - 0x3ec], edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x234], str.ValveSteam
mov eax, dword [ebp - 0x234]
add eax, 2
mov dword [ebp - 0x3dc], eax
mov ecx, dword [ebp - 0x234]
mov dx, word [ecx]
mov word [ebp - 0x26e], dx
add dword [ebp - 0x234], 2
cmp word [ebp - 0x26e], 0
jne 0x42e473
mov eax, dword [ebp - 0x234]
sub eax, dword [ebp - 0x3dc]
sar eax, 1
mov dword [ebp - 0x3e0], eax
mov ecx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3e4], ecx
mov edx, dword [ebp - 0x3e4]
mov dword [ebp - 0x3e8], edx
mov eax, dword [ebp - 0x3e8]
push eax
push str.ValveSteam
mov ecx, dword [ebp - 0x3ec]
call fcn.0040f8a0
mov dword [ebp - 0x3f0], eax
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x3f4], ecx
mov edx, dword [ebp - 0x3f4]
push edx
lea ecx, [ebp - 0x138]
call fcn.004042e0
mov eax, dword [ebp - 0x214]
or eax, 1
mov dword [ebp - 0x214], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.00405e70
push 1
push 0xf003f
lea ecx, [ebp - 0x138]
push ecx
push SysReAllocStringLen
call fcn.00401810
add esp, 0x10
mov dword [ebp - 0x220], eax
movzx edx, byte [ebp - 0x27a]
push edx
lea ecx, [ebp - 0x40]
call fcn.00409420
lea ecx, [ebp - 0x40]
call fcn.00405f70
mov byte [ebp - 4], 5
cmp dword [ebp - 0x220], 0
je 0x42ea8d
movzx eax, byte [ebp - 0x279]
push eax
lea ecx, [ebp - 0x108]
call fcn.00409420
mov byte [ebp - 4], 6
mov dword [ebp - 0x238], str.AlreadyRetriedOfflineMode
mov ecx, dword [ebp - 0x238]
add ecx, 2
mov dword [ebp - 0x3f8], ecx
mov edx, dword [ebp - 0x238]
mov ax, word [edx]
mov word [ebp - 0x26c], ax
add dword [ebp - 0x238], 2
cmp word [ebp - 0x26c], 0
jne 0x42e593
mov ecx, dword [ebp - 0x238]
sub ecx, dword [ebp - 0x3f8]
sar ecx, 1
mov dword [ebp - 0x3fc], ecx
mov edx, dword [ebp - 0x3fc]
mov dword [ebp - 0x400], edx
mov eax, dword [ebp - 0x400]
mov dword [ebp - 0x404], eax
mov ecx, dword [ebp - 0x404]
push ecx
push str.AlreadyRetriedOfflineMode
lea ecx, [ebp - 0x108]
call fcn.00403cb0
mov byte [ebp - 4], 7
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x220]
push eax
call fcn.00401d20
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108]
call fcn.00405e70
movzx ecx, byte [ebp - 0x278]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.00409420
mov byte [ebp - 4], 8
mov dword [ebp - 0x23c], str.BigPictureInForeground
mov edx, dword [ebp - 0x23c]
add edx, 2
mov dword [ebp - 0x408], edx
mov eax, dword [ebp - 0x23c]
mov cx, word [eax]
mov word [ebp - 0x26a], cx
add dword [ebp - 0x23c], 2
cmp word [ebp - 0x26a], 0
jne 0x42e652
mov edx, dword [ebp - 0x23c]
sub edx, dword [ebp - 0x408]
sar edx, 1
mov dword [ebp - 0x40c], edx
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x410], eax
mov ecx, dword [ebp - 0x410]
mov dword [ebp - 0x414], ecx
mov edx, dword [ebp - 0x414]
push edx
push str.BigPictureInForeground
lea ecx, [ebp - 0xf0]
call fcn.00403cb0
mov byte [ebp - 4], 9
push 0
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.00401d20
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf0]
call fcn.00405e70
movzx edx, byte [ebp - 0x271]
push edx
lea ecx, [ebp - 0xc0]
call fcn.00409420
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x240], str.schinese
mov eax, dword [ebp - 0x240]
add eax, 2
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x240]
mov dx, word [ecx]
mov word [ebp - 0x25a], dx
add dword [ebp - 0x240], 2
cmp word [ebp - 0x25a], 0
jne 0x42e711
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x418]
sar eax, 1
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x2c8], ecx
mov edx, dword [ebp - 0x2c8]
mov dword [ebp - 0x2cc], edx
mov eax, dword [ebp - 0x2cc]
push eax
push str.schinese
lea ecx, [ebp - 0xc0]
call fcn.00403cb0
mov byte [ebp - 4], 0xb
movzx ecx, byte [ebp - 0x277]
push ecx
lea ecx, [ebp - 0xd8]
call fcn.00409420
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x244], str.Language
mov edx, dword [ebp - 0x244]
add edx, 2
mov dword [ebp - 0x2d0], edx
mov eax, dword [ebp - 0x244]
mov cx, word [eax]
mov word [ebp - 0x288], cx
add dword [ebp - 0x244], 2
cmp word [ebp - 0x288], 0
jne 0x42e7a9
mov edx, dword [ebp - 0x244]
sub edx, dword [ebp - 0x2d0]
sar edx, 1
mov dword [ebp - 0x2d4], edx
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], ecx
mov edx, dword [ebp - 0x2dc]
push edx
push str.Language
lea ecx, [ebp - 0xd8]
call fcn.00403cb0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call fcn.00401be0
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd8]
call fcn.00405e70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc0]
call fcn.00405e70
movzx eax, byte [ebp - 0x276]
push eax
lea ecx, [ebp - 0x90]
call fcn.00409420
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x248], str.30000
mov ecx, dword [ebp - 0x248]
add ecx, 2
mov dword [ebp - 0x2e0], ecx
mov edx, dword [ebp - 0x248]
mov ax, word [edx]
mov word [ebp - 0x286], ax
add dword [ebp - 0x248], 2
cmp word [ebp - 0x286], 0
jne 0x42e87c
mov ecx, dword [ebp - 0x248]
sub ecx, dword [ebp - 0x2e0]
sar ecx, 1
mov dword [ebp - 0x2e4], ecx
mov edx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], edx
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2ec]
push ecx
push str.30000
lea ecx, [ebp - 0x90]
call fcn.00403cb0
mov byte [ebp - 4], 0xf
movzx edx, byte [ebp - 0x275]
push edx
lea ecx, [ebp - 0xa8]
call fcn.00409420
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x24c], str.Rate
mov eax, dword [ebp - 0x24c]
add eax, 2
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp - 0x24c]
mov dx, word [ecx]
mov word [ebp - 0x284], dx
add dword [ebp - 0x24c], 2
cmp word [ebp - 0x284], 0
jne 0x42e914
mov eax, dword [ebp - 0x24c]
sub eax, dword [ebp - 0x2f0]
sar eax, 1
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], ecx
mov edx, dword [ebp - 0x2f8]
mov dword [ebp - 0x2fc], edx
mov eax, dword [ebp - 0x2fc]
push eax
push str.Rate
lea ecx, [ebp - 0xa8]
call fcn.00403cb0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0x220]
push eax
call fcn.00401be0
add esp, 0xc
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa8]
call fcn.00405e70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x90]
call fcn.00405e70
movzx ecx, byte [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x78]
call fcn.00409420
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x250], str.RememberPassword
mov edx, dword [ebp - 0x250]
add edx, 2
mov dword [ebp - 0x300], edx
mov eax, dword [ebp - 0x250]
mov cx, word [eax]
mov word [ebp - 0x282], cx
add dword [ebp - 0x250], 2
cmp word [ebp - 0x282], 0
jne 0x42e9e4
mov edx, dword [ebp - 0x250]
sub edx, dword [ebp - 0x300]
sar edx, 1
mov dword [ebp - 0x304], edx
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x308]
mov dword [ebp - 0x30c], ecx
mov edx, dword [ebp - 0x30c]
push edx
push str.RememberPassword
lea ecx, [ebp - 0x78]
call fcn.00403cb0
mov byte [ebp - 4], 0x13
push 0
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.00401d20
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x78]
call fcn.00405e70
mov edx, dword [ebp - 0x220]
push edx
call fcn.004018f0
add esp, 4
mov eax, dword [ebp - 0x268]
add eax, 0x3b4
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d420
push str._AppList
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.004146d0
add esp, 0xc
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x28]
push eax
call fcn.00408340
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x42ead3
lea edx, [ebp - 0x28]
push edx
call fcn.00408470
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004083e0
add esp, 4
jmp 0x42eadf
lea ecx, [ebp - 0x28]
push ecx
call fcn.004083e0
add esp, 4
mov dword [ebp - 0x224], 0
lea edx, [ebp + 8]
mov dword [ebp - 0x28c], edx
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x310], eax
mov ecx, dword [ebp - 0x28c]
mov edx, dword [ecx]
mov dword [ebp - 0x314], edx
mov eax, dword [ebp - 0x310]
push eax
mov ecx, dword [ebp - 0x314]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00436880
jmp 0x42eb4e
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x318], edx
mov eax, dword [ebp - 0x228]
add eax, 0x18
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x318]
mov dword [ebp - 0x424], ecx
lea edx, [ebp + 8]
mov dword [ebp - 0x290], edx
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x290]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x320], edx
mov eax, dword [ebp - 0x31c]
push eax
mov ecx, dword [ebp - 0x320]
push ecx
lea ecx, [ebp - 0x324]
call fcn.00436880
lea edx, [ebp - 0x324]
mov dword [ebp - 0x328], edx
mov eax, dword [ebp - 0x328]
mov ecx, dword [ebp - 0x228]
cmp ecx, dword [eax]
jne 0x42ebb3
mov dword [ebp - 0x294], 1
jmp 0x42ebbd
mov dword [ebp - 0x294], 0
mov dl, byte [ebp - 0x294]
mov byte [ebp - 0x215], dl
movzx eax, byte [ebp - 0x215]
test eax, eax
jne 0x42ebe0
mov dword [ebp - 0x298], 1
jmp 0x42ebea
mov dword [ebp - 0x298], 0
mov cl, byte [ebp - 0x298]
mov byte [ebp - 0x216], cl
movzx edx, byte [ebp - 0x216]
test edx, edx
je 0x42ee5b
mov eax, dword [ebp - 0x224]
push eax
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.00432440
add esp, 8
mov edx, dword [ebp - 0x214]
or edx, 4
mov dword [ebp - 0x214], edx
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x330], eax
mov byte [ebp - 4], 0x15
push 0x57c680
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.004146d0
add esp, 0xc
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x330]
push ecx
mov edx, dword [ebp - 0x334]
push edx
movzx eax, byte [ebp - 0x273]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00436ce0
mov ecx, dword [ebp - 0x214]
or ecx, 0x10
mov dword [ebp - 0x214], ecx
lea edx, [ebp - 0x1c8]
mov dword [ebp - 0x348], edx
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x254], str..txt
mov eax, dword [ebp - 0x254]
add eax, 2
mov dword [ebp - 0x338], eax
mov ecx, dword [ebp - 0x254]
mov dx, word [ecx]
mov word [ebp - 0x280], dx
add dword [ebp - 0x254], 2
cmp word [ebp - 0x280], 0
jne 0x42ecc1
mov eax, dword [ebp - 0x254]
sub eax, dword [ebp - 0x338]
sar eax, 1
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x33c]
mov dword [ebp - 0x340], ecx
mov edx, dword [ebp - 0x340]
mov dword [ebp - 0x344], edx
mov eax, dword [ebp - 0x344]
push eax
push str..txt
mov ecx, dword [ebp - 0x348]
call fcn.0040f8a0
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
mov dword [ebp - 0x350], ecx
mov edx, dword [ebp - 0x350]
push edx
lea ecx, [ebp - 0x198]
call fcn.004042e0
mov eax, dword [ebp - 0x214]
or eax, 0x20
mov dword [ebp - 0x214], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1c8]
call fcn.00405e70
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x210]
call fcn.00405e70
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1b0]
call fcn.00405e70
lea ecx, [ebp - 0x198]
call fcn.00405cb0
mov dword [ebp - 0x354], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 0x354]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x29c], eax
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x358], edx
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x35c], eax
mov ecx, dword [ebp - 0x35c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x368], edx
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x364], ecx
mov ecx, dword [ebp - 0x364]
call fcn.0040efd0
mov dword [ebp - 0x36c], eax
push 0
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp - 0x368]
push eax
mov ecx, dword [ebp - 0x36c]
push ecx
mov edx, dword [ebp - 0x29c]
push edx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp - 0x29c]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0x224]
add ecx, 1
mov dword [ebp - 0x224], ecx
lea ecx, [ebp - 0x198]
call fcn.00405e70
jmp 0x42eb27
mov edx, dword [ebp - 0x268]
add edx, 0x480
mov dword [ebp - 0x2a0], edx
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov dword [ebp - 0x370], edx
push 0
mov eax, dword [ebp - 0x370]
push eax
lea ecx, [ebp - 0x258]
call fcn.00436880
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x374], edx
push 0
mov eax, dword [ebp - 0x374]
push eax
lea ecx, [ebp - 0x378]
call fcn.00436880
jmp 0x42eec5
mov ecx, dword [ebp - 0x258]
mov edx, dword [ecx]
mov dword [ebp - 0x258], edx
mov eax, dword [ebp - 0x258]
cmp eax, dword [ebp - 0x378]
jne 0x42eedf
mov dword [ebp - 0x2a4], 1
jmp 0x42eee9
mov dword [ebp - 0x2a4], 0
mov cl, byte [ebp - 0x2a4]
mov byte [ebp - 0x217], cl
movzx edx, byte [ebp - 0x217]
test edx, edx
jne 0x42ef0c
mov dword [ebp - 0x2a8], 1
jmp 0x42ef16
mov dword [ebp - 0x2a8], 0
mov al, byte [ebp - 0x2a8]
mov byte [ebp - 0x218], al
movzx ecx, byte [ebp - 0x218]
test ecx, ecx
je 0x42f2a6
mov edx, dword [ebp - 0x258]
add edx, 8
mov dword [ebp - 0x37c], edx
mov eax, dword [ebp - 0x37c]
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x60]
call fcn.0040bf50
mov edx, dword [ebp - 0x2ac]
add edx, 0x18
push edx
lea ecx, [ebp - 0x48]
call fcn.004372e0
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x224]
push eax
lea ecx, [ebp - 0x168]
push ecx
call fcn.00432440
add esp, 8
mov edx, dword [ebp - 0x214]
or edx, 0x40
mov dword [ebp - 0x214], edx
lea eax, [ebp - 0x168]
mov dword [ebp - 0x384], eax
mov byte [ebp - 4], 0x19
push 0x57c690
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x1f8]
push edx
call fcn.004146d0
add esp, 0xc
mov dword [ebp - 0x3cc], eax
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x388], eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x384]
push ecx
mov edx, dword [ebp - 0x388]
push edx
movzx eax, byte [ebp - 0x272]
push eax
lea ecx, [ebp - 0x180]
call fcn.00436ce0
mov ecx, dword [ebp - 0x214]
or ecx, 0x100
mov dword [ebp - 0x214], ecx
lea edx, [ebp - 0x180]
mov dword [ebp - 0x39c], edx
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x22c], 0x57c684
mov eax, dword [ebp - 0x22c]
add eax, 2
mov dword [ebp - 0x38c], eax
mov ecx, dword [ebp - 0x22c]
mov dx, word [ecx]
mov word [ebp - 0x27e], dx
add dword [ebp - 0x22c], 2
cmp word [ebp - 0x27e], 0
jne 0x42f030
mov eax, dword [ebp - 0x22c]
sub eax, dword [ebp - 0x38c]
sar eax, 1
mov dword [ebp - 0x390], eax
mov ecx, dword [ebp - 0x390]
mov dword [ebp - 0x394], ecx
mov edx, dword [ebp - 0x394]
mov dword [ebp - 0x398], edx
mov eax, dword [ebp - 0x398]
push eax
push 0x57c684
mov ecx, dword [ebp - 0x39c]
call fcn.0040f8a0
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp - 0x3a0]
mov dword [ebp - 0x3a4], ecx
mov edx, dword [ebp - 0x3a4]
push edx
lea ecx, [ebp - 0x150]
call fcn.004042e0
mov eax, dword [ebp - 0x214]
or eax, 0x200
mov dword [ebp - 0x214], eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x180]
call fcn.00405e70
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x1f8]
call fcn.00405e70
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x168]
call fcn.00405e70
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x260], ecx
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x2b4], edx
mov eax, dword [ebp - 0x260]
cmp dword [eax + 0x14], 7
jbe 0x42f126
mov dword [ebp - 0x2b0], 1
jmp 0x42f130
mov dword [ebp - 0x2b0], 0
mov cl, byte [ebp - 0x2b0]
mov byte [ebp - 0x219], cl
movzx edx, byte [ebp - 0x219]
test edx, edx
je 0x42f161
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax]
mov dword [ebp - 0x3a8], ecx
mov edx, dword [ebp - 0x3a8]
mov dword [ebp - 0x2b4], edx
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x3ac], eax
mov ecx, dword [ebp - 0x3ac]
mov dword [ebp - 0x3b0], ecx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov edx, dword [ebp - 0x3b0]
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3bc], eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x264], ecx
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x2bc], edx
mov eax, dword [ebp - 0x264]
cmp dword [eax + 0x14], 0xf
jbe 0x42f1d4
mov dword [ebp - 0x2b8], 1
jmp 0x42f1de
mov dword [ebp - 0x2b8], 0
mov cl, byte [ebp - 0x2b8]
mov byte [ebp - 0x21a], cl
movzx edx, byte [ebp - 0x21a]
test edx, edx
je 0x42f20f
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax]
mov dword [ebp - 0x3b4], ecx
mov edx, dword [ebp - 0x3b4]
mov dword [ebp - 0x2bc], edx
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x3b8]
mov dword [ebp - 0x3c0], ecx
push 0
lea edx, [ebp - 0x428]
push edx
mov eax, dword [ebp - 0x3bc]
push eax
mov ecx, dword [ebp - 0x3c0]
push ecx
mov edx, dword [ebp - 0x2c0]
push edx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp - 0x2c0]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0x224]
add ecx, 1
mov dword [ebp - 0x224], ecx
lea ecx, [ebp - 0x150]
call fcn.00405e70
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x48]
mov dword [ebp - 0x2c4], edx
mov eax, dword [ebp - 0x2c4]
cmp dword [eax + 4], 0
je 0x42f299
mov ecx, dword [ebp - 0x2c4]
mov ecx, dword [ecx + 4]
call fcn.00439ea0
lea ecx, [ebp - 0x60]
call fcn.0040f520
jmp 0x42eeb7
push str._noset.txt
mov edx, dword [ebp - 0x268]
add edx, 0x3b4
push edx
lea eax, [ebp - 0x1e0]
push eax
call fcn.004146d0
add esp, 0xc
mov dword [ebp - 0x3c4], eax
mov ecx, dword [ebp - 0x3c4]
mov dword [ebp - 0x3c8], ecx
mov byte [ebp - 4], 0x1c
push 6
push str.ddddd
mov edx, dword [ebp - 0x3c8]
push edx
call fcn.004132b0
add esp, 0xc
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1e0]
call fcn.00405e70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00405e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004188f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00510479
mov esp, ebp
pop ebp
ret 0xc