Function at 0x40fe90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495a0e
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4c0760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov esi, dword [ebp + 0xc]
call fcn.0041eaf0
push edi
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00410770
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 8
jb 0x40fef5
push dword [ebp - 0x30]
call fcn.0046080a
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
cmp dword [ebp - 0x34], 8
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
push 1
jb 0x40ff27
mov edx, dword [esi]
jmp 0x40ff29
mov edx, esi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x94], esp
call fcn.0041e800
push 1
push 0x96
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x48]
push eax
call fcn.0040e1b0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.0040acc0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.0040ade0
test al, al
jne 0x40ffbf
mov eax, dword [0x4c7560]
test eax, eax
je 0x410116
cmp dword [esi + 0x14], 8
jb 0x40ff9f
mov esi, dword [esi]
push esi
push str.failed_to_generate_the_qrcode__text_s
push 3
push 0xcb
push str.BuyWindow.cpp
push eax
call fcn.0041fb10
add esp, 0x18
jmp 0x410116
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x8c]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x8c], 0
cmovae eax, dword [ebp - 0x48]
xorps xmm0, xmm0
push ecx
movdqu xmmword [ebp - 0x28], xmm0
push eax
mov dword [ebp - 0x28], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromFile]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], 0
test eax, eax
je 0x410044
mov eax, dword [0x4c7560]
test eax, eax
je 0x41010a
cmp dword [esi + 0x14], 8
jb 0x410024
mov esi, dword [esi]
push esi
push str.failed_to_load_the_qrcode_image__text_s
push 3
push 0xd2
push str.BuyWindow.cpp
push eax
call fcn.0041fb10
add esp, 0x18
jmp 0x41010a
push 0xffffffffffffffff
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0
push eax
push ecx
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
test eax, eax
je 0x410097
mov dword [ebp - 0x20], eax
mov eax, dword [0x4c7560]
test eax, eax
je 0x41010a
cmp dword [esi + 0x14], 8
jb 0x41007a
mov esi, dword [esi]
push esi
push str.failed_to_get_the_qrcode_hbitmap__text_s
push 3
push 0xd9
push str.BuyWindow.cpp
push eax
call fcn.0041fb10
add esp, 0x18
jmp 0x41010a
mov esi, dword [ebp - 0x90]
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
mov dword [ebp - 0x14], 0
mov ecx, 0
cmovne ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x98], ecx
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
mov ecx, dword [ebp - 0x98]
test eax, eax
cmovne ecx, eax
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x20], ecx
jb 0x4100f0
mov edi, dword [edi]
test edi, edi
je 0x41010a
push dword [ebp - 0x94]
mov ecx, edi
push dword [ebp - 0x14]
push dword [ebp - 0x88]
call fcn.00424d63
push dword [ebp - 0x90]
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
cmp dword [ebp - 0x50], 0x10
jb 0x410127
push dword [ebp - 0x64]
call fcn.0046080a
add esp, 4
cmp dword [ebp - 0x70], 8
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
jb 0x41014d
push dword [ebp - 0x84]
call fcn.0046080a
add esp, 4
xor eax, eax
mov dword [ebp - 0x70], 7
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x74], 0
mov word [ebp - 0x84], ax
jb 0x410175
push dword [ebp - 0x48]
call fcn.0046080a
add esp, 4
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.0045fbcc
mov esp, ebp
pop ebp
ret 8