Function at 0x41c290
Capabilities:
Persist via application shimming
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f7ea
mov eax, dword fs:[0]
push eax
mov eax, 0x25a4
call fcn.004efea0
mov eax, dword [0x566148]
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
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x2584], edi
mov dword [ebp - 0x25ac], ebx
mov dword [ebp - 0x25a8], ebx
mov dword [ebp - 0x25a4], ebx
mov dword [ebp - 0x25a0], ebx
mov dword [ebp - 0x259c], ebx
mov dword [ebp - 0x2598], ebx
mov dword [ebp - 0x2594], ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
call fcn.004d0050
mov edx, dword [0x568a4c]
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c320
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00404540
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [edi + 0x40]
push eax
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 2
call fcn.00412bf0
add esp, 0xc
push eax
lea ecx, [ebp - 0x25ac]
mov byte [ebp - 4], 3
call fcn.00456f30
test al, al
mov esi, 8
sete byte [ebp - 0x2549]
cmp dword [ebp - 0x34], esi
jb 0x41c380
mov eax, dword [ebp - 0x48]
push eax
call fcn.004e895a
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], esi
jb 0x41c3a4
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e895a
add esp, 4
cmp byte [ebp - 0x2549], bl
je 0x41c419
push 0xb
push str.uibr::error
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407b20
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0x10
jb 0x41c3dd
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2550], eax
jmp 0x41c3e6
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2550], ecx
lea edx, [ebp - 0x2550]
push edx
lea ecx, [ebp - 0x2574]
call fcn.004e8fea
push 0x555550
lea eax, [ebp - 0x2574]
push eax
mov dword [ebp - method.std::logic_error.virtual_0], vtable.uibr::error.0
mov dword [ebp - 0x2568], ebx
call fcn.004ecd9a
mov esi, dword [edi + 0x7c]
mov ecx, dword [edi + 0x80]
sub ecx, esi
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x2554], ebx
je 0x41c8ab
jmp 0x41c450
mov eax, dword [ebp - 0x2554]
imul eax, eax, 0xb8
add eax, esi
mov dword [ebp - 0x2550], eax
cmp dword [eax + 0x50], ebx
je 0x41c87b
lea eax, [ebp - 0x2548]
call fcn.004061c0
mov ecx, 2
lea eax, [ebp - 0x2548]
call fcn.004062f0
mov eax, dword [ebp - 0x2550]
add eax, 0x40
cmp dword [eax + 0x14], 8
jb 0x41c499
mov eax, dword [eax]
push 4
push eax
lea esi, [ebp - 0x2548]
call fcn.004060b0
test eax, eax
je 0x41c87b
cmp dword [ebp - 0xf8], 2
jne 0x41c87b
cmp dword [ebp - 0xf0], ebx
je 0x41c87b
mov dword [ebp - 0x2564], ebx
call fcn.004d0f50
lea edx, [ebp - 0x2554]
push edx
lea esi, [ebp - 0x9c]
mov dword [ebp - 0x2560], eax
call fcn.0041de20
add esp, 4
push eax
mov edx, str..png
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 5
call fcn.0041a8c0
add esp, 4
mov esi, eax
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 7
call fcn.004d0050
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x64]
push ecx
push esi
call fcn.0040ade0
add esp, 0xc
lea edx, [ebp - 0x64]
push edx
lea eax, [edi + 0x40]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 8
call fcn.00412bf0
add esp, 0xc
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x41c55f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004e895a
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0xa4], esi
jb 0x41c586
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004e895a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
cmp dword [ebp - 0x88], esi
jb 0x41c5b6
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004e895a
add esp, 4
mov ecx, dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
mov dword [ebp - 0x2580], ebx
mov dword [ebp - 0x257c], ecx
push 0x50
lea edx, [ebp - 0x2580]
push edx
lea ecx, [edi + 0x38]
lea edx, [ebp - 0x2506]
mov byte [ebp - 4], 0xd
call fcn.004c35e0
lea eax, [ebp - 0x2100]
push eax
lea ecx, [ebp - 0x2580]
push ecx
mov ecx, str.image_png
mov ebx, 0x53f674
lea edx, [ebp - 0x255c]
mov byte [ebp - 4], 0xe
call fcn.004c36c0
lea edx, [ebp - 0x2564]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x25b0]
push ecx
mov byte [ebp - 4], 0xf
call fcn.004ceb30
mov eax, dword [eax]
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
je 0x41c668
cmp eax, 1
je 0x41c668
mov eax, dword [ebp - 0x2550]
cmp dword [eax + 0x6c], ebx
je 0x41c668
add eax, 0x5c
push eax
lea esi, [ebp - 0x255c]
call fcn.004c39b0
push ebx
xor edx, edx
push 0x53f6a8
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
call fcn.00404dc0
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0x255c]
mov byte [ebp - 4], 0x10
call fcn.004c37c0
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x6c], 8
jb 0x41c6af
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004e895a
add esp, 4
lea edx, [ebp - 0x2590]
lea ecx, [ebp - 0x255c]
call fcn.004c3c00
cmp dword [ebp - 0x2590], 0xc8
jne 0x41c829
mov dword [ebp - 0x2574], ebx
mov dword [ebp - 0x2570], ebx
mov dword [ebp - 0x256c], ebx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x255c]
push edx
lea ecx, [ebp - 0x2574]
call fcn.004c4650
mov ebx, dword [ebp - 0x2574]
mov esi, dword [ebp - 0x2570]
add esp, 4
cmp ebx, esi
je 0x41c81c
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.0041ded0
add esp, 8
push 0
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.0041de60
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x14
call fcn.004e77b0
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x41c746
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2588]
call fcn.0041d610
mov edi, dword [ebp - 0x2588]
sub esi, ebx
test edi, edi
je 0x41c788
test ebx, ebx
je 0x41c788
test esi, esi
je 0x41c784
push 0
lea edx, [ebp - 0x258c]
push edx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41c788
cmp esi, dword [ebp - 0x258c]
jne 0x41c788
mov bl, 1
jmp 0x41c78a
xor bl, bl
cmp edi, 0xffffffff
je 0x41c796
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x41c7fb
lea eax, [ebp - 0x2564]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.004cea10
add esp, 0xc
cmp dword [ebp - 0x2564], 0
jne 0x41c7fb
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x255c]
push ecx
call fcn.004c3b90
mov byte [ebp - 4], 0x15
mov esi, dword [ebp - 0x2550]
push eax
lea ecx, [esi + 0x5c]
call fcn.004042e0
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x14
call fcn.004e77b0
push esi
lea ecx, [ebp - 0x25ac]
call fcn.00458470
lea edx, [ebp - 0x2564]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.004ce910
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.004e77b0
mov edi, dword [ebp - 0x2584]
lea esi, [ebp - 0x2574]
call fcn.00464550
xor ebx, ebx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x255c]
cmp eax, ebx
je 0x41c83e
push eax
call dword [ebp - 0x2558]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2580]
cmp eax, ebx
je 0x41c853
push eax
call dword [ebp - 0x257c]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x41c869
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e895a
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], dx
xor ebx, ebx
mov esi, dword [edi + 0x7c]
mov ecx, dword [edi + 0x80]
inc dword [ebp - 0x2554]
sub ecx, esi
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2554], eax
jb 0x41c450
lea ecx, [ebp - 0x25ac]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00456e00
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.004e8965
mov esp, ebp
pop ebp
ret