Function at 0x401a60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x431a18
push eax
mov eax, dword [0x442b48]
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
jne 0x401cdb
push 0x442b30
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x442b48], ebp
jne 0x401cd0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov esi, 0x4352ac
push ebp
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebp
call fcn.00403c40
push ebp
mov dword [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
push 0xa
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
cmp ebx, ebp
jne 0x401b26
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 2
call fcn.00403ca0
cmp eax, ebp
je 0x401c1f
push eax
call fcn.00415ab8
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x401b7b
mov dword [esp + 0x10], 0x4352ac
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 3
call fcn.00403ca0
cmp eax, ebp
je 0x401c1f
push eax
call fcn.00415ab8
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x401bc3
mov dword [esp + 0x10], 0x4352ac
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 4
call fcn.00403ca0
cmp eax, ebp
je 0x401c1f
push eax
call fcn.00415ab8
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push esi
lea ecx, [esp + 0x14]
call fcn.00403b90
xor ecx, ecx
cmp esi, ebp
mov dword [esp + 0x18], esi
jle 0x401bf3
mov al, byte [ecx + edi]
mov dl, al
sar dl, 6
and dl, 3
shl al, 2
or dl, al
mov eax, dword [esp + 0x14]
mov byte [eax + ecx], dl
inc ecx
cmp ecx, esi
jl 0x401bd7
cmp dword [esp + 0x18], ebp
jne 0x401c34
mov dword [esp + 0x10], 0x4352ac
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 5
call fcn.00403ca0
cmp eax, ebp
je 0x401c1f
push eax
call fcn.00415ab8
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [esp + 0x14]
push esi
push eax
mov ecx, 0x442620
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.00410410
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [0x442c5c]
call fcn.00404f00
mov esi, eax
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x3c], 6
call dword [edx + 4]
mov esi, dword [esi + 4]
mov ecx, 0x4428b0
push esi
call fcn.004104d0
mov esi, 0x4352ac
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 7
call fcn.00403ca0
cmp eax, ebp
je 0x401ca4
push eax
call fcn.00415ab8
add esp, 4
mov dword [0x442b48], 1
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 8
call fcn.00403ca0
cmp eax, ebp
je 0x401cd0
push eax
call fcn.00415ab8
add esp, 4
push 0x442b30
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret