Function at 0x4b49a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9e7d
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5073a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x12c], ecx
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x4dfed4
push 0x68
push 0
mov dword [ebp - 0x130], ecx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4b4c6d
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4b4c6d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 0
mov dword [ebp - 0x128], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [ebp - 0x128], 0
mov esi, eax
je 0x4b4c6d
test esi, esi
je 0x4b4c6d
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4a52
sub ecx, edx
sar ecx, 1
je 0x4b4c6d
mov ecx, ebx
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4a80
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00401c20
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x140]
call fcn.0044ac83
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4b4aea
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b4ae0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b4c8b
push edx
push ecx
call fcn.0047016e
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x124]
push 0x50a2dc
lea eax, [ebp - 0x140]
mov dword [ebp - 0x18], 7
push eax
call fcn.0044a68a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
push 6
xor eax, eax
mov dword [ebp - 0x1c], 0
push 0x4dfedc
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00401c20
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x124]
call fcn.0044b11a
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4b4b8d
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b4b83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b4c90
push edx
push ecx
call fcn.0047016e
add esp, 8
mov ebx, dword [ebp - 0x12c]
xor eax, eax
mov ecx, 0x82
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, ebx
call fcn.004b3b90
mov ecx, ebx
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4bc0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00401c20
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
push esi
push dword [ebp - 0x128]
lea ecx, [ebp - 0x124]
call fcn.0044a88d
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4b4c29
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b4c1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b4c95
push edx
push ecx
call fcn.0047016e
add esp, 8
push str.BearLicense.txt
mov ecx, ebx
call fcn.00401850
lea ecx, [ebp - 0x124]
call fcn.004498be
lea ecx, [ebp - 0x140]
call fcn.0044ada5
mov eax, 1
jmp 0x4b4c6f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047012d
mov esp, ebp
pop ebp
ret
call fcn.00486b46
call fcn.00486b46
call fcn.00486b46
int3