Function at 0x46e4e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [0x516df8]
sub esp, 0x434
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [0x519364], eax
cmp eax, ebp
jne 0x46e50d
mov eax, dword [esp + 0x448]
mov ecx, dword [eax + 0xac8]
mov dword [0x514e0c], ecx
mov eax, dword [esp + 0x45c]
xor edx, edx
mov word [esp + 0x38], dx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov byte [esp + 0x1c], dl
mov dword [esp + 0x10], ebp
cmp eax, ebp
je 0x46e535
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0xa
push str.2V4B9S5G8UG
push ebp
xor ebx, ebx
call esi
push 0xa
push str.LDKP50RPDMQZTPKIYNHAW0CN
push ebp
call esi
mov edi, eax
cmp edi, ebp
jne 0x46e57a
push 2
push str.O0ROY1NZUWL0YJV6I60P
push ebp
call esi
mov edi, eax
cmp edi, ebp
je 0x46e56e
mov ebx, 1
jmp 0x46e57a
push 0xa
push 0x505328
push ebp
call esi
mov edi, eax
cmp dword [0x518a90], ebp
je 0x46e5ea
mov eax, dword [0x515ed4]
mov edx, dword [0x518aa4]
mov ecx, dword [esp + 0x10]
push 0x30c
call fcn.004a0800
test al, al
jne 0x46e78e
mov ecx, dword [0x518aa4]
push ecx
push str.w_r4__7r13__r07r_7_76
call fcn.0049fc00
add esp, 4
push eax
mov esi, 0x204
lea edi, [esp + 0x40]
call fcn.004a71f0
mov ecx, dword [esp + 0x450]
add esp, 8
push 0x4e1a4c
mov edx, edi
push edx
call fcn.004768b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x434
ret 0x18
cmp ebx, ebp
je 0x46e67a
mov dword [esp + 0x10], ebp
cmp edi, ebp
je 0x46e61b
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
je 0x46e61b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, ebp
je 0x46e61f
mov bl, 1
jmp 0x46e621
mov esi, dword [esp + 0x10]
xor bl, bl
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x18], eax
test bl, bl
je 0x46e64b
lea eax, [esp + 0x10]
push eax
mov ebx, esi
mov eax, 0x518a84
call fcn.00499900
add esp, 4
xor ebp, ebp
test al, al
jne 0x46e667
fldz
mov ecx, dword [esp + 0x450]
sub esp, 8
fstp qword [esp]
push ebp
push ecx
push ebp
push 0x5053a0
jmp 0x46e7bd
mov edx, dword [esp + 0x10]
mov eax, dword [0x518a88]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
jmp 0x46e6b9
cmp edi, ebp
je 0x46e7a6
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x18], eax
cmp eax, ebp
je 0x46e7a6
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
je 0x46e7a6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x14], eax
cmp eax, ebp
je 0x46e7a6
mov ecx, dword [esp + 0x44c]
push 0xc
mov eax, 0xfde9
lea edx, [esp + 0x18]
call fcn.004a0800
mov ecx, dword [esp + 0x448]
mov edx, dword [ecx + 0xac8]
push str.w_r4__7rpw_pr13__r07r_7_76
mov dword [0x514e0c], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov byte [esp + 0x34], 0
mov dword [esp + 0x38], ebp
call fcn.0049fc00
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 4
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push ebx
push ecx
push edx
push 4
push ebp
push ebp
push ebp
call fcn.00477e90
add esp, 0x20
test al, al
jne 0x46e73f
fldz
mov eax, dword [esp + 0x450]
sub esp, 8
fstp qword [esp]
push ebp
push eax
jmp 0x46e7b7
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x458]
add edi, 3
call fcn.00415010
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
xor edi, edi
call fcn.00415140
mov eax, dword [esp + 0x454]
mov ecx, esi
mov byte [eax], 1
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov dword [eax + 4], ebx
mov byte [eax + 1], 1
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x45c]
cmp eax, ebp
je 0x46e78e
mov dword [eax], ebp
inc dword [0x516df8]
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x434
ret 0x18
fldz
mov edx, dword [esp + 0x450]
sub esp, 8
fstp qword [esp]
push ebp
push edx
push ebp
push 0x5053f8
call fcn.0049fc00
add esp, 4
push eax
call fcn.004abe70
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x434
ret 0x18