Function at 0x42e0b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fa90
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x473b80]
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
push 4
push 0x1000
push 0x1000
mov edi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x84], edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [ebp - 0x88], esi
cmp esi, ebx
je 0x42e4c0
push 0xb
xor eax, eax
push str.devlist.dat
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00403570
mov dword [ebp - 4], ebx
cmp dword [edi + 0x4e4], ebx
je 0x42e1f0
lea ecx, [ebp - 0x80]
lea ebx, [edi + 0x4d4]
push ecx
call fcn.004034d0
add esp, 4
xor ebx, ebx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x70], ebx
je 0x42e1db
push 0xb
xor edx, edx
push str.devlist.dat
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.00403570
lea edi, [ebp - 0x48]
lea edx, [ebp - 0x80]
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00404240
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00403f40
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x42e1ae
mov eax, dword [ebp - 0x64]
push eax
call fcn.00444884
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x34], esi
jb 0x42e1cf
mov edx, dword [ebp - 0x48]
push edx
call fcn.00444884
add esp, 4
mov esi, dword [ebp - 0x88]
mov edi, dword [ebp - 0x84]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x6c], 8
jb 0x42e1f0
mov eax, dword [ebp - 0x80]
push eax
call fcn.00444884
add esp, 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42e1fc
lea eax, [ebp - 0x2c]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x8c], eax
cmp eax, 0xffffffff
je 0x42e4a0
lea ebx, [edi + 0x2a]
mov dword [ebp - 0x90], 0x1a
jmp 0x42e239
mov esi, dword [ebp - 0x88]
push 0x1000
xor edi, edi
push edi
push esi
call fcn.00449a10
mov dword [esi], 0xfeed2011
mov cx, word [ebx - 2]
mov word [esi + 4], cx
mov dl, byte [ebx]
mov byte [esi + 6], dl
mov al, byte [ebx + 1]
mov byte [esi + 7], al
mov ecx, dword [ebx + 2]
mov dword [esi + 8], ecx
mov edx, dword [ebx + 0xe]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0x12]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 6]
add esp, 0xc
mov dword [ebp - 0x94], edi
test eax, eax
je 0x42e299
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e285
sub eax, edx
sar eax, 1
mov edi, eax
mov dword [esi + 0x14], edi
mov eax, dword [ebx + 6]
add esi, 0x18
test eax, eax
je 0x42e2b2
lea ecx, [edi + edi]
push ecx
push eax
push ecx
push esi
call fcn.00444f59
add esp, 0x10
mov eax, dword [ebx + 0xa]
lea ecx, [edi + edi + 0x1e]
lea edi, [esi + edi*2 + 2]
xor esi, esi
test eax, eax
je 0x42e2d9
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42e2c6
sub eax, esi
sar eax, 1
mov esi, eax
mov dword [edi], esi
mov eax, dword [ebx + 0xa]
add edi, 4
mov dword [ebp - 0x84], ecx
test eax, eax
je 0x42e2fe
lea ecx, [esi + esi]
push ecx
push eax
push ecx
push edi
call fcn.00444f59
mov ecx, dword [ebp - 0x84]
add esp, 0x10
mov eax, dword [ebx + 0x1e]
lea ecx, [ecx + esi*2 + 6]
lea edi, [edi + esi*2 + 2]
xor esi, esi
test eax, eax
je 0x42e325
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42e312
sub eax, esi
sar eax, 1
mov esi, eax
mov dword [edi], esi
mov eax, dword [ebx + 0x1e]
add edi, 4
mov dword [ebp - 0x84], ecx
test eax, eax
je 0x42e34a
lea ecx, [esi + esi]
push ecx
push eax
push ecx
push edi
call fcn.00444f59
mov ecx, dword [ebp - 0x84]
add esp, 0x10
mov eax, dword [ebx + 0x22]
lea ecx, [ecx + esi*2 + 6]
lea edi, [edi + esi*2 + 2]
xor esi, esi
test eax, eax
je 0x42e373
lea esi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42e360
sub eax, esi
sar eax, 1
mov esi, eax
mov dword [edi], esi
mov eax, dword [ebx + 0x22]
add edi, 4
mov dword [ebp - 0x84], ecx
test eax, eax
je 0x42e398
lea ecx, [esi + esi]
push ecx
push eax
push ecx
push edi
call fcn.00444f59
mov ecx, dword [ebp - 0x84]
add esp, 0x10
mov eax, dword [ebx + 0x26]
lea edx, [ecx + esi*2 + 6]
lea edi, [edi + esi*2 + 2]
xor esi, esi
test eax, eax
je 0x42e3c3
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e3b0
sub eax, esi
sar eax, 1
mov esi, eax
mov dword [edi], esi
mov eax, dword [ebx + 0x26]
mov dword [ebp - 0x84], edx
test eax, eax
je 0x42e3e8
lea ecx, [esi + esi]
push ecx
push eax
push ecx
add edi, 4
push edi
call fcn.00444f59
mov edx, dword [ebp - 0x84]
add esp, 0x10
lea esi, [edx + esi*2 + 2]
mov ecx, esi
and ecx, 7
mov edx, 8
sub edx, ecx
push 0x20
add esi, edx
call fcn.00444804
add esp, 4
test eax, eax
je 0x42e443
mov dword [eax], 0xfaed6622
mov dword [eax + 4], 0xbec8751a
mov dword [eax + 8], 0xcc12af81
mov dword [eax + 0xc], 0x2487bc
mov dword [eax + 0x10], 0x7581236e
mov dword [eax + 0x14], 0xcba88573
mov dword [eax + 0x18], 0xe856cdd1
mov dword [eax + 0x1c], 0x87530112
mov edi, eax
jmp 0x42e445
xor edi, edi
mov edx, dword [ebp - 0x88]
push esi
mov ecx, edi
call fcn.0042f030
test edi, edi
je 0x42e460
push edi
call fcn.00444884
add esp, 4
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
push 0
lea eax, [ebp - 0x94]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
add ebx, 0x2c
dec dword [ebp - 0x90]
jne 0x42e233
mov eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x88]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [ebp - 0x18], 8
jb 0x42e4c0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00444884
add esp, 4
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.00444627
mov esp, ebp
pop ebp
ret