Function at 0x46f6a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bc88
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5c04b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x5c6138]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x46f6e8
xor al, al
jmp 0x46f9b1
push 0x17
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x46f6e1
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x46f6e1
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x78]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x46f6e1
push ebx
call fcn.005534d1
add esp, 4
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0
push ebx
push dword [ebp - 0x7c]
push eax
call sub.MSVCR120.dll_memcpy
mov ecx, dword [ebp - 0x78]
add esp, 0xc
xor edx, edx
push ebx
call fcn.004d4770
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
push ebx
push dword [ebp - 0x78]
mov byte [ebp - 0x40], 0
call fcn.0041e000
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x10
mov eax, dword [ebp - 0x40]
jae 0x46f7b6
lea eax, [ebp - 0x40]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x46f97b
push eax
lea ecx, [ebp - 0x28]
call fcn.00470e90
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x46f7e7
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x2c], 0x10
mov ecx, dword [ebp - 0x40]
jae 0x46f7f3
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x18]
inc eax
push eax
call fcn.0052fd50
add esp, 4
test eax, eax
je 0x46f97b
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x46f814
lea ecx, [ebp - 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f817
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x28]
call fcn.00470e90
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x46f83b
lea edx, [ebp - 0x28]
sub esp, 8
lea ecx, [ebp - 0x60]
call fcn.00451280
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
push dword [ebp - 0x74]
call fcn.0045af20
mov byte [ebp - 4], 4
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
call fcn.004513a0
mov byte [ebp - 4], 5
mov ecx, eax
push 0
call fcn.00451250
mov ebx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00440820
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00440820
test ebx, ebx
je 0x46f965
push 0x17
movzx eax, bx
push eax
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x46f965
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x46f965
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x74]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x46f965
push ebx
call fcn.005534d1
mov esi, eax
add esp, 4
mov dword [ebp - 0x7c], esi
mov byte [ebp - 4], 6
push ebx
push dword [ebp - 0x74]
push esi
call sub.MSVCR120.dll_memcpy
add esp, 0xc
xor edx, edx
mov ecx, esi
push ebx
call fcn.004d4770
mov edx, dword [edi + 0x14]
add esp, 4
cmp edx, 0x10
jb 0x46f921
mov ecx, dword [edi]
jmp 0x46f923
mov ecx, edi
mov eax, dword [edi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x46f931
mov ecx, dword [edi]
jmp 0x46f933
mov ecx, edi
lea edx, [esi + ebx]
push edx
push esi
push eax
push ecx
mov ecx, edi
call fcn.00422640
mov bl, al
mov byte [ebp - 4], 3
test esi, esi
je 0x46f967
push esi
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
call esi
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.00440820
jmp 0x46f983
xor bl, bl
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.00440820
jmp 0x46f983
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
xor bl, bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0041d580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0041d380
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x46f9af
push eax
call esi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret 8