Function at 0x401110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x41bd3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
mov dword [esp + 8], 0
mov al, byte [esp + 7]
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc4], 1
mov byte [esp + 0x10], al
call fcn.00402ac0
lea ecx, [esp + 0xa8]
mov byte [esp + 0xc0], 2
push ecx
call section..text
add esp, 4
mov edx, dword [0x41d110]
lea ecx, [esp + 0xc]
push edx
push 0
push eax
mov byte [esp + 0xcc], 3
call fcn.004028c0
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0xc4], 2
call fcn.00402ac0
mov eax, dword [0x41d110]
lea ecx, [esp + 0xdc]
push eax
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.00402ef0
mov ebx, dword [esp + 0xcc]
mov eax, 0x41d128
test ebx, ebx
je 0x4011c6
mov eax, ebx
mov edx, dword [esp + 0xd8]
push ebp
push esi
push edi
and edx, 0xffff
push eax
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov esi, 0x41d128
je 0x40120e
mov esi, eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x28], 0x41d120
call fcn.00402c60
mov dword [esp + 0x80], 0x41d11c
mov dword [esp + 0x14], 1
push 0
push 1
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xdc], 4
call fcn.00402b10
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0xd0], 5
call fcn.00402c70
mov ecx, dword [esp + 0x28]
push 0x22
push esi
mov byte [esp + 0xd4], 6
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x34]
mov dword [esp + edx + 0x30], 0x41d118
call fcn.00402e00
test eax, eax
jne 0x4012a7
mov eax, dword [esp + 0x28]
push 0
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x30]
or al, 2
lea ecx, [esp + ecx + 0x2c]
push eax
call fcn.00402bd0
push ebp
push edi
lea ecx, [esp + 0x30]
mov byte [esp + 0xd4], 7
call fcn.004018b0
mov eax, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
test eax, eax
je 0x4012e6
push eax
call fcn.0041067e
add esp, 4
test eax, eax
jne 0x4012e6
push 2
push eax
lea ecx, [esp + 0x28]
call fcn.00403300
lea edx, [esp + 0x20]
test edx, edx
jne 0x4012fa
mov eax, dword [esp + 0x1c]
push 0
push 2
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x24]
call fcn.00401a80
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x74]
mov dword [esp + 8], edx
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x1c], 0x41d118
lea ecx, [esp + 0x20]
mov byte [esp + 0xc0], 8
call fcn.00401e50
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x74]
mov byte [esp + 0xc0], 2
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x1c], 0x41d114
call fcn.00401a70
push 1
lea ecx, [esp + 0x10]
mov byte [esp + 0xc4], 1
call fcn.00402ac0
test ebx, ebx
je 0x401375
mov al, byte [ebx - 1]
test al, al
je 0x40136b
cmp al, 0xff
je 0x40136b
dec al
mov byte [ebx - 1], al
jmp 0x401375
dec ebx
push ebx
call fcn.00403bb0
add esp, 4
mov ecx, dword [esp + 0xe0]
pop ebx
test ecx, ecx
je 0x4013b0
mov al, byte [ecx - 1]
test al, al
je 0x4013a6
cmp al, 0xff
je 0x4013a6
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
add esp, 0xc0
ret
dec ecx
push ecx
call fcn.00403bb0
add esp, 4
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
add esp, 0xc0
ret