Function at 0x40da39
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x88
lea ebp, [esp - 4]
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0x88], eax
push 0x4c
mov eax, 0x46ce25
call fcn.00450ec5
mov eax, dword [ebp + 0x94]
mov dword [ebp - 0x20], eax
lea eax, [ebp]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040d5df
push 0x479474
push 0x67
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x40db69
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], ebx
je 0x40db69
cmp eax, ebx
je 0x40db69
push eax
push dword [ebp - 0x10]
call fcn.0040f366
mov esi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044b6ce
push dword [ebp - 0x14]
mov edi, eax
push dword [ebp - 0x10]
mov ebx, edi
call fcn.0040f366
add esp, 0x14
push esi
push edi
lea eax, [ebp + 0x6c]
call fcn.0040de3a
mov byte [ebp - 4], 2
cmp dword [ebp + 0x84], 8
mov eax, dword [ebp + 0x70]
jae 0x40db08
lea eax, [ebp + 0x70]
push eax
lea ebx, [ebp]
call fcn.0040eb54
push edi
test al, al
jne 0x40db2e
call fcn.0044c11c
pop ecx
push 0
push 1
lea esi, [ebp + 0x6c]
call fcn.00401e7e
mov byte [ebp - 4], 0
jmp 0x40db6c
call fcn.0044c11c
xor ebx, ebx
mov eax, esp
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x4c], ebx
lea esi, [ebp]
mov dword [ebp - 0x14], esp
mov dword [eax], str.Lang
call fcn.0040eeca
cmp al, bl
jne 0x40dbaa
push ebx
push 1
lea esi, [ebp + 0x6c]
call fcn.00401e7e
mov byte [ebp - 4], bl
lea eax, [ebp]
push eax
call fcn.0040d625
mov eax, dword [ebp + 0x98]
add eax, 0xfffffff0
call fcn.004026f8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x88]
xor ecx, ebp
call fcn.0044bafb
add ebp, 0x8c
leave
ret 8
lea eax, [ebp]
call fcn.0040f526
mov eax, dword [ebp + 0x98]
add eax, 0xfffffff0
call fcn.004021fc
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00403dbb
push ecx
mov eax, esp
lea esi, [ebp]
mov dword [ebp - 0x1c], esp
mov dword [eax], str.item
call fcn.0040eeca
cmp al, bl
je 0x40dcc2
push ecx
mov eax, esp
mov dword [eax], str.name
lea eax, [ebp - 0x58]
mov dword [ebp - 0x1c], esp
push eax
mov eax, esi
call fcn.0040d684
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x40dc14
mov eax, dword [eax + 4]
jmp 0x40dc17
add eax, 4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00402676
push ebx
push 1
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.00401e7e
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp]
call fcn.0040d66a
mov byte [ebp - 4], 7
cmp dword [eax + 0x18], 8
jb 0x40dc4b
mov eax, dword [eax + 4]
jmp 0x40dc4e
add eax, 4
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00402676
push ebx
push 1
lea esi, [ebp - 0x3c]
mov byte [ebp - 4], 9
call fcn.00401e7e
lea eax, [ebp - 0x18]
push eax
mov ecx, str.wondershare
call fcn.00404069
test eax, eax
je 0x40dc8d
push dword [ebp + 0x98]
lea eax, [ebp - 0x10]
push 0x4794b8
push eax
call fcn.00403bfd
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call fcn.0040deaf
mov edi, eax
lea eax, [ebp - 0x10]
call fcn.00401bfe
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004026f8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004026f8
jmp 0x40dbd2
lea eax, [ebp]
call fcn.0040f558
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004026f8
push ebx
push 1
lea esi, [ebp + 0x6c]
call fcn.00401e7e
lea eax, [ebp]
push eax
mov byte [ebp - 4], bl
call fcn.0040d625
mov eax, dword [ebp + 0x98]
add eax, 0xfffffff0
call fcn.004026f8
xor eax, eax
inc eax
jmp 0x40db85