Function at 0x4b1c00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc0fc
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4dd704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
call fcn.00405870
mov dword [ebp - 0x1c], eax
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4b1c66
mov dword [ebp - 0x1c], 0
push 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4b1c73
xor eax, eax
jmp 0x4b20e3
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4b1c91
xor eax, eax
jmp 0x4b20e3
mov eax, dword [ebp - 0x84]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x84]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [ebp - 0x84]
call fcn.00408b80
test eax, eax
jne 0x4b1cba
xor eax, eax
jmp 0x4b20e3
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 2]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax + 4]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x50], 0
mov word [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x34]
call fcn.00407340
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00407a60
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x34]
call fcn.00407670
push 0
lea ecx, [ebp - 0x4c]
call fcn.00407b30
push 2
mov ecx, dword [ebp - 0x60]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.00487dd0
add esp, 0xc
mov eax, dword [ebp - 0x60]
add eax, 2
mov dword [ebp - 0x60], eax
movzx ecx, word [ebp - 0x50]
and ecx, 0x10
jne 0x4b1d6e
push 2
mov edx, dword [ebp - 0x60]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00487dd0
add esp, 0xc
mov ecx, dword [ebp - 0x60]
add ecx, 2
mov dword [ebp - 0x60], ecx
jmp 0x4b1d74
mov word [ebp - 0x10], 0
movzx edx, word [ebp - 0x50]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
and eax, 0x80
je 0x4b1d91
mov ecx, dword [ebp - 0x58]
sub ecx, 0x80
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x60]
push edx
call fcn.004876f7
add esp, 4
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046237a
add esp, 4
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.004879db
add esp, 8
mov eax, dword [ebp - 0x60]
push eax
call fcn.004876f7
add esp, 4
mov ecx, dword [ebp - 0x60]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x60], edx
movzx eax, word [ebp - 0x50]
and eax, 0x10
je 0x4b1edf
movzx ecx, word [ebp - 0x50]
and ecx, 0x80
je 0x4b1e1b
push 1
lea ecx, [ebp - 0x34]
call fcn.00409900
push eax
lea ecx, [ebp - 0x4c]
call fcn.00407af0
push 0x5c
call fcn.00409320
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x78], 0
je 0x4b1e3f
mov ecx, dword [ebp - 0x78]
call fcn.004ace50
mov dword [ebp - 0x88], eax
jmp 0x4b1e49
mov dword [ebp - 0x88], 0
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x50]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x4c]
mov dword [ecx + 0x4c], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x44]
mov dword [ecx + 0x44], eax
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x48], 1
mov ecx, dword [ebp - 0x64]
call fcn.00408b60
push 0xffffffffffffffff
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x34]
call fcn.00409900
push eax
lea ecx, [ebp - 0x34]
call fcn.00407650
mov ecx, dword [eax]
call fcn.004b1890
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x34]
call fcn.00407670
push 0
lea ecx, [ebp - 0x4c]
call fcn.00407b30
jmp 0x4b1f86
push 0xffffffffffffffff
movzx ecx, word [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
call fcn.00409900
push eax
lea ecx, [ebp - 0x34]
call fcn.00407650
mov ecx, dword [eax]
call fcn.004b1890
movzx ecx, word [ebp - 0x50]
and ecx, 0x80
je 0x4b1f25
push 1
lea ecx, [ebp - 0x34]
call fcn.00409900
push eax
lea ecx, [ebp - 0x4c]
call fcn.00407af0
lea ecx, [ebp - 0x34]
call fcn.00409900
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x4b1f86
mov edx, dword [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00407ab0
cmp dword [eax], 0
je 0x4b1f86
lea ecx, [ebp - 0x34]
call fcn.00409900
push eax
lea ecx, [ebp - 0x34]
call fcn.00407650
mov ecx, dword [eax]
call fcn.004ae8d0
push 1
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0047186f
push 1
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00407b60
mov edx, dword [ebp - 0x5c]
sub edx, 1
mov dword [ebp - 0x5c], edx
jmp 0x4b1f30
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.00462375
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.00409900
cmp eax, 0xffffffff
jne 0x4b1d2d
mov dword [ebp - 0x68], 0
jmp 0x4b1fbb
mov edx, dword [ebp - 0x68]
add edx, 1
mov dword [ebp - 0x68], edx
mov ecx, dword [ebp - 0x84]
call fcn.004056c0
cmp dword [ebp - 0x68], eax
jge 0x4b20b1
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x84]
add ecx, 8
call fcn.00407650
mov ecx, dword [eax]
call fcn.004ae6d0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x84]
call fcn.004ac7b0
test eax, eax
je 0x4b2050
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x84]
add ecx, 8
call fcn.00407650
mov ecx, dword [eax]
mov dword [ecx + 0x14], 0x410
lea ecx, [ebp - 0x6c]
call fcn.00404330
push eax
mov edx, dword [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x84]
call fcn.004ac7b0
mov eax, dword [eax + 4]
push eax
push 0x410
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.00408e80
jmp 0x4b20a0
mov edx, dword [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x84]
add ecx, 8
call fcn.00407650
mov eax, dword [eax]
mov dword [eax + 0x14], 0x400
lea ecx, [ebp - 0x6c]
call fcn.00404330
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x84]
add ecx, 8
call fcn.00407650
mov edx, dword [eax]
mov eax, dword [edx + 0x18]
push eax
push 0x400
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.00408e80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.0040a880
jmp 0x4b1fb2
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x58], 1
mov dword [ebp - 0x80], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00407c20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004072a0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4