Function at 0x42e400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d25b6
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x508164]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x4c], 0
mov edi, dword [ebp + 8]
je 0x42ea04
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea eax, [edi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x8c]
call fcn.00411840
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004096c0
mov ecx, esi
call fcn.0040eec0
add esi, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x42e484
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040d920
mov esi, dword [eax + 0x14]
mov ecx, esi
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x42e4c2
lea ecx, [edx + 1]
mov dword [eax + 0x10], ecx
cmp esi, 0x10
jb 0x42e4a9
mov eax, dword [eax]
push 1
lea esi, [eax + edx]
push 0x4ea3f8
push esi
call fcn.004a5980
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x42e4df
push 1
push 0x4ea3f8
mov byte [ebp - 0x90], 0
mov ecx, eax
push dword [ebp - 0x90]
push 1
call fcn.0040e0a0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0x8c]
push eax
call fcn.0048dbcc
lea eax, [edi + 0x30]
mov byte [ebp - 4], 0
push eax
lea ecx, [ebp - 0x8c]
call fcn.00411840
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004096c0
mov ecx, esi
call fcn.0040eec0
add esi, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x42e532
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040d920
mov esi, dword [eax + 0x14]
mov ecx, esi
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x42e570
lea ecx, [edx + 1]
mov dword [eax + 0x10], ecx
cmp esi, 0x10
jb 0x42e557
mov eax, dword [eax]
push 1
lea esi, [eax + edx]
push 0x4ea3f8
push esi
call fcn.004a5980
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x42e58d
push 1
push 0x4ea3f8
mov byte [ebp - 0x90], 0
mov ecx, eax
push dword [ebp - 0x90]
push 1
call fcn.0040e0a0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0x8c]
push eax
call fcn.0048dbcc
lea eax, [edi + 0x48]
mov byte [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e250
mov esi, dword [eax + 0x14]
mov ecx, esi
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x42e5f3
lea ecx, [edx + 1]
mov dword [eax + 0x10], ecx
cmp esi, 0x10
jb 0x42e5da
mov eax, dword [eax]
push 1
lea esi, [eax + edx]
push 0x4ea3f8
push esi
call fcn.004a5980
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x42e610
push 1
push 0x4ea3f8
mov byte [ebp - 0x90], 0
mov ecx, eax
push dword [ebp - 0x90]
push 1
call fcn.0040e0a0
lea eax, [edi + 0x60]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e250
mov esi, dword [eax + 0x14]
mov ecx, esi
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x42e651
lea ecx, [edx + 1]
mov dword [eax + 0x10], ecx
cmp esi, 0x10
jb 0x42e638
mov eax, dword [eax]
push 1
lea esi, [eax + edx]
push 0x4ea3f8
push esi
call fcn.004a5980
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x42e66e
push 1
push 0x4ea3f8
mov byte [ebp - 0x90], 0
mov ecx, eax
push dword [ebp - 0x90]
push 1
call fcn.0040e0a0
lea eax, [edi + 0x78]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e250
mov esi, dword [eax + 0x14]
mov ecx, esi
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x42e6af
lea ecx, [edx + 1]
mov dword [eax + 0x10], ecx
cmp esi, 0x10
jb 0x42e696
mov eax, dword [eax]
push 1
lea esi, [eax + edx]
push 0x4ea3f8
push esi
call fcn.004a5980
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x42e6cc
push 1
push 0x4ea3f8
mov byte [ebp - 0x90], 0
mov ecx, eax
push dword [ebp - 0x90]
push 1
call fcn.0040e0a0
lea eax, [edi + 0x90]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e250
mov esi, dword [eax + 0x14]
mov ecx, esi
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x42e710
lea ecx, [edx + 1]
mov dword [eax + 0x10], ecx
cmp esi, 0x10
jb 0x42e6f7
mov eax, dword [eax]
push 1
lea esi, [eax + edx]
push 0x4ea3f8
push esi
call fcn.004a5980
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x42e72d
push 1
push 0x4ea3f8
mov byte [ebp - 0x90], 0
mov ecx, eax
push dword [ebp - 0x90]
push 1
call fcn.0040e0a0
push dword [edi + 0xac]
lea ecx, [ebp - 0x44]
push dword [edi + 0xa8]
call fcn.00451bf0
add esp, 8
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x42e750
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d920
mov esi, dword [eax + 0x14]
mov ecx, esi
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x42e78e
lea ecx, [edx + 1]
mov dword [eax + 0x10], ecx
cmp esi, 0x10
jb 0x42e775
mov eax, dword [eax]
push 1
lea esi, [eax + edx]
push 0x4ea3f8
push esi
call fcn.004a5980
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x42e7ab
push 1
push 0x4ea3f8
mov byte [ebp - 0x90], 0
mov ecx, eax
push dword [ebp - 0x90]
push 1
call fcn.0040e0a0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x42e7e3
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e7d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ea22
push edx
push ecx
call fcn.0048d8eb
add esp, 8
push dword [edi + 0xb4]
lea ecx, [ebp - 0x44]
push dword [edi + 0xb0]
call fcn.00451bf0
add esp, 8
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x42e806
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d920
mov esi, dword [eax + 0x14]
mov ecx, esi
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x42e844
lea ecx, [edx + 1]
mov dword [eax + 0x10], ecx
cmp esi, 0x10
jb 0x42e82b
mov eax, dword [eax]
push 1
lea esi, [eax + edx]
push 0x4ea3f8
push esi
call fcn.004a5980
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x42e861
push 1
push 0x4ea3f8
mov byte [ebp - 0x90], 0
mov ecx, eax
push dword [ebp - 0x90]
push 1
call fcn.0040e0a0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x42e899
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e88f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ea27
push edx
push ecx
call fcn.0048d8eb
add esp, 8
push dword [edi + 0xbc]
lea ecx, [ebp - 0x44]
push dword [edi + 0xb8]
call fcn.00451bf0
add esp, 8
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x42e8bc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d920
mov esi, dword [eax + 0x14]
mov ecx, esi
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x42e8fa
lea ecx, [edx + 1]
mov dword [eax + 0x10], ecx
cmp esi, 0x10
jb 0x42e8e1
mov eax, dword [eax]
push 1
lea esi, [eax + edx]
push 0x4ea3f8
push esi
call fcn.004a5980
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x42e917
push 1
push 0x4ea3f8
mov byte [ebp - 0x90], 0
mov ecx, eax
push dword [ebp - 0x90]
push 1
call fcn.0040e0a0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x42e94f
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e945
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ea2c
push edx
push ecx
call fcn.0048d8eb
add esp, 8
lea eax, [edi + 0xc0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e250
mov esi, dword [eax + 0x14]
mov ecx, esi
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 2
jb 0x42e993
lea ecx, [edx + 2]
mov dword [eax + 0x10], ecx
cmp esi, 0x10
jb 0x42e97a
mov eax, dword [eax]
push 2
lea esi, [eax + edx]
push 0x4ea3fc
push esi
call fcn.004a5980
add esp, 0xc
mov byte [esi + 2], 0
jmp 0x42e9b0
push 2
push 0x4ea3fc
mov byte [ebp - 0x90], 0
mov ecx, eax
push dword [ebp - 0x90]
push 2
call fcn.0040e0a0
inc dword [ebx + 0x54]
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push ecx
push dword [ebp - 0x1c]
push eax
push dword [ebx + 0x4c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x42ea04
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e9fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ea31
push edx
push ecx
call fcn.0048d8eb
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048d8b2
mov esp, ebp
pop ebp
ret 4
call fcn.004b0023
call fcn.004b0023
call fcn.004b0023
call fcn.004b0023
int3