Function at 0x40380d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6daf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x403879
lea eax, [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x403860
push 0x1d8e
push 0x26a3
push 0x1ea
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x403874
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x403874
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x403a23
lea eax, [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x4038fd
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x4038db
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xfffffff4
jle 0x4038f8
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0
je 0x4038ed
jmp 0x4038f8
mov eax, dword [ebp - 0x54]
mov dword [eax], 0xffffffff
jmp 0x4038d0
jmp 0x403a23
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x2c], 0x58d3
mov dword [ebp - 0x60], str.pwousjjpp_nsofbcaec_djmuhmfvt_sxn_cyl_evptxrb_higgpa_jkyzfnse_vxuvkbprb_uqnc_xfxtcdp_nnwxri_jrhscjj_aas
cmp dword [ebp - 0x2c], 0x59d4
jle 0x4039ca
and dword [ebp - 0x1c], 0
jmp 0x40392b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2959
jge 0x4039ca
and dword [ebp - 0x20], 0
jmp 0x403945
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x53c2
jge 0x4039c5
and dword [ebp - 0x24], 0
jmp 0x40395b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1aa8
jge 0x4039c0
and dword [ebp - 0x28], 0
jmp 0x403971
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1d81
jge 0x4039be
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
and ecx, dword [ebp - 0x28]
xor eax, ecx
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x84]
call fcn.0040195e
pop ecx
pop ecx
mov ecx, eax
call fcn.004200e8
push eax
call fcn.004a11e7
pop ecx
lea ecx, [ebp - 0x84]
call fcn.004200de
jmp 0x40396a
jmp 0x403954
jmp 0x40393e
jmp 0x403924
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x57e9
jge 0x4039e6
push dword [ebp - 0x60]
call fcn.004a11e7
pop ecx
jmp 0x403a02
or dword [ebp - 4], 0xffffffff
jmp 0x403a0c
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x403a23
push 0
push 0x26e0
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret