Function at 0x4a6652
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.0059de33
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x5d3442
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0059ff90
add esp, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0043c001
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4a66f2
push ebx
call fcn.0059de2d
add esp, 4
mov dword [ebp - 0x34], esp
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4a66ff
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4a6726
push 0x3d
push 0x40d2e78
push 6
call fcn.0059de3f
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4a6739
push ebx
call fcn.0059de2d
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], esp
push 0xe
push 0x81
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4a6775
push 0x75
push 0x40d2e78
push 6
call fcn.0059de3f
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4a67dd
mov eax, str.DEFAULT_ICON
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004a6bde
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4a67a6
push ebx
call fcn.0059de2d
add esp, 4
mov dword [ebp - 0x34], esp
push 0xe
push dword [ebp - 0x30]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4a67da
push 0x10a
push 0x40d2e78
push 6
call fcn.0059de3f
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a6bcc
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4a6816
push 0x18b
push 0x40d2e78
push 6
call fcn.0059de3f
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a6bcc
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4a684f
push 0x1fc
push 0x40d2e78
push 6
call fcn.0059de3f
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, 0x64b5ec
push eax
push eax
mov ebx, eax
call fcn.0040195d
pop eax
sub ebx, eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.0059de33
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0059de2d
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
xor ecx, ecx
lea eax, [ebp - 0x18]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 2
jg 0x4a6b29
mov ebx, dword [ebp - 0x14]
call fcn.0040195d
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x4a68c1
push 0x281
push 0x40d2e78
push 4
call fcn.0059de3f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4a68de
push 0x281
push 0x40d2e78
push 1
call fcn.0059de3f
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
call fcn.0040195d
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x4a690d
push 0x281
push 0x40d2e78
push 4
call fcn.0059de3f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4a692a
push 0x281
push 0x40d2e78
push 1
call fcn.0059de3f
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esp
push 0
mov ebx, dword [ebp - 0x30]
push dword [ebx]
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push 1
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4a6972
push 0x281
push 0x40d2e78
push 6
call fcn.0059de3f
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], esp
push 3
push dword [ebp - 0x1c]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4a69a9
push 0x2dd
push 0x40d2e78
push 6
call fcn.0059de3f
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4a6b22
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x20]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4a69e5
push 0x357
push 0x40d2e78
push 6
call fcn.0059de3f
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4a6b22
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x24]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4a6a1e
push 0x3c8
push 0x40d2e78
push 6
call fcn.0059de3f
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4a6af6
mov ebx, dword [ebp - 0x14]
call fcn.0040195d
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x4a6a52
push 0x419
push 0x40d2e78
push 4
call fcn.0059de3f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4a6a6f
push 0x419
push 0x40d2e78
push 1
call fcn.0059de3f
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
push dword [ebp - 0x20]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4a6aa6
push 0x452
push 0x40d2e78
push 6
call fcn.0059de3f
add esp, 0xc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push 0
push 0
push 0
push 0x30000
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x28]
xor eax, eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x4a6af1
push 0x452
push 0x40d2e78
push 6
call fcn.0059de3f
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x24]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4a6b22
push 0x49e
push 0x40d2e78
push 6
call fcn.0059de3f
add esp, 0xc
pop ebx
pop ecx
jmp 0x4a688c
add esp, 8
mov ebx, dword [ebp - 0x14]
call fcn.0040195d
mov eax, 0
cmp eax, ecx
jl 0x4a6b54
push 0x4f6
push 0x40d2e78
push 1
call fcn.0059de3f
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
call fcn.0040195d
mov eax, 1
cmp eax, ecx
jl 0x4a6b8e
push 0x51d
push 0x40d2e78
push 1
call fcn.0059de3f
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4a6bcc
push 0x544
push 0x40d2e78
push 6
call fcn.0059de3f
add esp, 0xc
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0059de2d
add esp, 4
mov esp, ebp
pop ebp
ret 0x10