Function at 0x40fd20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45068d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x210
mov eax, dword [0x4690c0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1d0], edx
mov eax, ecx
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1e0], eax
push 0xa
push 0x4624bc
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebx + 8]
push 0
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x410429
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c4], eax
test eax, eax
je 0x41044a
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41046b
push dword [ebp - 0x1c4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c4], eax
test eax, eax
je 0x41048c
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
cmp edi, 0x7fffffff
ja 0x4104ad
cmp edi, 0x1000
jb 0x40fe4b
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x4104b2
push eax
call fcn.0042b005
add esp, 4
test eax, eax
je 0x4104b7
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x40fe56
push edi
call fcn.0042b005
add esp, 4
mov esi, eax
push edi
push dword [ebp - 0x1c4]
lea eax, [esi + edi]
mov dword [ebp - 0x54], esi
push esi
mov dword [ebp - 0x4c], eax
call fcn.0042c820
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov dword [ebp - 0x50], eax
xor edi, edi
mov dword [ebp - 0x40], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c8], edi
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x1cc], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x1c4], edi
mov dword [ebp - 0x40], edi
sub eax, esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x1e0], eax
je 0x40fed4
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.004132d0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c8], eax
push 0x40
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.0042cda0
add esp, 0xc
push 0x40
call fcn.0042b005
add esp, 4
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1ec], eax
push 0x40
push 0
push eax
mov byte [ebp - 4], 3
call fcn.0042cda0
add esp, 0xc
push 0x20
call fcn.0042b005
mov edi, eax
add esp, 4
mov dword [ebp - 0x1e4], edi
xorps xmm0, xmm0
mov byte [ebp - 4], 4
movups xmmword [edi], xmm0
push 0
mov ecx, edi
movups xmmword [edi + 0x10], xmm0
call fcn.00413c40
lea eax, [ebp - 0x3c]
mov dword [edi], vtable.CryptoPP::ArraySink.0
mov dword [edi + 4], vtable.CryptoPP::ArraySink.1.0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0x10
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 3
call fcn.00417c90
push edi
mov edi, dword [ebp - 0x1e8]
mov ecx, edi
push 4
push eax
call fcn.00403b50
push edi
push ecx
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x140]
mov dword [edi], vtable.CryptoPP::HexDecoder.0
mov dword [edi + 4], vtable.CryptoPP::HexDecoder.1.0
mov byte [ebp - 4], 2
call fcn.00403910
push 0x40
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.0042cda0
add esp, 0xc
push 0x40
call fcn.0042b005
add esp, 4
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1e4], eax
push 0x40
push 0
push eax
mov byte [ebp - 4], 6
call fcn.0042cda0
add esp, 0xc
push 0x20
call fcn.0042b005
mov edi, eax
add esp, 4
mov dword [ebp - 0x1ec], edi
mov byte [ebp - 4], 7
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [edi], xmm0
push 0
movups xmmword [edi + 0x10], xmm0
call fcn.00413c40
lea eax, [ebp - 0x2c]
mov dword [edi], vtable.CryptoPP::ArraySink.0
mov dword [edi + 4], vtable.CryptoPP::ArraySink.1.0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0x10
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 6
call fcn.00417c90
push edi
mov edi, dword [ebp - 0x1d0]
mov ecx, edi
push 4
push eax
call fcn.00403b50
push edi
push ecx
push dword [ebp - 0x1d4]
lea ecx, [ebp - 0x100]
mov dword [edi], vtable.CryptoPP::HexDecoder.0
mov dword [edi + 4], vtable.CryptoPP::HexDecoder.1.0
mov byte [ebp - 4], 5
call fcn.00403910
push 0x30
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 8
push 0
push eax
call fcn.0042cda0
add esp, 0xc
lea ecx, [ebp - 0xbc]
push 1
call fcn.00413c40
mov dword [ebp - 0xac], 0x3fffffff
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x3c]
push dword [section..data]
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], vtable.CryptoPP::BlockCipherFinal_1__class_CryptoPP::Rijndael::Dec_.0
push 0x10
push eax
mov dword [ebp - 0xbc], vtable.CryptoPP::BlockCipherFinal_1__class_CryptoPP::Rijndael::Dec_.1.0
call fcn.00414fe0
push 0x3c
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xc
push 0
push eax
call fcn.0042cda0
add esp, 0xc
lea ecx, [ebp - 0x8c]
push 1
call fcn.00413c40
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], 0x4539c8
mov dword [ebp - 0x8c], 0x453a10
call fcn.00415220
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 0x90]
call dword [eax + 0x40]
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x90]
push 0
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x90]
mov eax, dword [eax + 0x1c]
call eax
cmp eax, 4
jge 0x4101e4
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x90]
call dword [eax + 0x2c]
push 0x7c
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x10
push 0
push eax
call fcn.0042cda0
add esp, 0xc
push 0x20
call fcn.0042b005
mov edi, eax
add esp, 4
mov dword [ebp - 0x1e4], edi
mov eax, dword [ebp - 0x1cc]
xorps xmm0, xmm0
sub eax, dword [ebp - 0x1c8]
mov ecx, edi
mov byte [ebp - 4], 0x11
movups xmmword [edi], xmm0
push 0
movups xmmword [edi + 0x10], xmm0
mov dword [ebp - 0x1d4], eax
call fcn.00413c40
mov eax, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x1c0]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x1d4]
push 5
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x8c]
push edi
push eax
mov dword [edi], vtable.CryptoPP::ArraySink.0
mov dword [edi + 4], vtable.CryptoPP::ArraySink.1.0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 0x10
call fcn.00415d80
push 1
push 0
push dword [ebp - 0x1e0]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1c0]
mov eax, dword [ebp - 0x1c0]
push esi
call dword [eax + 0x18]
mov eax, dword [ebp - 0x1c0]
lea ecx, [ebp - 0x1c0]
push 1
push 0xffffffffffffffff
push 0
push 0
call dword [eax + 0x18]
mov edi, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x1c0]
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [edi], eax
mov eax, dword [ebp - 0x1cc]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x48], 0
mov dword [edi + 8], eax
call fcn.004036d0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x58]
test edx, edx
je 0x41031c
mov eax, dword [ebp - 0x60]
mov edi, edx
mov ecx, dword [ebp - 0x5c]
cmp eax, ecx
push edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
call fcn.00419730
mov edi, dword [ebp - 0x1d8]
add esp, 4
lea ecx, [ebp - 0x90]
call fcn.00403f20
lea ecx, [ebp - 0xc0]
call fcn.004104d0
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - method.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.virtual_0], vtable.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.0
mov dword [ebp - 0xfc], vtable.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.1.0
test ecx, ecx
je 0x410356
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x130]
mov dword [ebp - method.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.virtual_0], vtable.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.0
mov dword [ebp - method.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.1.virtual_0], vtable.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.1.0
test ecx, ecx
je 0x41037a
mov eax, dword [ecx]
push 1
call dword [eax]
test esi, esi
je 0x4103ab
mov ecx, dword [ebp - 0x4c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4103a1
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4104b7
push ecx
push esi
call fcn.0042b035
add esp, 8
mov eax, edi
jmp 0x41040b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042afe5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.Could_not_find_resource
lea ecx, [ebp - 0x200]
call fcn.004014d0
push 0x467c28
lea eax, [ebp - 0x200]
push eax
call fcn.0042c7a8
push str.Not_loaded_resource
lea ecx, [ebp - 0x20c]
call fcn.004014d0
push 0x467c28
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c7a8
push str.Size_of_resource_is_null_or_negative
lea ecx, [ebp - 0x218]
call fcn.004014d0
push 0x467c28
lea eax, [ebp - 0x218]
push eax
call fcn.0042c7a8
push str.Lock_resource_null
lea ecx, [ebp - 0x224]
call fcn.004014d0
push 0x467c28
lea eax, [ebp - 0x224]
push eax
call fcn.0042c7a8
call fcn.00412040
call fcn.004013d0
call fcn.00436d64
int3