Function at 0x49f2ac
Capabilities:
Extract resource via kernel32 functions
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x20c
push 0
push 0
dec ecx
jne 0x49f2b4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49f6b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
xor edx, edx
push ebp
push 0x49f63f
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x1028]
mov eax, dword [0x4a8370]
mov eax, dword [eax]
call fcn.0049a40c
mov edx, dword [ebp - 0x1028]
lea eax, [ebp - 8]
mov ecx, 0
call fcn.004074d8
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x102c]
mov edx, dword [ebp - 8]
call fcn.004074b0
mov edx, dword [ebp - 0x102c]
mov ecx, 0x49f6d0
mov eax, ebx
call fcn.0049f100
test al, al
je 0x49f635
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 8]
call fcn.00406d48
push eax
call sub.KERNEL32.DLL_LockResource
mov edi, eax
cmp edi, 0xffffffff
jne 0x49f389
lea eax, [ebp - 0x1030]
mov edx, dword [ebp - 8]
call fcn.004074b0
mov eax, dword [ebp - 0x1030]
call fcn.00407320
push eax
call sub.KERNEL32.DLL_ResumeThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f649
xor eax, eax
push ebp
push 0x49f3ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004114b8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f3c7
push 0
push 0
push ebx
push edi
call sub.KERNEL32.DLL_VirtualQuery
push 0
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push edi
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
jne 0x49f3f5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f649
xor eax, eax
push ebp
push 0x49f42d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1034]
lea edx, [ebp - 0x24]
mov ecx, 4
call fcn.0040747c
mov eax, dword [ebp - 0x1034]
call fcn.004114b8
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f449
test esi, esi
jl 0x49f455
cmp esi, 0x1000
jle 0x49f462
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f649
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x1024]
push eax
push edi
call sub.KERNEL32.DLL_IsValidLocale
cmp eax, 1
sbb ebx, ebx
inc ebx
push edi
call sub.KERNEL32.DLL_GlobalDeleteAtom
test bl, bl
je 0x49f635
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
lea eax, [esi + 4]
cdq
cmp edx, dword [esp + 4]
jne 0x49f4a1
cmp eax, dword [esp]
pop edx
pop eax
jne 0x49f635
lea eax, [ebp - 0x1024]
add eax, esi
movzx edx, byte [eax]
cmp dl, byte [ebp - 0x24]
jne 0x49f635
movzx edx, byte [eax + 1]
cmp dl, byte [ebp - 0x23]
jne 0x49f635
movzx edx, byte [eax + 2]
cmp dl, byte [ebp - 0x22]
jne 0x49f635
mov byte [eax], 0x30
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1038]
lea edx, [ebp - 0x1024]
mov ecx, 0x1000
push 0
call fcn.0040692c
mov eax, dword [ebp - 0x1038]
mov ecx, esi
mov edx, 1
call fcn.00406dc8
lea eax, [ebp - 0x1040]
mov edx, dword [ebp - 0x10]
call fcn.004074b0
mov eax, dword [ebp - 0x1040]
lea edx, [ebp - 0x103c]
call fcn.0049d840
mov edx, dword [ebp - 0x103c]
lea eax, [ebp - 0xc]
mov ecx, 0
call fcn.004074d8
lea eax, [ebp - 0x1044]
mov edx, dword [ebp - 0xc]
call fcn.004074b0
mov edx, dword [ebp - 0x1044]
mov eax, 0x49f6fc
call fcn.00407ce4
mov ebx, eax
test ebx, ebx
jle 0x49f5da
lea eax, [ebp - 0x1050]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00406dc8
mov edx, dword [ebp - 0x1050]
lea eax, [ebp - 0x104c]
call fcn.004074b0
mov eax, dword [ebp - 0x104c]
lea edx, [ebp - 0x1048]
call fcn.00410af4
mov edx, dword [ebp - 0x1048]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xc]
mov ecx, ebx
mov edx, 1
call fcn.00406e2c
lea eax, [ebp - 0x1054]
mov edx, dword [ebp - 0xc]
call fcn.004074b0
mov edx, dword [ebp - 0x1054]
mov eax, 0x49f6fc
call fcn.00407ce4
mov ebx, eax
test ebx, ebx
jg 0x49f55e
lea eax, [ebp - 0x105c]
mov edx, dword [ebp - 0xc]
call fcn.004074b0
mov eax, dword [ebp - 0x105c]
lea edx, [ebp - 0x1058]
call fcn.00410af4
cmp dword [ebp - 0x1058], 0
je 0x49f631
lea eax, [ebp - 0x1064]
mov edx, dword [ebp - 0xc]
call fcn.004074b0
mov eax, dword [ebp - 0x1064]
lea edx, [ebp - 0x1060]
call fcn.00410af4
mov edx, dword [ebp - 0x1060]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f649
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f6b9
lea eax, [ebp - 0x1064]
mov edx, 5
call fcn.0040728c
lea eax, [ebp - 0x1050]
call fcn.004065d4
lea eax, [ebp - 0x104c]
mov edx, 5
call fcn.0040728c
lea eax, [ebp - 0x1038]
call fcn.004065d4
lea eax, [ebp - 0x1034]
mov edx, 4
call fcn.0040728c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004065f8
lea eax, [ebp - 4]
call fcn.00407284
ret