Function at 0x402b50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43691a
push eax
mov eax, dword [0x448d80]
mov dword fs:[0], esp
sub esp, 0x290
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
jne 0x402ea5
push 0x448d68
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x448d80], ebx
jne 0x402e9a
push ebx
push ebx
lea ecx, [esp + 0x18]
call fcn.00401df0
mov ebp, 0x43a2a0
push ebx
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2b0], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebx
call fcn.004019d0
push ebx
mov dword [esp + 0x2ac], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
push 0xa
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, ebx
jne 0x402c06
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x2a8], 2
call fcn.00401dd0
xor eax, eax
jmp 0x402eaa
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
jne 0x402c3f
mov dword [esp + 0x10], 0x43a2a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x2a8], 3
call fcn.00401dd0
xor eax, eax
jmp 0x402eaa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [esp + 0x30], eax
jne 0x402c71
mov dword [esp + 0x10], 0x43a2a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x2a8], 4
call fcn.00401dd0
xor eax, eax
jmp 0x402eaa
push ebp
lea ecx, [esp + 0x14]
call fcn.00404f50
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], ebp
call fcn.0040b620
mov ecx, dword [0x448e94]
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x2ac], 5
call fcn.00405f00
mov esi, eax
mov edx, dword [0x448ad8]
push ebx
mov ecx, 0x448ad8
mov byte [esp + 0x2ac], 6
call dword [edx + 4]
push esi
mov ecx, 0x448ad8
call fcn.00404fa0
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a8], 5
call fcn.00401cc0
push 0x448ad8
lea ecx, [esp + 0x24]
call fcn.00405000
mov dword [esp + 0x20], 0x43a2c4
mov ecx, 5
mov esi, str.r1g2s3r4i5h6s7_8e9u0
lea edi, [esp + 0x44]
lea eax, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
push 0x15
push eax
mov byte [esp + 0x2b0], 7
movsb byte es:[edi], byte [esi]
call fcn.004095a0
add esp, 8
lea ecx, [esp + 0x20]
push 0x10
push eax
call fcn.004019d0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x24]
mov esi, eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
push 4
push esi
push eax
lea ecx, [esp + 0x68]
call fcn.0040b720
lea ecx, [esp + 0x5c]
call fcn.0040b8a0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x14]
call dword [edx + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
push ebp
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.0040ba50
cmp dword [esp + 0x18], ebx
jne 0x402dd4
mov esi, 0x43a2a0
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x2a8], 8
call fcn.00401dd0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x20], 0x43a294
mov byte [esp + 0x2a8], 1
call fcn.0040b6c0
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x2a8], 9
call fcn.00401f00
cmp eax, ebx
je 0x402dcd
push eax
call fcn.0041a070
add esp, 4
xor eax, eax
jmp 0x402eaa
mov eax, dword [esp + 0x14]
push ebp
push eax
mov ecx, 0x448858
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00415210
mov ecx, dword [0x448e94]
lea edx, [esp + 0x34]
push edx
call fcn.00406000
mov esi, eax
mov ecx, dword [esi + 8]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov byte [esp + 0x2ac], 0xa
call dword [eax + 4]
mov esi, dword [esi + 4]
mov ecx, 0x448af0
push esi
call fcn.004152d0
mov esi, 0x43a2a0
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a8], 0xb
call fcn.00401dd0
mov dword [0x448d80], 1
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x2a8], 0xc
call fcn.00401dd0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x20], 0x43a294
mov byte [esp + 0x2a8], 1
call fcn.0040b6c0
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x2a8], 0xd
call fcn.00401f00
cmp eax, ebx
je 0x402e9a
push eax
call fcn.0041a070
add esp, 4
push 0x448d68
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x29c
ret