Function at 0x41fdd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b2e5
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4825c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0xc8]
cmp dword [edi + 0x50], 0
jne 0x41fe7f
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x46e444
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00401510
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0040bed0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x41fe7f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41fe75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4200d4
push ecx
push edx
call fcn.00448427
add esp, 8
mov eax, dword [esi + 0xc8]
cmp dword [eax + 0x50], 0
je 0x4200b9
mov ecx, esi
call fcn.0041e680
mov edi, dword [esi + 0x24]
mov ecx, esi
mov eax, dword [esi + 0x20]
sub edi, eax
cmp byte [esi + 0x2c], 0
je 0x420065
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0043e960
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
cmp ecx, eax
je 0x41ffb8
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0043e9e0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
call fcn.0043ada0
lea eax, [ebp - 0x40]
push 0x9c7a
push eax
call fcn.0041d1d0
add esp, 0xc
lea ecx, [ebp - 0x40]
push 1
push 0x46e448
call fcn.00401e70
mov eax, dword [esi + 0xc8]
mov eax, dword [eax + 0x48]
mov dword [eax + 0x84], 0
mov eax, dword [esi + 0xc8]
cmp dword [eax + 0x124], 1
jne 0x41ff57
xor ecx, ecx
test edi, edi
je 0x41ff57
nop dword [eax]
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
cmp word [eax + ecx*2], 0xa
jne 0x41ff52
mov eax, dword [esi + 0xc8]
mov eax, dword [eax + 0x48]
add dword [eax + 0x84], 2
inc ecx
cmp ecx, edi
jb 0x41ff30
mov eax, dword [esi + 0xc8]
push dword [eax + 0x11c]
mov ecx, dword [eax + 0x50]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x64], ecx
push eax
call fcn.004451e0
mov edx, eax
add esp, 0xc
cmp dword [edx + 0x14], 0xf
jbe 0x41ff83
mov edx, dword [edx]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ff88
push 0
lea eax, [ebp - 0x68]
sub ecx, edi
push eax
mov eax, dword [ebp - 0x64]
push ecx
push edx
push dword [eax + 0x9c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x58]
call fcn.004018f0
lea ecx, [ebp - 0x40]
jmp 0x4200b0
test edi, edi
je 0x4200b5
push edi
push dword [esi + 0x20]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0043e9e0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push 0x9c7a
push eax
call fcn.0041d1d0
lea eax, [ebp - 0x28]
push eax
call fcn.0043a400
add esp, 0xc
cmp eax, 0xffffffff
je 0x420010
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x483b70]
push eax
call fcn.0043d6b0
add esp, 4
lea ecx, [ebp - 0x28]
jmp 0x4200b0
lea eax, [ebp - 0x28]
push eax
call fcn.0043ada0
add esp, 4
lea ecx, [ebp - 0x28]
push 0x46e448
call fcn.00401b30
mov eax, dword [esi + 0xc8]
push dword [eax + 0x11c]
mov edi, dword [eax + 0x50]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004451e0
add esp, 0xc
cmp dword [eax + 0x14], 0xf
jbe 0x420050
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.00420c10
lea ecx, [ebp - 0x58]
call fcn.004018f0
lea ecx, [ebp - 0x28]
jmp 0x4200b0
push edi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0043e9e0
sub esp, 0x18
mov dword [ebp - 4], 3
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.004015b0
mov ecx, esi
call fcn.0041dcc0
mov ecx, esi
call fcn.0043ee40
mov ecx, dword [esi]
dec eax
mov edx, dword [esi + 0x24]
mov edi, dword [ecx + 8]
mov ecx, esi
cmp edx, eax
jae 0x4200a9
lea eax, [edx + 1]
push eax
push eax
jmp 0x4200ab
push edx
push edx
call edi
lea ecx, [ebp - 0x58]
call fcn.00401940
mov byte [esi + 0x10], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448686
mov esp, ebp
pop ebp
ret
call fcn.0044d0af
int3