Function at 0x4b1d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b864
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.004daad0
mov eax, dword [0x55c2f8]
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 0x5467b0
push 0x83
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4b217c
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4b217c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4b217c
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, esi
mov edi, eax
call fcn.00477dc0
test eax, eax
je 0x4b1e28
mov eax, dword [esi + 0x14]
inc eax
push eax
call fcn.004d9ebb
mov ebx, eax
add esp, 4
mov edx, esi
mov dword [ebp - 0x1020], ebx
mov ecx, ebx
call fcn.00477d70
mov edi, eax
jmp 0x4b1e44
lea eax, [edi + 1]
push eax
call fcn.004d9ebb
push edi
mov ebx, eax
push esi
push ebx
mov dword [ebp - 0x1020], ebx
call fcn.004e6320
add esp, 0x10
mov byte [ebx + edi], 0
call fcn.004b21a0
push 0x10
call fcn.004d9e7d
push 0x18
mov dword [0x5c0428], eax
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.004d9e7d
add esp, 8
mov dword [ebp - 0x1024], eax
mov dword [ebp - 4], 0
mov ecx, eax
push 0
call fcn.0045f4b0
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [0x5c0428]
mov esi, dword [ebp - 0x1020]
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
call fcn.004ad690
add esp, 4
mov edx, eax
cmp byte [esi], 0
mov edi, esi
mov dword [ebp - 0x1018], edx
je 0x4b2165
nop
mov al, byte [edi]
cmp al, 0x20
je 0x4b1ed2
cmp al, 9
je 0x4b1ed2
cmp al, 0xd
je 0x4b1ed2
cmp al, 0xa
jne 0x4b1ed5
inc edi
jmp 0x4b1ec0
mov cl, byte [edi]
test al, al
je 0x4b215f
cmp al, 0x2f
jne 0x4b1f27
cmp byte [edi + 1], al
jne 0x4b1f27
mov al, byte [edi + 2]
add edi, 2
cmp al, 0xd
je 0x4b2156
cmp al, 0xa
je 0x4b2156
test al, al
je 0x4b215f
push edx
push edi
xor edx, edx
xor ecx, ecx
call fcn.004add60
mov edx, dword [ebp - 0x1018]
add edi, eax
add esp, 8
mov al, byte [edi]
cmp al, 0xd
jne 0x4b1ef6
jmp 0x4b2150
mov dword [ebp - 0x101c], 0
cmp al, 0x40
jne 0x4b1f43
mov cl, byte [edi + 1]
inc edi
mov dword [ebp - 0x101c], 1
mov dword [ebp - 0x1024], edi
cmp cl, 0x20
je 0x4b1f7d
nop
cmp cl, 9
je 0x4b1f7d
cmp cl, 0x3d
je 0x4b1f7d
cmp cl, 0x2c
je 0x4b1f7d
push edx
push edi
xor edx, edx
xor ecx, ecx
call fcn.004add60
mov cl, byte [edi + eax]
add edi, eax
mov edx, dword [ebp - 0x1018]
add esp, 8
cmp cl, 0x20
jne 0x4b1f50
mov byte [edi], 0
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x4b1f80
cmp al, 9
je 0x4b1f80
cmp al, 0x3d
je 0x4b1f80
cmp al, 0x2c
je 0x4b1f80
mov dword [ebp - 0x1014], edi
mov esi, edi
cmp al, 0xd
je 0x4b1fca
cmp al, 0xa
je 0x4b1fca
test al, al
je 0x4b1fd8
push edx
push edi
xor edx, edx
xor ecx, ecx
call fcn.004add60
mov edx, dword [ebp - 0x1018]
add edi, eax
add esp, 8
mov dword [ebp - 0x1014], edi
mov al, byte [edi]
cmp al, 0xd
jne 0x4b1fa0
test al, al
je 0x4b1fd8
mov byte [edi], 0
inc edi
mov dword [ebp - 0x1014], edi
cmp dword [ebp - 0x101c], 0
je 0x4b2132
mov ebx, dword [ebp - 0x1024]
push ebx
call fcn.004ae140
push str.languageid
push ebx
call fcn.004adfe0
add esp, 0xc
test eax, eax
jne 0x4b2142
xor ebx, ebx
mov dword [ebp - 0x101c], ebx
cmp byte [esi], bl
je 0x4b206f
mov edi, ebx
push 0xffffffffffffffff
mov edx, 0x2c
mov ecx, esi
call fcn.004ae040
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4b202f
mov byte [ebx], 0
push 0x10
push 0
push esi
call fcn.004ec54c
mov dword [ebp + edi*4 - 0x1010], eax
add esp, 0xc
inc edi
test ebx, ebx
je 0x4b205d
lea esi, [ebx + 1]
nop dword [eax + eax]
mov al, byte [esi]
cmp al, 0x20
je 0x4b205a
cmp al, 9
jne 0x4b2015
inc esi
jmp 0x4b2050
mov dword [ebp - 0x101c], edi
mov edi, dword [ebp - 0x1014]
mov ebx, dword [ebp - 0x101c]
mov esi, dword [0x5c0428]
push 0
push ecx
push 0
push ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1014], esi
call fcn.0045f730
test eax, eax
jne 0x4b20e1
push 0x10
call fcn.004d9e7d
mov esi, eax
push 0x18
mov dword [ebp - 0x1014], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004d9e7d
add esp, 8
mov dword [ebp - 0x1028], eax
mov dword [ebp - 4], 1
mov ecx, eax
push 0
call fcn.0045f4b0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 8], eax
mov eax, dword [0x5c0428]
mov dword [esi + 0xc], eax
mov dword [0x5c0428], esi
cmp ebx, 1
jb 0x4b214a
jne 0x4b20f1
cmp dword [ebp - 0x1010], 0
je 0x4b214a
xor ecx, ecx
mov dword [esi], ebx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d9ebb
mov esi, dword [0x5c0428]
mov ecx, eax
lea eax, [ebx*4]
push eax
lea eax, [ebp - 0x1010]
push eax
push ecx
mov dword [esi + 4], ecx
call fcn.004e6320
add esp, 0x10
mov ebx, esi
jmp 0x4b2150
push ecx
mov ecx, dword [ebx + 8]
push esi
push dword [ebp - 0x1024]
call fcn.0045f520
mov ebx, dword [0x5c0428]
jmp 0x4b2150
mov ebx, dword [ebp - 0x1014]
mov edx, dword [ebp - 0x1018]
cmp byte [edi], 0
jne 0x4b1ec0
mov esi, dword [ebp - 0x1020]
push esi
call fcn.004d9e78
add esp, 4
xor ecx, ecx
call fcn.004b1d50
mov eax, 1
jmp 0x4b217e
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 - 0x10]
xor ecx, ebp
call fcn.004d9e67
mov esp, ebp
pop ebp
ret