Function at 0x4531b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov esi, dword [ebp + 0xc]
mov eax, dword [0x646040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp esi, 0x750
jne 0x4533bc
mov edi, 0x6373ac
mov eax, dword [0x64c804]
test eax, eax
je 0x4533f5
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 4]
mov esi, dword [edi + eax*4]
mov dword [ebp - 0x34], esi
call fcn.00593d40
mov eax, dword [0x657198]
mov dword [ebp - 0x38], eax
mov ecx, esi
sar ecx, 0x1f
add esi, eax
adc ecx, 0
mov eax, ecx
and eax, 1
neg eax
xor ecx, eax
jne 0x4533b4
test eax, eax
js 0x4533b4
mov dword [ebp - 0x3c], esi
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov eax, esi
shr eax, 4
inc eax
movzx eax, ax
push 6
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4532ae
mov ebx, eax
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4532ae
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4532ae
mov edi, eax
push ebx
push 0x400000
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x48], eax
and esi, 0xf
jne 0x453383
mov ecx, eax
cmp ecx, 2
jb 0x4532ae
test edi, edi
je 0x4532ae
movzx eax, word [edi]
test eax, eax
je 0x453351
add ecx, 0xfffffffe
lea edx, [eax + eax]
cmp edx, ecx
jbe 0x4533a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x50]
mov dword [ecx], eax
push ecx
call fcn.004ffdf0
add esp, 4
lea eax, [ebp - 0x34]
push eax
call fcn.004ffdf0
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.004ffdf0
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.004ffdf0
add esp, 4
lea eax, [ebp - 0x4c]
push eax
call fcn.004ffdf0
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.004ffdf0
add esp, 4
lea eax, [ebp - 0x44]
push eax
call fcn.004ffdf0
add esp, 4
lea eax, [ebp - 0x48]
push eax
call fcn.004ffdf0
add esp, 4
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
cmp byte [0x657197], 0
mov eax, 0x65718c
jns 0x453334
mov eax, dword [0x65718c]
lea esi, [ebp - 0x30]
push 0x10
push eax
push esi
call fcn.00554dd0
add esp, 0xc
push esi
call fcn.004ffdf0
add esp, 4
call fcn.005938f0
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
movsd qword [esi], xmm0
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00567335
mov eax, esi
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, edx
mov ecx, eax
mov eax, ecx
dec esi
je 0x45328c
cmp eax, 2
jb 0x453378
add eax, 0xfffffffe
lea edx, [edi + 2]
test edi, edi
je 0x453376
movzx edi, word [edi]
add edi, edi
mov ecx, eax
sub ecx, edi
jb 0x453376
add edx, edi
mov edi, edx
jmp 0x45337a
add edi, 2
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
push edi
call fcn.00434a20
jmp 0x453362
int3
mov edi, 0x63737c
cmp esi, 0x650
je 0x4531d7
cmp esi, 0x690
jne 0x4533df
mov edi, 0x63739c
jmp 0x4531d7
cmp esi, 0x680
jne 0x4531f0
mov edi, 0x63738c
jmp 0x4531d7
push 0x64
call fcn.00564055
add esp, 4
lea ecx, [eax + 0x38]
mov dword [eax + 4], ecx
mov dword [eax], 0x62329c
xorps xmm0, xmm0
movups xmmword [eax + 0x38], xmm0
movups xmmword [eax + 8], xmm0
movups xmmword [eax + 0x18], xmm0
movups xmmword [eax + 0x28], xmm0
movups xmmword [eax + 0x48], xmm0
movups xmmword [eax + 0x54], xmm0
mov dword [eax + 0x38], 0x2c
mov dword [eax + 0x3c], str.126.0.6478.1030
mov dword [eax + 0x40], 0x631864
mov dword [eax + 0x44], 0x636084
mov dword [0x64c804], eax
jmp 0x4531e7