Function at 0x402caf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0xc0
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0xc0], eax
push 0x14
mov eax, 0x505ea4
call fcn.004d9fe8
mov eax, dword [ebp + 0xcc]
mov dword [ebp - 0x20], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x550334], ebx
je 0x402d02
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___loadLangXML
call fcn.00427dfb
pop ecx
pop ecx
mov eax, dword [ebp + 0xd0]
add eax, 0xfffffff0
call fcn.00404311
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00403329
push 0x5366fc
push 0x83
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x402df6
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp edi, ebx
je 0x402df6
cmp eax, ebx
je 0x402df6
push eax
push edi
xor ebx, ebx
call fcn.00424deb
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.004d4af2
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x402df6
push dword [ebp - 0x14]
push edi
call fcn.00424deb
pop ecx
pop ecx
push esi
push ebx
lea esi, [ebp + 0xa4]
call fcn.00403157
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.0040250b
mov byte [ebp - 4], 3
cmp dword [ebp + 0xb8], 8
mov eax, dword [ebp + 0xa4]
jae 0x402dc7
mov eax, esi
push eax
lea esi, [ebp + 0x38]
call fcn.004246a3
push ebx
test al, al
jne 0x402e36
call fcn.004d69c1
pop ecx
mov eax, esi
push eax
mov byte [ebp - 4], 2
call fcn.0040255c
push 0
push 1
lea ecx, [ebp + 0xa4]
call fcn.0040476f
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040436d
mov eax, dword [ebp + 0xd0]
add eax, 0xfffffff0
call fcn.0040436d
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 + 0xc0]
xor ecx, ebp
call fcn.004d5e0b
add ebp, 0xc4
leave
ret 8
call fcn.004d69c1
xor ebx, ebx
mov eax, esp
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x88], ebx
mov dword [ebp + 0x8c], ebx
mov dword [ebp + 0x84], ebx
lea esi, [ebp + 0x38]
mov dword [ebp - 0x14], esp
mov dword [eax], str.Lang
call fcn.00424a06
cmp al, bl
mov eax, esi
jne 0x402e81
push eax
mov byte [ebp - 4], 2
call fcn.0040255c
push ebx
jmp 0x402de9
call fcn.00424fb5
push ecx
mov eax, esp
lea esi, [ebp + 0x38]
mov dword [ebp - 0x1c], esp
mov dword [eax], str.item
call fcn.00424a06
cmp al, bl
je 0x402f6c
push ecx
mov eax, esp
mov dword [eax], str.name
lea ecx, [ebp]
mov eax, esi
mov dword [ebp - 0x1c], esp
call fcn.004025bb
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x402ec4
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004042b1
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.0040476f
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp + 0x38]
call fcn.004025a1
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x402ef5
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004042b1
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 9
call fcn.0040476f
lea eax, [ebp - 0x10]
push eax
mov ecx, str.wondershare
call fcn.00403604
test eax, eax
je 0x402f34
push dword [ebp + 0xd0]
lea eax, [ebp - 0x18]
push 0x536740
push eax
call fcn.004031d8
mov eax, dword [ebp - 0x20]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x14]
call fcn.00403352
mov edi, eax
lea eax, [ebp - 0x18]
call fcn.00403197
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040436d
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040436d
jmp 0x402e86
lea eax, [ebp + 0x38]
call fcn.00424fe7
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.0040255c
push ebx
push 1
lea ecx, [ebp + 0xa4]
call fcn.0040476f
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040436d
mov eax, dword [ebp + 0xd0]
add eax, 0xfffffff0
call fcn.0040436d
xor eax, eax
inc eax
jmp 0x402e11