Function at 0x4137e3
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.00477850
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x4a18bd
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.004787c0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.004072b2
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41388f
push ebx
call fcn.00477856
add esp, 4
mov dword [ebp - 0x38], esp
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x41389c
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x4138c3
push 0x3d
push 0x40505ac
push 6
call fcn.00477862
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4138d6
push ebx
call fcn.00477856
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], esp
push 0xe
push 0x81
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x413912
push 0x75
push 0x40505ac
push 6
call fcn.00477862
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41397a
mov eax, str.DEFAULT_ICON
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403ccd
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413943
push ebx
call fcn.00477856
add esp, 4
mov dword [ebp - 0x34], esp
push 0xe
push dword [ebp - 0x30]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x413977
push 0x10a
push 0x40505ac
push 6
call fcn.00477862
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x413d69
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4139b3
push 0x18b
push 0x40505ac
push 6
call fcn.00477862
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x413d69
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4139ec
push 0x1fc
push 0x40505ac
push 6
call fcn.00477862
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, 0x83451b
push eax
push eax
mov ebx, eax
call fcn.00401016
pop eax
sub ebx, eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.00477850
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.00477856
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 0x413cc6
mov ebx, dword [ebp - 0x14]
call fcn.00401016
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x413a5e
push 0x281
push 0x40505ac
push 4
call fcn.00477862
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x413a7b
push 0x281
push 0x40505ac
push 1
call fcn.00477862
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
call fcn.00401016
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x413aaa
push 0x281
push 0x40505ac
push 4
call fcn.00477862
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x413ac7
push 0x281
push 0x40505ac
push 1
call fcn.00477862
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]
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x413b0f
push 0x281
push 0x40505ac
push 6
call fcn.00477862
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], esp
push 3
push dword [ebp - 0x1c]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x413b46
push 0x2dd
push 0x40505ac
push 6
call fcn.00477862
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x413cbf
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x20]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x413b82
push 0x357
push 0x40505ac
push 6
call fcn.00477862
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x413cbf
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x413bbb
push 0x3c8
push 0x40505ac
push 6
call fcn.00477862
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x413c93
mov ebx, dword [ebp - 0x14]
call fcn.00401016
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x413bef
push 0x419
push 0x40505ac
push 4
call fcn.00477862
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x413c0c
push 0x419
push 0x40505ac
push 1
call fcn.00477862
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]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x413c43
push 0x452
push 0x40505ac
push 6
call fcn.00477862
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]
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x413c8e
push 0x452
push 0x40505ac
push 6
call fcn.00477862
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeResource]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x413cbf
push 0x49e
push 0x40505ac
push 6
call fcn.00477862
add esp, 0xc
pop ebx
pop ecx
jmp 0x413a29
add esp, 8
mov ebx, dword [ebp - 0x14]
call fcn.00401016
mov eax, 0
cmp eax, ecx
jl 0x413cf1
push 0x4f6
push 0x40505ac
push 1
call fcn.00477862
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov dword [0x8376c9], eax
mov ebx, dword [ebp - 0x14]
call fcn.00401016
mov eax, 1
cmp eax, ecx
jl 0x413d2b
push 0x51d
push 0x40505ac
push 1
call fcn.00477862
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov dword [0x8376cd], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x413d69
push 0x544
push 0x40505ac
push 6
call fcn.00477862
add esp, 0xc
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00477856
add esp, 4
mov esp, ebp
pop ebp
ret