Function at 0x403b60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a0ab
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4af454]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xa
push 0x65
push 0
mov dword [ebp - 0x64], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x403bab
xor al, al
jmp 0x4040dc
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x403ba4
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x80], ebx
test ebx, ebx
je 0x403ba4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x403ba4
movzx edx, byte [ecx + ebx - 1]
lea ecx, [ebp - 0x48]
sub eax, edx
mov dword [ebp - 0x38], 0
dec eax
mov dword [ebp - 0x34], 0xf
push edx
add eax, ebx
mov byte [ebp - 0x48], 0
push eax
mov dword [ebp - 0x84], edx
call fcn.00405cd0
push 0x4b13f0
push 0x408060
push 0x4b13cc
mov dword [ebp - 4], 1
call fcn.004621e1
add esp, 0xc
test eax, eax
je 0x4040f8
push 0x4b13f0
push 0x408060
push 0x4b13cc
mov byte [ebp - 4], 2
call fcn.004621e1
add esp, 0xc
test eax, eax
je 0x4040fd
xor eax, eax
mov dword [ebp - 0x6c], 0
push eax
push 0x105
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x64], 2
call fcn.00404990
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
push eax
call fcn.00462092
push 0
push eax
lea ecx, [ebp - 0x7c]
mov esi, edx
call fcn.00404990
cmp esi, 0xffffffff
jne 0x403ccd
push 0x4b13d4
push 0x408020
push 0x4b13bc
call fcn.004621e1
add esp, 0xc
test eax, eax
je 0x404102
mov esi, 0x14
mov dword [ebp - 0x14], 0x4b13d4
jmp 0x403cf3
push 0x4b13f0
push 0x408060
push 0x4b13cc
call fcn.004621e1
add esp, 0xc
test eax, eax
je 0x404107
mov dword [ebp - 0x14], 0x4b13f0
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x64], 1
test esi, esi
jne 0x40410c
mov byte [ebp - 4], 3
lea edi, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
mov ebx, dword [ebp - 0x6c]
cmovae edi, dword [ebp - 0x7c]
mov ecx, edi
lea esi, [edi + ebx*2]
mov edx, esi
call fcn.004021e0
cmp eax, esi
je 0x403d65
nop
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x403d3d
cmp ecx, 0x2f
jne 0x403d46
add eax, 2
cmp eax, esi
jne 0x403d30
jmp 0x403d65
cmp eax, esi
je 0x403d65
nop word [eax + eax]
movzx ecx, word [esi - 2]
cmp ecx, 0x5c
je 0x403d65
cmp ecx, 0x2f
je 0x403d65
add esi, 0xfffffffe
cmp eax, esi
jne 0x403d50
sub esi, edi
sar esi, 1
cmp ebx, esi
jb 0x404118
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x6c], esi
cmovae eax, dword [ebp - 0x7c]
xor ecx, ecx
mov byte [ebp - 4], 1
mov word [eax + esi*2], cx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00402320
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x403dd3
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403dc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40411d
push edx
push ecx
call fcn.0046472a
add esp, 8
mov edi, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
mov ebx, dword [ebp - 0x30]
xor eax, eax
mov esi, dword [ebp - 0x20]
cmp edi, 0x10
mov dword [ebp - 0x6c], 0
cmovae edx, ebx
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
test esi, esi
je 0x403e1e
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x403e1a
nop
cmp ecx, edx
je 0x403e1e
dec ecx
cmp byte [ecx], 0x5c
jne 0x403e10
sub ecx, edx
jmp 0x403e21
or ecx, 0xffffffff
lea edx, [ecx - 4]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp esi, edx
jb 0x404122
sub esi, edx
lea eax, [ebp - 0x30]
mov ecx, 4
cmp esi, ecx
cmovb ecx, esi
cmp edi, 0x10
push ecx
cmovae eax, ebx
lea ecx, [ebp - 0x60]
add eax, edx
push eax
call fcn.00405cd0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404cf0
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x403e9f
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403e95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404127
push edx
push ecx
call fcn.0046472a
add esp, 8
mov byte [ebp - 4], 6
xor ecx, ecx
mov edi, dword [ebp - 0x38]
mov eax, edi
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], 0
setb cl
mov dword [ebp - 0x4c], 0xf
neg ecx
mov byte [ebp - 0x60], 0
or ecx, eax
mov dword [ebp - 0x64], 0xc
push ecx
lea ecx, [ebp - 0x60]
call fcn.00404a30
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov eax, edx
cmovae ecx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x50]
sub eax, ebx
push edi
push ecx
cmp edi, eax
ja 0x403f16
cmp edx, 0x10
lea esi, [ebp - 0x60]
lea eax, [ebx + edi]
cmovae esi, dword [ebp - 0x60]
mov dword [ebp - 0x50], eax
lea eax, [esi + ebx]
push eax
call fcn.00466bd0
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ebx], 0
jmp 0x403f26
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x60]
push dword [ebp - 0x14]
push edi
call fcn.00407810
cmp dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov eax, edx
cmovae ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x50]
sub eax, ebx
push edi
push ecx
cmp edi, eax
ja 0x403f69
cmp edx, 0x10
lea esi, [ebp - 0x60]
lea eax, [ebx + edi]
cmovae esi, dword [ebp - 0x60]
mov dword [ebp - 0x50], eax
lea eax, [esi + ebx]
push eax
call fcn.00466bd0
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ebx], 0
jmp 0x403f79
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x60]
push dword [ebp - 0x14]
push edi
call fcn.00407810
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x48]
call fcn.00404cf0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x403fbd
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403fb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40412c
push edx
push ecx
call fcn.0046472a
add esp, 8
mov edi, dword [ebp - 0x80]
sub edi, dword [ebp - 0x84]
push 0
push 0
push 0x40000
dec edi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0xa
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
push 4
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, dword [ebp - 0x80]
mov ebx, eax
or eax, 0xffffffff
sub esp, 0x18
sub eax, dword [ebp - 0x38]
mov ecx, esp
add esi, eax
lea eax, [ebp - 0x48]
push eax
call fcn.00404db0
mov ecx, dword [ebp - 0x88]
mov edx, ebx
push esi
call fcn.00402ca0
add esp, 4
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.00404db0
call fcn.00402d30
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x18
xor esi, esi
mov ecx, ebx
call fcn.00403900
test eax, eax
je 0x40405d
push 0x3e8
call edi
inc esi
cmp esi, 0xa
jl 0x404045
push 0x3e8
call edi
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x404098
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40408e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404131
push edx
push ecx
call fcn.0046472a
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x4040da
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4040d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404136
push edx
push ecx
call fcn.0046472a
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004646e4
mov esp, ebp
pop ebp
ret
call fcn.0046c11c
call fcn.0046c11c
call fcn.0046c11c
call fcn.0046c11c
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x18]
call fcn.00402c10
call fcn.00406af0
call fcn.0046c48e
call fcn.00406af0
call fcn.0046c48e
call fcn.0046c48e
call fcn.0046c48e
call fcn.0046c48e
int3