Function at 0x401947
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x412bf0
push 0xffffffffffffffff
push 0x46c285
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x10]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], esi
call fcn.00401893
mov eax, dword [edi + 0x18]
cmp eax, ebx
je 0x412ede
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], 0xffffffff
call fcn.004670cf
cmp eax, ebx
je 0x412c4d
or eax, 0xffffffff
jmp 0x412c51
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], eax
jbe 0x412ede
xor ecx, ecx
mov edx, 0x18
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00467fe0
mov ecx, dword [edi + 0x18]
add esp, 4
mov esi, eax
push esi
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x34], esi
call fcn.004670f9
cmp eax, ebx
jne 0x412ed1
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x18], ebx
jbe 0x412eca
mov ebp, esi
lea ecx, [esp + 0x10]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov eax, dword [ebp]
cmp eax, ebx
mov dword [esp + 0x80], ebx
je 0x412e9b
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const___int_]
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 1
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0x10
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10
mov ecx, dword [ebp]
mov edx, dword [edi + 0x18]
lea eax, [esp + 0x1c]
push eax
push 0x300000
push ecx
push edx
call fcn.004672a7
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x412d2d
mov ebx, dword [eax + 8]
push eax
push 0x300000
call fcn.004672d1
lea ecx, [esp + 0x30]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QImage::constructor_void_]
lea eax, [esp + 0x10]
lea esi, [edi + 0xc]
push eax
mov ecx, esi
mov byte [esp + 0x84], 2
call fcn.004021b7
cmp eax, dword [esi]
je 0x412d70
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00401e0b
push eax
lea ecx, [esp + 0x34]
jmp 0x412dbd
mov edx, dword [edi + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call fcn.00402ebe
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 3
call dword [sym.imp.QtGui4.dll_public:_class_QImage____thiscall_QImage::operator_class_QImage_const__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 2
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QImage::destructor_void_]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00401e0b
mov ecx, eax
call dword [sym.imp.QtGui4.dll_public:_class_QImage____thiscall_QImage::operator_class_QImage_const__]
lea ecx, [esp + 0x30]
call dword [sym.imp.QtGui4.dll_public:_bool___thiscall_QImage::isNull_void_const]
test al, al
je 0x412e07
push 0
push str.:_ContentCopier_graphics_Resources_device_normal.png
lea ecx, [esp + 0x50]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QImage::constructor_char_const___char_const__]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 4
call dword [sym.imp.QtGui4.dll_public:_class_QImage____thiscall_QImage::operator_class_QImage_const__]
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 2
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QImage::destructor_void_]
mov edx, dword [ebp]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push edx
push ecx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const___int_]
add esp, 0xc
mov ecx, edi
call fcn.00402e1e
test al, al
je 0x412e83
lea eax, [esp + 0x30]
push eax
push ebp
lea ecx, [esp + 0x5c]
call fcn.00402d56
mov esi, dword [esp + 0x20]
mov ecx, dword [esi]
push 1
mov byte [esp + 0x84], 5
mov dword [esp + 0x68], ebx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::operator__int_const]
test al, al
je 0x412e5d
mov ecx, esi
call fcn.0040268f
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::append_void_]
push eax
mov ecx, esi
call fcn.004031f7
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 2
call fcn.0040187f
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 0
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QImage::destructor_void_]
mov esi, dword [esp + 0x28]
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add ecx, 1
add ebp, 0x18
cmp ecx, eax
mov dword [esp + 0x18], ecx
jb 0x412ca5
push esi
push eax
call fcn.0046714d
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov esi, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esi]
mov esi, dword [esp + 0x88]
mov dword [esi], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
mov edx, dword [esi]
test byte [edx + 0x10], 1
jne 0x412efe
mov ecx, esi
call fcn.0040268f
mov ecx, dword [esp + 0x78]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 4