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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57935a
mov eax, dword fs:[0]
push eax
mov eax, 0x25a4
call fcn.00532a90
mov eax, dword [0x5bafe0]
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.00513000
mov edx, dword [str.shopsdb]
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42bbb0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00406420
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.00412940
add esp, 0xc
push eax
lea eax, [ebp - 0x25ac]
push eax
mov byte [ebp - 4], 3
call fcn.00462c10
test al, al
mov esi, 8
sete byte [ebp - 0x2549]
cmp dword [ebp - 0x34], esi
jb 0x42bc11
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0052b74a
add esp, 4
xor edx, edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], esi
jb 0x42bc35
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0052b74a
add esp, 4
cmp byte [ebp - 0x2549], bl
je 0x42bcaa
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.00402e40
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0x10
jb 0x42bc6e
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2550], ecx
jmp 0x42bc77
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2550], edx
lea eax, [ebp - 0x2550]
push eax
lea ecx, [ebp - 0x2574]
call fcn.0052b87d
push 0x5a8c3c
lea ecx, [ebp - 0x2574]
push ecx
mov dword [ebp - method.std::logic_error.virtual_0], vtable.uibr::error.0
mov dword [ebp - 0x2568], ebx
call fcn.00532abb
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 eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2554], ebx
je 0x42c138
jmp 0x42bce0
mov eax, dword [ebp - 0x2554]
imul eax, eax, 0xb8
add eax, esi
mov dword [ebp - 0x2550], eax
cmp dword [eax + 0x50], ebx
je 0x42c108
lea eax, [ebp - 0x2548]
call fcn.0042f270
mov ecx, 2
lea eax, [ebp - 0x2548]
call fcn.0042f380
mov eax, dword [ebp - 0x2550]
add eax, 0x40
cmp dword [eax + 0x14], 8
jb 0x42bd29
mov eax, dword [eax]
push eax
lea esi, [ebp - 0x2548]
call fcn.0042f170
test eax, eax
je 0x42c108
cmp dword [ebp - 0xf8], 2
jne 0x42c108
cmp dword [ebp - 0xf0], ebx
je 0x42c108
mov dword [ebp - 0x2564], ebx
call fcn.00513f00
lea ecx, [ebp - 0x2554]
push ecx
lea esi, [ebp - 0x9c]
mov dword [ebp - 0x2560], eax
call fcn.0042d6c0
add esp, 4
push eax
mov edx, str..png
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 5
call fcn.0042d700
add esp, 4
mov esi, eax
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 7
call fcn.00513000
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.00409810
add esp, 0xc
lea ecx, [ebp - 0x64]
push ecx
lea eax, [edi + 0x40]
push eax
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 8
call fcn.00412940
add esp, 0xc
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x42bded
mov eax, dword [ebp - 0x64]
push eax
call fcn.0052b74a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0xa4], esi
jb 0x42be14
mov edx, dword [ebp - 0xb8]
push edx
call fcn.0052b74a
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0x88], esi
jb 0x42be44
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.0052b74a
add esp, 4
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
xor edx, edx
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
mov dword [ebp - 0x2580], ebx
mov dword [ebp - 0x257c], eax
push 0x50
lea edx, [ebp - 0x2580]
push edx
lea ecx, [edi + 0x38]
lea edx, [ebp - 0x2506]
mov byte [ebp - 4], 0xd
call fcn.004cf970
lea eax, [ebp - 0x2100]
push eax
lea ecx, [ebp - 0x2580]
push ecx
mov ecx, str.image_png
mov ebx, 0x5930f8
lea edx, [ebp - 0x255c]
mov byte [ebp - 4], 0xe
call fcn.004cfa50
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.00511b00
mov eax, dword [eax]
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
je 0x42bef5
cmp eax, 1
je 0x42bef5
mov eax, dword [ebp - 0x2550]
cmp dword [eax + 0x6c], ebx
je 0x42bef5
add eax, 0x5c
push eax
lea esi, [ebp - 0x255c]
call fcn.004cfd20
push ebx
xor edx, edx
push 0x592360
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
call fcn.00402850
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0x255c]
mov byte [ebp - 4], 0x10
call fcn.004cfb50
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x6c], 8
jb 0x42bf3c
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0052b74a
add esp, 4
lea edx, [ebp - 0x2590]
lea ecx, [ebp - 0x255c]
call fcn.004cff70
cmp dword [ebp - 0x2590], 0xc8
jne 0x42c0b6
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.004d09c0
mov ebx, dword [ebp - 0x2574]
mov esi, dword [ebp - 0x2570]
add esp, 4
cmp ebx, esi
je 0x42c0a9
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.0042d7c0
add esp, 8
push 0
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.0042d750
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x14
call fcn.004129f0
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x42bfd3
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2588]
call fcn.0042ced0
mov edi, dword [ebp - 0x2588]
sub esi, ebx
test edi, edi
je 0x42c015
test ebx, ebx
je 0x42c015
test esi, esi
je 0x42c011
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 0x42c015
cmp esi, dword [ebp - 0x258c]
jne 0x42c015
mov bl, 1
jmp 0x42c017
xor bl, bl
cmp edi, 0xffffffff
je 0x42c023
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x42c088
lea eax, [ebp - 0x2564]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.005119e0
add esp, 0xc
cmp dword [ebp - 0x2564], 0
jne 0x42c088
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x255c]
push ecx
call fcn.004cff00
mov byte [ebp - 4], 0x15
mov esi, dword [ebp - 0x2550]
push eax
lea ecx, [esi + 0x5c]
call fcn.00406560
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x14
call fcn.004129f0
push esi
lea ecx, [ebp - 0x25ac]
call fcn.00464300
lea edx, [ebp - 0x2564]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.005118e0
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.004129f0
mov edi, dword [ebp - 0x2584]
lea esi, [ebp - 0x2574]
call fcn.0042cea0
xor ebx, ebx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x255c]
cmp eax, ebx
je 0x42c0cb
push eax
call dword [ebp - 0x2558]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2580]
cmp eax, ebx
je 0x42c0e0
push eax
call dword [ebp - 0x257c]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x42c0f6
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0052b74a
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 0x42bce0
lea ecx, [ebp - 0x25ac]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00462ad0
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.0052b755
mov esp, ebp
pop ebp
ret